first commit

This commit is contained in:
2026-04-13 07:15:44 +00:00
parent ad29150770
commit 97a4e3af52
239 changed files with 6671 additions and 91 deletions

1
dist/assets/401-9bHOjylm.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as t}from"./index-DDNMzpZj.js";const r={head:{title:"Granblue.Party - 401",desc:"Unauthorized"}};var _=function(){var e=this;return e._self._c,e._m(0)},s=[function(){var n=this,e=n._self._c;return e("div",[e("h1",[n._v("Not logged in")]),e("p",[n._v("Please log in to access this page")])])}],a=t(r,_,s,!1,null,null);const c=a.exports;export{c as default};

1
dist/assets/404-Cy8sW2v_.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as t}from"./index-DDNMzpZj.js";const o={head:{title:"Granblue.Party - 404",desc:"Page not found"}};var r=function(){var n=this;return n._self._c,n._m(0)},s=[function(){var e=this,n=e._self._c;return n("div",[n("h1",[e._v("404: Not Found")]),n("p",[e._v("Oops, looks like this URL doesn't exist...")])])}],_=t(o,r,s,!1,null,null);const c=_.exports;export{c as default};

1
dist/assets/Account-DC5p92DM.js vendored Normal file
View File

@@ -0,0 +1 @@
import{M as o}from"./ModalConfirm-q8xWqw9X.js";import{n as i}from"./index-DDNMzpZj.js";const r={components:{ModalConfirm:o},head:{title:"Granblue.Party - My Account"},data(){return{email:null,show_modal_delete:!1}},methods:{changeEmail(){this.axios.post("/user/email",{email:this.email}).then(t=>{this.$store.commit("setEmail",this.email),this.$store.dispatch("addMessage",{message:"Email saved successfully"})}).catch(t=>this.$store.dispatch("addAxiosErrorMessage",t))},deleteAccount(){this.axios.post("/user/delete").then(t=>{this.$store.commit("logout"),this.$router.push({name:"home"})}).catch(t=>this.$store.dispatch("addAxiosErrorMessage",t))}},computed:{emailModified(){return this.$store.getters.getEmail!=this.email}},mounted(){this.email=this.$store.getters.getEmail},watch:{"$store.getters.getUserId"(t){t===null&&this.$router.push({name:"home"}).catch(()=>{})}}};var l=function(){var e=this,s=e._self._c;return s("div",{staticClass:"flex flex-col items-center gap-y-8"},[s("h1",[e._v("My account")]),s("form",{staticClass:"grid auto-cols-min",on:{submit:function(a){return a.preventDefault(),e.changeEmail()}}},[s("label",{attrs:{for:"username"}},[e._v("Username")]),s("input",{staticClass:"input",attrs:{id:"username",type:"text",disabled:""},domProps:{value:e.$store.getters.getUsername}}),s("label",{attrs:{for:"email"}},[e._v("Email address (optional)")]),s("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],ref:"email",staticClass:"input",attrs:{id:"email",type:"email",placeholder:"Email address"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),s("p",{staticClass:"mt-4"},[s("input",{staticClass:"btn btn-blue",attrs:{type:"submit",value:"Save",disabled:!e.emailModified}})])]),e._m(0),e._m(1),s("button",{staticClass:"btn btn-red",on:{click:function(a){e.show_modal_delete=!0}}},[e._v("Delete account")]),s("modal-confirm",{attrs:{confirm:e.deleteAccount,text:"This action cannot be reverted",button:"Delete account"},model:{value:e.show_modal_delete,callback:function(a){e.show_modal_delete=a},expression:"show_modal_delete"}})],1)},n=[function(){var t=this,e=t._self._c;return e("p",{staticClass:"bg-secondary rounded p-4"},[t._v(' To reset your password, log out, then in the "Log in" panel,'),e("br"),t._v(' click on "Forgot password?" to receive a link to change your password. ')])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"bg-secondary rounded p-4"},[t._v(" We will never send you spam or sell your email address."),e("br"),t._v(" Its only use is to recover your password if you forget it. ")])}],c=i(r,l,n,!1,null,null);const u=c.exports;export{u as default};

1
dist/assets/BoxSummon-B3nklIl7.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CalcBullets-D5vVyiXQ.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/CalcDread-CIhcqDxP.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CalcEternal-uKvHoyf7.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CalcEvent-DDpavl1G.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CalcEvoker-Bnr10q0X.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/CalcGW-DN7siACa.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{S as n}from"./StatInput-BU1s-zba.js";import{n as r}from"./index-DDNMzpZj.js";const s={components:{StatInput:n},props:{tag:{type:String,required:!0},name:{type:String,required:!0},quantity:{type:Number,required:!0},max:{type:Number,required:!0},animated:{type:Boolean,required:!0}},computed:{localQuantity:{get(){return this.quantity},set(a){this.$emit("update:quantity",a)}}}};var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-row items-center"},[e("a",{staticClass:"mr-2",attrs:{href:"https://gbf.wiki/"+t.name,target:"_blank",title:"Go to gbf.wiki"}},[e("img",{staticStyle:{"max-height":"25px","max-width":"25px"},attrs:{src:"/img/item/"+t.tag+(t.animated?".gif":".jpg")}}),t._v(" "+t._s(t.name)+" ")]),e("div",[e("stat-input",{attrs:{longName:"Quantity",prop:t.localQuantity,length:t.max.toString().length+1,max:t.max,alignRight:!0},on:{"update:prop":function(i){t.localQuantity=i}}}),t._v(" / "+t._s(t.max)+" "),t.localQuantity<t.max?e("fa-icon",{staticClass:"ml-1 cursor-pointer",attrs:{icon:["fas","check"],title:"Max quantity"},on:{click:function(i){t.localQuantity=t.max}}}):t._e()],1)])},u=[],m=r(s,o,u,!1,null,null);const p=m.exports;export{p as C};

1
dist/assets/Calculator-BNwTC_QP.js vendored Normal file
View File

@@ -0,0 +1 @@
import{C as l,s as n}from"./CalcPreviewItem-D129i7Vp.js";import{n as u,U as o}from"./index-DDNMzpZj.js";import{S as c}from"./StatInput-BU1s-zba.js";const m={components:{StatInput:c,CalcPreviewItem:l},head:{title:"Granblue.Party - Admin - Calculator",desc:"",image:"",keywords:""},data(){return{search:"",quantity:1,items:[],progress:{}}},methods:{addItem(a){this.items.push({item:a,q:parseInt(this.quantity)}),this.$set(this.progress,a,0)},getItem(a){return n.items[a]},addGroup(a){this.items.push({group:a,q:parseInt(this.quantity)}),this.$set(this.progress,a,0)}},computed:{getItems(){return o.filterObject(n.items,(([a,t])=>t.name.toLowerCase().includes(this.search.toLowerCase())&&!this.items.some(e=>e.item==a)))},getGroups(){return o.filterObject(n.groups,(([a,t])=>a.toLowerCase().includes(this.search.toLowerCase())&&!this.items.some(e=>e.group==a)))},getObjectJSON:{get(){return JSON.stringify(this.items)},set(a){this.$set(this,"items",[]);for(let t of JSON.parse(a))this.items.push(t),t.item&&this.$set(this.progress,t.item,0)}}}};var p=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"flex flex-row mb-4"},[e("div",{staticClass:"h-96 w-1/3 overflow-y-scroll"},[e("div",{staticClass:"flex flex-row"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"input input-sm",attrs:{placeholder:"Search",type:"text"},domProps:{value:t.search},on:{input:function(s){s.target.composing||(t.search=s.target.value)}}}),e("label",[t._v("Quantity "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.quantity,expression:"quantity"}],staticClass:"input input-sm",attrs:{size:"4",type:"number"},domProps:{value:t.quantity},on:{input:function(s){s.target.composing||(t.quantity=s.target.value)}}})])]),t._l(t.getGroups,function(s,r){return e("div",{key:r},[e("a",{staticClass:"cursor-pointer",on:{click:function(i){return t.addGroup(r)}}},[e("div",{staticClass:"h-1"}),t._v(t._s(r)+" ")])])}),t._l(t.getItems,function(s,r){return e("div",{key:r},[e("a",{staticClass:"cursor-pointer",on:{click:function(i){return t.addItem(r)}}},[e("img",{staticStyle:{"max-height":"40px","max-width":"40px"},attrs:{src:"/img/item/"+r+(s.animated?".gif":".jpg")}}),t._v(" "+t._s(s.name)),e("br")])])})],2),e("div",{staticClass:"h-96 w-2/3 overflow-y-scroll"},[e("textarea",{directives:[{name:"model",rawName:"v-model.lazy",value:t.getObjectJSON,expression:"getObjectJSON",modifiers:{lazy:!0}}],staticClass:"font-mono text-primary bg-tertiary w-full h-full",attrs:{spellcheck:"false",id:"textarea_id"},domProps:{value:t.getObjectJSON},on:{change:function(s){t.getObjectJSON=s.target.value}}})])]),e("div",{staticClass:"flex flex-row flex-wrap gap-2"},t._l(t.items,function(s,r){return e("div",{key:r,staticClass:"border-secondary border-2 rounded"},[s.item?e("calc-preview-item",{attrs:{tag:s.item,name:t.getItem(s.item).name,quantity:t.progress[s.item],max:s.q,animated:t.getItem(s.item).animated},on:{"update:quantity":function(i){return t.$set(t.progress,s.item,i)}}}):s.group?e("div",[t._v(" Group: "+t._s(s)+" ")]):t._e()],1)}),0)])},d=[],h=u(m,p,d,!1,null,null);const _=h.exports;export{_ as default};

1
dist/assets/Calculator-rMB9_FNC.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Checkbox-Dc2UYqO9.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as a}from"./index-DDNMzpZj.js";const s={props:{value:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},on:{type:Array,default:()=>["fa","toggle-on"]},off:{type:Array,default:()=>["fa","toggle-off"]},iconSize:{type:String,default:"text-4xl"}},methods:{changeValue(){this.disabled||this.$emit("input",!this.value)}},computed:{getClasses(){let t=this.value?"text-blue-300 ":"text-rose-400 ";return this.disabled?t+=" cursor-not-allowed grayscale-70 opacity-70 ":(t+="cursor-pointer hover:underline hover:decoration-2 ",t+=this.value?"hover:text-blue-400 hover:decoration-blue-400 ":"hover:text-rose-600 hover:decoration-rose-600 "),t}}};var r=function(){var e=this,o=e._self._c;return o("div",{staticClass:"select-none flex flex-row flex-nowrap items-center",class:e.getClasses,on:{click:function(i){return e.changeValue()}}},[e.value===!0?o("fa-icon",{class:e.iconSize,attrs:{icon:e.on}}):o("fa-icon",{class:e.iconSize,attrs:{icon:e.off}}),o("span",{staticClass:"ml-1 my-1 text-primary"},[e._t("default")],2)],1)},n=[],l=a(s,r,n,!1,null,null);const u=l.exports;export{u as C};

1
dist/assets/Collection401-D7rmH19d.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as r}from"./index-DDNMzpZj.js";const o="/assets/preview_collection-3lkEAq0K.webp",s="/assets/preview_collection-FAaCFp_A.png",c={head:{title:"Granblue.Party - Collection Tracker",desc:"Track the characters and summons you unlocked, and share your collection with your friends",image:"https://www.granblue.party/img/card_collection.jpg",keywords:"collection, tracker, characters, summons, share"},methods:{goToCollection(){this.getUserId!==null&&this.$router.push({name:"collection"}).catch(()=>{})}},computed:{getUserId(){return this.$store.getters.getUserId}},mounted(){this.goToCollection()},watch:{getUserId(t,e){this.goToCollection()}}};var a=function(){var e=this;return e._self._c,e._m(0)},n=[function(){var t=this,e=t._self._c;return e("div",[e("h1",[t._v("My Collection")]),e("picture",[e("source",{attrs:{type:"image/webp",srcset:o}}),e("img",{attrs:{src:s}})]),e("p",[t._v(' Create a free account to gain access to "My Collection". ')]),e("p",{staticClass:"pt-4"},[t._v(" Keep a list of your characters and summons and share it with your friends."),e("br"),t._v(" You can track the uncap and awakening level of each unit. ")])])}],i=r(c,a,n,!1,null,null);const _=i.exports;export{_ as default};

File diff suppressed because one or more lines are too long

1
dist/assets/Cookies-IvxkJxzu.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/DailyGrind-CnYuW_Rr.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/DataFilter-CJCQVhjM.js vendored Normal file
View File

@@ -0,0 +1 @@
import{L as n,n as d,U as s}from"./index-DDNMzpZj.js";const o={n:{expand(e,a){return a===n.JP&&e.hasOwnProperty("nj")?e.nj:e.n},show(){return!0},add(e,a){}},ri:{data:[{name:"R",checked:!1},{name:"SR",checked:!1},{name:"SSR",checked:!0}],expand(e){return this.data[e.ri].name},show(e){return this.data[e].checked},add(e,a){a[e]++}},e:{data:[{name:"Fire",checked:!0},{name:"Wind",checked:!0},{name:"Earth",checked:!0},{name:"Water",checked:!0},{name:"Light",checked:!0},{name:"Dark",checked:!0},{name:"Any",checked:!0}],expand(e){return e.e!==null?this.data[e.e].name:"None"},show(e){return e!==null?this.data[e].checked:this.data[6].checked},add(e,a){a[e]++}},t:{data:[{name:"Attack",checked:!0},{name:"Balanced",checked:!0},{name:"Defense",checked:!0},{name:"Heal",checked:!0},{name:"Special",checked:!0}],expand(e){return this.data[e.t].name},show(e){return this.data[e].checked},add(e,a){a[e]++}},ra:{data:[{name:"Human",checked:!0},{name:"Draph",checked:!0},{name:"Erune",checked:!0},{name:"Harvin",checked:!0},{name:"Primal",checked:!0},{name:"Unknown",checked:!0}],expand(e){return this.data[e.ra].name},show(e){return this.data[e].checked},add(e,a){a[e]++}},w:{data:[{name:"Axe",checked:!0},{name:"Bow",checked:!0},{name:"Dagger",checked:!0},{name:"Gun",checked:!0},{name:"Harp",checked:!0},{name:"Katana",checked:!0},{name:"Melee",checked:!0},{name:"Sabre",checked:!0},{name:"Spear",checked:!0},{name:"Staff",checked:!0}],expand(e){if(Array.isArray(e.w)){let a="";return e.w.forEach(t=>{a.length!==0&&(a+=", "),a+=this.data[t].name}),a}return this.data[e.w].name},show(e){return Array.isArray(e)?e.some(a=>this.data[a].checked):this.data[e].checked},add(e,a){Array.isArray(e)?e.forEach(t=>a[t]++):a[e]++}},row:{data:[{name:"1",checked:!1},{name:"2",checked:!1},{name:"3",checked:!1},{name:"4",checked:!0},{name:"Ex1",checked:!0},{name:"Ex2",checked:!0},{name:"5",checked:!0}],expand(e){return this.data[e.row].name},show(e){return this.data[e].checked},add(e,a){a[e]++}},owned:{data:[{name:"Yes",checked:!0},{name:"No",checked:!0}],expand(e){return this.data[e.owned?0:1].name},show(e){return this.data[e?0:1].checked},add(e,a){a[e?0:1]++}},ring:{data:[{name:"Yes",checked:!0},{name:"No",checked:!0}],expand(e){return this.data[e.ring?0:1].name},show(e){return this.data[e?0:1].checked},add(e,a){a[e?0:1]++}},pub:{data:[{name:"Yes",checked:!0},{name:"No",checked:!0}],expand(e){return this.data[e.pub?0:1].name},show(e){return this.data[e?0:1].checked},add(e,a){a[e?0:1]++}}},h={props:{data:{type:Array,required:!0},count:{type:Array,default:void 0},category:{type:String,required:!0},hasAll:{type:Boolean,default:!0}},data(){return{all:!0,data_view:[]}},methods:{clickAll(){this.all||(this.all=!0,this.data_view.forEach(e=>e.checked=!1),this.data.forEach(e=>e.checked=!0))},clickItem(e){if(this.data_view[e].checked=!this.data_view[e].checked,this.all===!0){this.all=!1;for(let a=0;a<this.data.length;a++)this.$set(this.data[a],"checked",this.data_view[a].checked)}else this.$set(this.data[e],"checked",this.data_view[e].checked)},getClassesForItem(e){let a=e.checked?"btn-blue ":"btn-white ";return this.count&&(a+="pr-3 "),a}},created(){this.hasAll===!0?(this.data_view=s.copy(this.data),this.data_view.some(e=>!e.checked)?this.all=!1:(this.data_view.forEach(e=>e.checked=!1),this.all=!0)):(this.data_view=this.data,this.all=!1)}};var i=function(){var a=this,t=a._self._c;return t("div",{staticClass:"flex flex-row items-center"},[t("span",{staticClass:"pr-2"},[a._v(a._s(a.category))]),t("span",{staticClass:"inline-flex flex-row flex-wrap btn-group"},[a.hasAll?t("button",{staticClass:"btn btn-sm",class:a.all?"btn-blue":"btn-white",on:{click:function(c){return a.clickAll()}}},[a._v(" All ")]):a._e(),a._l(a.data_view,function(c,r){return t("button",{key:r,staticClass:"btn btn-sm relative",class:a.getClassesForItem(c),on:{click:function(k){return a.clickItem(r)}}},[a._v(" "+a._s(c.name)+" "),a.count?t("div",{staticClass:"absolute w-5 -top-2 -right-1 z-10 rounded-full text-xs leading-5 tracking-tight bg-tertiary text-primary"},[a._v(" "+a._s(a.count[r]>0?a.count[r]:"-")+" ")]):a._e()])})],2)])},u=[],l=d(h,i,u,!1,null,null);const f=l.exports;export{o as D,f as a};

1
dist/assets/Dropdown-Cks-nQIq.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as a}from"./index-DDNMzpZj.js";const l={props:{value:{required:!1},index:{type:Number,required:!1},disabled:{type:Boolean,default:!1}},methods:{changeValue(s){this.$emit("change",s),this.$emit("input",this.$refs.select.value)}},watch:{value(){this.$nextTick().then(()=>{this.$emit("update:index",this.$refs.select.selectedIndex)})}}};var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"inline-block relative"},[t("select",{ref:"select",staticClass:"block select select-sm w-full",attrs:{disabled:e.disabled},domProps:{value:e.value},on:{change:e.changeValue}},[e._t("default")],2),e.disabled?e._e():t("div",{staticClass:"pointer-events-none absolute inset-y-0 right-0 rounded-md flex items-center px-2 text-gray-700"},[t("fa-icon",{staticClass:"text-xl",attrs:{icon:["fas","angle-down"]}})],1)])},i=[],r=a(l,n,i,!1,null,null);const o=r.exports;export{o as D};

1
dist/assets/FriendSummons-BVFlR6nF.js vendored Normal file

File diff suppressed because one or more lines are too long

8
dist/assets/Index-DIdA8CzE.js vendored Normal file
View File

@@ -0,0 +1,8 @@
import{n}from"./index-DDNMzpZj.js";const o=[{title:"Party Builder",link:"/builder",text:`Share your team setups with your friends.
Get <a href="https://github.com/Minimalist3/GBF-Bookmarklet">the bookmarklet</a> to load an existing party in a single click.`},{title:"My Collection",link:"/collection",text:`Keep a list of your characters and summons and share it with your friends.
You can track the uncap and awakening level of each unit.`},{title:"Public Teams",link:"/teams",text:"Browse public teams made by fellow players, and share your own."},{title:"Bullets Calculator",link:"/calcbullets",text:`Keep track of the materials needed to craft Bullets.
Everything is memorized for when you want to come back`},{title:"Eternals Calculator",link:"/calceternal",text:`Keep track of the materials needed to unlock each step of each Eternal.
Everything is memorized for when you want to come back.`},{title:"Evokers Calculator",link:"/calcevoker",text:`Keep track of the materials needed to unlock each step of each Evoker.
Everything is memorized for when you want to come back.`},{title:"Spark Maker",link:"/spark",text:`Record your Spark while drawing it, share it with your friends, then add it to your Collection.
You can search units by English, Japanese or Weapon name.`},{title:"Guild Wars tokens Calculator",link:"/calcgw",text:"Calculate how many tickets you need to get a given number of boxes."},{title:"Dread Barrage Calculator",link:"/calcdread",text:"Calculate how many tickets you need to get a given number of boxes."},{title:"Daily Grind List",link:"/dailygrind",text:`Create lists of raids and launch them by pressing a single button.
All the raids will open in the same window, speeding up your daily farm.`},{title:"Friend Summons",link:"/friendsum",text:"Share your friend summons and profile ID with a handy link."},{title:"Room Name Generator",link:"/roomname",text:"Generate a japanese co-op room name for the raid you want to host."},{title:"Replicard Sandbox Maps",link:"/replicard",text:"Maps of the Replicard Sandbox, with loot and progress for each node."},{title:"Search",link:"/search",text:"A search engine for the characters, summons and weapons of the site."},{title:"Release Schedule",link:"/release",text:"Browse previous releases of characters and summons, with custom filters."}],i={head:{title:"Granblue.Party - Home"},computed:{sections(){return o}}};var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"flex flex-col"},[e._m(0),t("h2",{staticClass:"self-center"},[e._v("Useful tools for Granblue Fantasy")]),t("div",{staticClass:"flex flex-row flex-wrap justify-center mt-8 gap-8"},e._l(e.sections,function(r,l){return t("div",{key:l,staticClass:"flex flex-row sm:w-2/5 lg:w-1/4 bg-secondary rounded px-2 py-2"},[t("img",{staticClass:"self-start mt-2 mr-2",attrs:{src:"/img/index"+r.link+".jpg",width:"48px"}}),t("div",[t("router-link",{attrs:{to:r.link}},[t("h2",[e._v(e._s(r.title))])]),t("div",{staticClass:"mt-2 text-sm",domProps:{innerHTML:e._s(r.text)}})],1)])}),0)])},c=[function(){var a=this,e=a._self._c;return e("h1",{staticClass:"self-center"},[a._v("Granblue "),e("span",{attrs:{title:"Party"}},[a._v("🎉")])])}],d=n(i,s,c,!1,null,null);const m=d.exports;export{m as default};

1
dist/assets/Index-X7nWi1iJ.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as r}from"./index-DDNMzpZj.js";const a={head:{title:"Granblue.Party - Admin",desc:"",image:"",keywords:""}};var o=function(){var t=this,n=t._self._c;return n("div",[n("h1",[t._v("Admin Console")]),n("ul",[n("li",[n("router-link",{attrs:{to:"/admin/summons"}},[t._v("Summons")])],1),n("li",[n("router-link",{attrs:{to:"/admin/weapons"}},[t._v("Weapons")])],1),n("li",[n("router-link",{attrs:{to:"/admin/calc"}},[t._v("Calculator")])],1),n("li",[n("router-link",{attrs:{to:"/admin/sandbox"}},[t._v("Sandbox")])],1)])])},e=[],s=r(a,o,e,!1,null,null);const _=s.exports;export{_ as default};

1
dist/assets/LikeButton-DcDWMLsp.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/LikeButton-DlPqNMjl.css vendored Normal file
View File

@@ -0,0 +1 @@
.group-characters[data-v-d996016a]>:nth-child(3){margin-right:.5rem}

1
dist/assets/ModalConfirm-q8xWqw9X.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as o,M as r}from"./index-DDNMzpZj.js";const s={model:{prop:"show",event:"close"},components:{Modal:r},props:{show:{type:Boolean,required:!0},confirm:{type:Function,required:!0},text:{type:String,required:!0},button:{type:String,required:!0}},methods:{confirmAction(){this.confirm(),this.$emit("close",!1)}}};var i=function(){var t=this,e=t._self._c;return e("modal",{attrs:{show:t.show},on:{close:function(n){return t.$emit("close",!1)}},scopedSlots:t._u([{key:"header",fn:function(){return[e("h2",[t._v("Are you sure?")])]},proxy:!0}])},[e("p",{staticClass:"my-8"},[e("fa-icon",{staticClass:"text-red-400",attrs:{icon:["fas","exclamation-triangle"]}}),t._v(" "+t._s(t.text)+" ")],1),e("div",{staticClass:"flex flex-row justify-between"},[e("button",{staticClass:"btn btn-red",on:{click:function(n){return t.confirmAction()}}},[t._v(t._s(t.button))]),e("button",{staticClass:"btn btn-blue",on:{click:function(n){return t.$emit("close",!1)}}},[t._v("Close")])])])},c=[],a=o(s,i,c,!1,null,null);const f=a.exports;export{f as M};

1
dist/assets/PartyBuilder-DiWrgA_n.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Privacy-BFykdL5b.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/Replicard-B3UW8rdA.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/ResetPassword-QFy4pTCO.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as p,U as c}from"./index-DDNMzpZj.js";const d={head:{title:"Granblue.Party - Reset your password"},data(){return{email:"",token:"",captcha:!1,error_message:""}},methods:{resetPassword(){const o={email:this.email,token:this.token,password:this.$refs.password.value,captcha:this.captcha};if(this.error_message="",this.$refs.password.value!=this.$refs.password2.value){this.error_message="Passwords don't match",this.$refs.password.value="",this.$refs.password2.value="";return}this.axios.post("/user/reset",o).then(s=>{this.$router.push({name:"home"}).then(e=>this.$store.commit("show_modal_login",!0)).catch(e=>{})}).catch(s=>this.$store.dispatch("addAxiosErrorMessage",s))}},mounted(){c.isEmpty(this.$route.query.t)||c.isEmpty(this.$route.query.e)?this.$router.push({name:"home"}).catch(()=>{}):(this.email=this.$route.query.e,this.token=this.$route.query.t)}};var u=function(){var s=this,e=s._self._c;return e("div",{staticClass:"flex flex-col items-center gap-y-8"},[e("h1",[s._v("Set a new password")]),e("form",{staticClass:"m-1",on:{submit:function(t){return t.preventDefault(),s.resetPassword()}}},[e("div",{staticClass:"mt-4"},[e("label",{attrs:{for:"email"}},[s._v("Email address")]),e("input",{directives:[{name:"model",rawName:"v-model",value:s.email,expression:"email"}],staticClass:"input w-full",attrs:{id:"email",type:"email",placeholder:"Email address",disabled:""},domProps:{value:s.email},on:{input:function(t){t.target.composing||(s.email=t.target.value)}}})]),e("div",[e("label",{attrs:{for:"password"}},[s._v("Password")]),e("input",{ref:"password",staticClass:"input w-full",attrs:{id:"password",placeholder:"Password",type:"password",minlength:"1",required:"",autofocus:""}})]),e("div",{staticClass:"pb-2"},[e("label",{attrs:{for:"password2"}},[s._v("Confirm password")]),e("input",{ref:"password2",staticClass:"input w-full",attrs:{id:"password2",placeholder:"Password",type:"password",minlength:"1",required:""}})]),e("input",{directives:[{name:"model",rawName:"v-model",value:s.captcha,expression:"captcha"}],staticStyle:{display:"none !important"},attrs:{type:"checkbox",name:"captcha",tabindex:"-1",autocomplete:"off"},domProps:{checked:Array.isArray(s.captcha)?s._i(s.captcha,null)>-1:s.captcha},on:{change:function(t){var a=s.captcha,i=t.target,n=!!i.checked;if(Array.isArray(a)){var l=null,r=s._i(a,l);i.checked?r<0&&(s.captcha=a.concat([l])):r>-1&&(s.captcha=a.slice(0,r).concat(a.slice(r+1)))}else s.captcha=n}}}),s.error_message.length>0?e("p",[e("fa-icon",{staticClass:"text-red-400",attrs:{icon:["fas","exclamation-triangle"]}}),s._v(" "+s._s(s.error_message)+" ")],1):e("p",[s._v(" ")]),e("input",{staticClass:"btn btn-blue mt-6",attrs:{type:"submit",value:"Change password"}})])])},h=[],m=p(d,u,h,!1,null,null);const _=m.exports;export{_ as default};

1
dist/assets/RoomName-Cda1C_xv.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Sandbox-DOId_fJ2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Search-WsoPIvhs.js vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/assets/Spark-L19kjwZP.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/StarsLine-CReD_mDq.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n}from"./index-DDNMzpZj.js";const i="data:image/png;base64,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",c={props:{base:{type:Number,required:!0},extra:{type:Number,required:!0},current:{type:Number,required:!0},max:{type:Number,required:!0},transcendance:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},title:{type:String,default:"Uncap level"}},methods:{isStarEnabled(t){return t<=this.current},getImage(t,e){return"/img/star_"+t+(this.isStarEnabled(e)?"1":"0")+".png"},getTranscendanceImage(t){return this.isStarEnabled(t+5)?"/img/star_v"+t+".png":"/img/star_v0.png"},getTranscendanceClass(t){let e="";return this.readOnly||(e+="cursor-pointer "),this.isStarEnabled(t)||(e+="grayscale-80 opacity-70"),e},click(t){if(this.readOnly)return;let e=t;t===1&&this.current!==0?e=0:t===this.current&&(e=t-1),this.$emit("update:current",e)}},computed:{getYellowStarsCount(){return this.base},getBlueStarsCount(){return this.base>this.extra?0:this.transcendance&&this.extra>5?Math.min(this.extra,5)-this.base:this.extra-this.base},getInvisibleStarsCount(){const t=Math.max(this.base,this.extra);return t>this.max?0:this.max-t}}};var l=function(){var e=this,s=e._self._c;return e.base!==void 0?s("div",{staticClass:"flex flex-col flex-nowrap",attrs:{title:e.title}},[s("div",{staticClass:"flex flex-row flex-nowrap"},[e._l(e.getYellowStarsCount,function(r){return s("img",{key:"y"+r,class:e.readOnly?"":"cursor-pointer",style:"width: "+100/e.max+"%;",attrs:{src:e.getImage("y",r)},on:{click:function(a){return e.click(r)}}})}),e._l(e.getBlueStarsCount,function(r){return s("img",{key:"b"+r,class:e.readOnly?"":"cursor-pointer",style:"width: "+100/e.max+"%;",attrs:{src:e.getImage("b",r+e.base)},on:{click:function(a){return e.click(r+e.base)}}})}),e._l(e.getInvisibleStarsCount,function(r){return s("img",{key:"i"+r,staticClass:"hidden",style:"width: "+100/e.max+"%;",attrs:{src:i}})})],2),e.transcendance&&e.extra>5?s("div",{staticClass:"flex flex-row flex-nowrap"},e._l(5,function(r){return s("img",{key:"v"+r,class:e.getTranscendanceClass(5+r),style:"width: 20%;",attrs:{src:e.getTranscendanceImage(r)},on:{click:function(a){return e.click(5+r)}}})}),0):e._e()]):e._e()},u=[],o=n(c,l,u,!1,null,null);const f=o.exports;export{f as S};

1
dist/assets/StatInput-BU1s-zba.js vendored Normal file
View File

@@ -0,0 +1 @@
import{n as o}from"./index-DDNMzpZj.js";const a={props:{prop:Number,shortName:String,longName:String,length:Number,max:Number,alignRight:Boolean},methods:{incrementProp(){(this.max===void 0||this.max>this.localProp)&&this.localProp++},decrementProp(){this.localProp>0&&this.localProp--}},computed:{localProp:{get(){return this.prop},set(t){this.$emit("update:prop",t)}}}};var l=function(){var e=this,n=e._self._c;return n("label",{attrs:{title:e.longName}},[e._v(" "+e._s(e.shortName)+" "),n("input",{directives:[{name:"model",rawName:"v-model.number.lazy",value:e.localProp,expression:"localProp",modifiers:{number:!0,lazy:!0}}],staticClass:"appearance-none text-primary bg-transparent",class:e.alignRight?"text-right":"",style:"width: "+e.length+"ch;",attrs:{type:"tel"},domProps:{value:e.localProp},on:{keydown:[function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"arrow-up",void 0,r.key,void 0)?null:e.incrementProp()},function(r){return!r.type.indexOf("key")&&e._k(r.keyCode,"arrow-down",void 0,r.key,void 0)?null:e.decrementProp()}],change:function(r){e.localProp=e._n(r.target.value)},blur:function(r){return e.$forceUpdate()}}})])},i=[],p=o(a,l,i,!1,null,null);const u=p.exports;export{u as S};

1
dist/assets/Summons-C2vg-X3r.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Teams-BG1wBSLn.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/Weapons-BhzO98oc.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/ceruleanspark-wtDMxBUx.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1 @@
import{p as c}from"./mixins-CpCP8hE3.js";const a=()=>({characters:[[],[],[],[],[],[],[]],summons:[[],[],[],[],[],[],[]],chara_count:{null:0,10:0,20:0,500:0,600:0,1e3:0,1010:0,1020:0,1030:0,1040:0,1050:0,1500:0,1600:0,sum:0},chara_total:{null:0,10:0,20:0,500:0,600:0,1e3:0,1010:0,1020:0,1030:0,1040:0,1050:0,1500:0,1600:0,sum:0},summon_count:{null:0,20:0,500:0,600:0,1e3:0,1020:0,1030:0,1600:0,sum:0},summon_total:{null:0,20:0,500:0,600:0,1e3:0,1020:0,1030:0,1600:0,sum:0},user_id:-1}),e={namespaced:!0,state(){return a()},mutations:{resetCollection(o,u){Object.assign(o,a())}},actions:{fetchCollection({state:o,dispatch:u},r){if(o.user_id!==r)return Object.assign(o,a()),o.user_id=r,Promise.all([this.axios.get("/tracker/charas/"+r).then(n=>{n.data.forEach(t=>{o.characters[t.e].push(t),t.owned&&(o.chara_count.sum++,o.chara_count[t.d]++),o.chara_total[t.d]++}),o.chara_total.sum=n.data.length}).catch(n=>u("addAxiosErrorMessage",n,{root:!0})),this.axios.get("/tracker/summons/"+r).then(n=>{n.data.forEach(t=>{o.summons[t.e].push(t),t.owned&&(o.summon_count.sum++,o.summon_count[t.d]++),o.summon_total[t.d]++}),o.summon_total.sum=n.data.length}).catch(n=>u("addAxiosErrorMessage",n,{root:!0}))])}}},l=c("collection",e);export{l as p};

BIN
dist/assets/crystal-vfYmHQy5.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
dist/assets/goldmoon-D3Rz1DRX.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

1
dist/assets/icon_pring-bV6Un94l.js vendored Normal file
View File

@@ -0,0 +1 @@
const A="data:image/png;base64,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";export{A as _};

1
dist/assets/index-CaL2HmiU.css vendored Normal file

File diff suppressed because one or more lines are too long

456
dist/assets/index-DDNMzpZj.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/mixins-CpCP8hE3.js vendored Normal file
View File

@@ -0,0 +1 @@
import{L as o}from"./index-DDNMzpZj.js";const i={computed:{objectIsEmpty(){return this.object.nameen===void 0}}},u={computed:{getName(){return this.$store.getters.getLang===o.EN?this.object.nameen:this.object.namejp}}},a=(t,r)=>{let e=0;return{beforeCreate(){if(VUE_ENV!=="server"&&(e++,e>1))return;const s=!!this.$store.state[t];this.$store.registerModule(t,r,{preserveState:s})},destroyed(){VUE_ENV!=="server"&&(e--,e>0)||this.$store.unregisterModule(t)}}};export{u as g,i as o,a as p};

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

1
dist/assets/raids-h8ynLJMQ.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
dist/assets/silvermoon-CXkLd0tc.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
dist/assets/sunlightstone-BvZntHf2.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

15
dist/index.html vendored Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>App</title>
<script type="module" crossorigin src="/assets/index-DDNMzpZj.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CaL2HmiU.css">
</head>
<body>
<div id="app"></div>
</body>
</html>

26
node_modules/.package-lock.json generated vendored
View File

@@ -347,6 +347,26 @@
"postcss": "^8.1.0"
}
},
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"license": "MIT"
},
"node_modules/baseline-browser-mapping": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.0.tgz",
@@ -520,6 +540,12 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
"license": "MIT"
},
"node_modules/dom-to-image-more": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/dom-to-image-more/-/dom-to-image-more-3.7.2.tgz",
"integrity": "sha512-uQf+pHv6eQhgfI8t2bFuinV0KsPyT8TZgCLwcSU8uBVgN9v6leb0mMpvp6HQAlAcplP3NCcGjxbdqef6pTzvmw==",
"license": "MIT"
},
"node_modules/electron-to-chromium": {
"version": "1.5.307",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.307.tgz",

View File

@@ -11,6 +11,7 @@ import {
text,
toHtml
} from "./chunk-363EPHLC.js";
import "./chunk-BUSYA2B4.js";
export {
config,
counter,

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/free-brands-svg-icons/index.mjs
var prefix = "fab";
var faMonero = {

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/free-solid-svg-icons/index.mjs
var prefix = "fas";
var fa0 = {

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,7 @@ import {
parse,
text
} from "./chunk-363EPHLC.js";
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/vue-fontawesome/index.es.js
function ownKeys(object, enumerableOnly) {

File diff suppressed because one or more lines are too long

View File

@@ -1,55 +1,70 @@
{
"hash": "cd3decae",
"configHash": "b21f88d8",
"lockfileHash": "25c10b32",
"browserHash": "37204f5e",
"hash": "0330ab22",
"configHash": "f90330cb",
"lockfileHash": "39fdf142",
"browserHash": "d3dc3fba",
"optimized": {
"@fortawesome/fontawesome-svg-core": {
"src": "../../@fortawesome/fontawesome-svg-core/index.es.js",
"file": "@fortawesome_fontawesome-svg-core.js",
"fileHash": "edd5645b",
"fileHash": "6b48f86a",
"needsInterop": false
},
"@fortawesome/free-brands-svg-icons": {
"src": "../../@fortawesome/free-brands-svg-icons/index.mjs",
"file": "@fortawesome_free-brands-svg-icons.js",
"fileHash": "b61541e1",
"fileHash": "ea4f60fc",
"needsInterop": false
},
"@fortawesome/free-solid-svg-icons": {
"src": "../../@fortawesome/free-solid-svg-icons/index.mjs",
"file": "@fortawesome_free-solid-svg-icons.js",
"fileHash": "53bdb2e3",
"fileHash": "ef6bdef4",
"needsInterop": false
},
"@fortawesome/vue-fontawesome": {
"src": "../../@fortawesome/vue-fontawesome/index.es.js",
"file": "@fortawesome_vue-fontawesome.js",
"fileHash": "d68cd9bf",
"fileHash": "2e2a59dd",
"needsInterop": false
},
"base64-js": {
"src": "../../base64-js/index.js",
"file": "base64-js.js",
"fileHash": "39bc9617",
"needsInterop": true
},
"dom-to-image-more": {
"src": "../../dom-to-image-more/dist/dom-to-image-more.min.js",
"file": "dom-to-image-more.js",
"fileHash": "c2e7fe89",
"needsInterop": true
},
"vue": {
"src": "../../vue/dist/vue.runtime.esm.js",
"file": "vue.js",
"fileHash": "422d179c",
"fileHash": "2504c162",
"needsInterop": false
},
"vue-router": {
"src": "../../vue-router/dist/vue-router.esm.js",
"file": "vue-router.js",
"fileHash": "314ec933",
"fileHash": "466bbc84",
"needsInterop": false
},
"vuex": {
"src": "../../vuex/dist/vuex.esm.js",
"file": "vuex.js",
"fileHash": "3f17a003",
"fileHash": "4c8022e6",
"needsInterop": false
}
},
"chunks": {
"chunk-363EPHLC": {
"file": "chunk-363EPHLC.js"
},
"chunk-BUSYA2B4": {
"file": "chunk-BUSYA2B4.js"
}
}
}

105
node_modules/.vite/deps/base64-js.js generated vendored Normal file
View File

@@ -0,0 +1,105 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/base64-js/index.js
var require_base64_js = __commonJS({
"node_modules/base64-js/index.js"(exports) {
exports.byteLength = byteLength;
exports.toByteArray = toByteArray;
exports.fromByteArray = fromByteArray;
var lookup = [];
var revLookup = [];
var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
var code = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
for (i = 0, len = code.length; i < len; ++i) {
lookup[i] = code[i];
revLookup[code.charCodeAt(i)] = i;
}
var i;
var len;
revLookup["-".charCodeAt(0)] = 62;
revLookup["_".charCodeAt(0)] = 63;
function getLens(b64) {
var len2 = b64.length;
if (len2 % 4 > 0) {
throw new Error("Invalid string. Length must be a multiple of 4");
}
var validLen = b64.indexOf("=");
if (validLen === -1) validLen = len2;
var placeHoldersLen = validLen === len2 ? 0 : 4 - validLen % 4;
return [validLen, placeHoldersLen];
}
function byteLength(b64) {
var lens = getLens(b64);
var validLen = lens[0];
var placeHoldersLen = lens[1];
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
}
function _byteLength(b64, validLen, placeHoldersLen) {
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
}
function toByteArray(b64) {
var tmp;
var lens = getLens(b64);
var validLen = lens[0];
var placeHoldersLen = lens[1];
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));
var curByte = 0;
var len2 = placeHoldersLen > 0 ? validLen - 4 : validLen;
var i2;
for (i2 = 0; i2 < len2; i2 += 4) {
tmp = revLookup[b64.charCodeAt(i2)] << 18 | revLookup[b64.charCodeAt(i2 + 1)] << 12 | revLookup[b64.charCodeAt(i2 + 2)] << 6 | revLookup[b64.charCodeAt(i2 + 3)];
arr[curByte++] = tmp >> 16 & 255;
arr[curByte++] = tmp >> 8 & 255;
arr[curByte++] = tmp & 255;
}
if (placeHoldersLen === 2) {
tmp = revLookup[b64.charCodeAt(i2)] << 2 | revLookup[b64.charCodeAt(i2 + 1)] >> 4;
arr[curByte++] = tmp & 255;
}
if (placeHoldersLen === 1) {
tmp = revLookup[b64.charCodeAt(i2)] << 10 | revLookup[b64.charCodeAt(i2 + 1)] << 4 | revLookup[b64.charCodeAt(i2 + 2)] >> 2;
arr[curByte++] = tmp >> 8 & 255;
arr[curByte++] = tmp & 255;
}
return arr;
}
function tripletToBase64(num) {
return lookup[num >> 18 & 63] + lookup[num >> 12 & 63] + lookup[num >> 6 & 63] + lookup[num & 63];
}
function encodeChunk(uint8, start, end) {
var tmp;
var output = [];
for (var i2 = start; i2 < end; i2 += 3) {
tmp = (uint8[i2] << 16 & 16711680) + (uint8[i2 + 1] << 8 & 65280) + (uint8[i2 + 2] & 255);
output.push(tripletToBase64(tmp));
}
return output.join("");
}
function fromByteArray(uint8) {
var tmp;
var len2 = uint8.length;
var extraBytes = len2 % 3;
var parts = [];
var maxChunkLength = 16383;
for (var i2 = 0, len22 = len2 - extraBytes; i2 < len22; i2 += maxChunkLength) {
parts.push(encodeChunk(uint8, i2, i2 + maxChunkLength > len22 ? len22 : i2 + maxChunkLength));
}
if (extraBytes === 1) {
tmp = uint8[len2 - 1];
parts.push(
lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "=="
);
} else if (extraBytes === 2) {
tmp = (uint8[len2 - 2] << 8) + uint8[len2 - 1];
parts.push(
lookup[tmp >> 10] + lookup[tmp >> 4 & 63] + lookup[tmp << 2 & 63] + "="
);
}
return parts.join("");
}
}
});
export default require_base64_js();
//# sourceMappingURL=base64-js.js.map

7
node_modules/.vite/deps/base64-js.js.map generated vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../base64-js/index.js"],
"sourcesContent": ["'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n"],
"mappings": "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",
"names": ["len", "i", "len2"]
}

8
node_modules/.vite/deps/chunk-BUSYA2B4.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__commonJS
};

7
node_modules/.vite/deps/chunk-BUSYA2B4.js.map generated vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

511
node_modules/.vite/deps/dom-to-image-more.js generated vendored Normal file
View File

@@ -0,0 +1,511 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/dom-to-image-more/dist/dom-to-image-more.min.js
var require_dom_to_image_more_min = __commonJS({
"node_modules/dom-to-image-more/dist/dom-to-image-more.min.js"(exports, module) {
((l) => {
let m = /* @__PURE__ */ (() => {
let e2 = 0;
return { escape: function(e3) {
return e3.replace(/([.*+?^${}()|[\]/\\])/g, "\\$1");
}, isDataUrl: function(e3) {
return -1 !== e3.search(/^(data:)/);
}, canvasToBlob: function(t3) {
if (t3.toBlob) return new Promise(function(e3) {
t3.toBlob(e3);
});
return ((r3) => new Promise(function(e3) {
var t4 = s(r3.toDataURL().split(",")[1]), n3 = t4.length, o3 = new Uint8Array(n3);
for (let e4 = 0; e4 < n3; e4++) o3[e4] = t4.charCodeAt(e4);
e3(new Blob([o3], { type: "image/png" }));
}))(t3);
}, resolveUrl: function(e3, t3) {
var n3 = document.implementation.createHTMLDocument(), o3 = n3.createElement("base"), r3 = (n3.head.appendChild(o3), n3.createElement("a"));
return n3.body.appendChild(r3), o3.href = t3, r3.href = e3, r3.href;
}, getAndEncode: function(l2) {
let e3 = d.impl.urlCache.find(function(e4) {
return e4.url === l2;
});
e3 || (e3 = { url: l2, promise: null }, d.impl.urlCache.push(e3));
null === e3.promise && (d.impl.options.cacheBust && (l2 += (/\?/.test(l2) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime()), e3.promise = new Promise(function(n3) {
let r3 = new XMLHttpRequest();
function i3(e5) {
console.error(e5), n3("");
}
function t3() {
var e5 = d.impl.options.imagePlaceholder;
e5 ? n3(e5) : i3("Status:" + r3.status + " while fetching resource: " + l2);
}
if (r3.timeout = d.impl.options.httpTimeout, r3.onerror = t3, r3.ontimeout = t3, r3.onloadend = function() {
if (r3.readyState === XMLHttpRequest.DONE) {
var e5 = r3.status;
if (0 === e5 && l2.toLowerCase().startsWith("file://") || 200 <= e5 && e5 <= 300 && null !== r3.response) {
e5 = r3.response;
e5 instanceof Blob || i3("Expected response to be a Blob, but got: " + typeof e5);
let t4 = new FileReader();
t4.onloadend = function() {
var e6 = t4.result;
n3(e6);
};
try {
t4.readAsDataURL(e5);
} catch (e6) {
i3("Failed to read the response as Data URL: " + e6.toString());
}
} else t3();
}
}, 0 < d.impl.options.useCredentialsFilters.length && (d.impl.options.useCredentials = 0 < d.impl.options.useCredentialsFilters.filter((e5) => 0 <= l2.search(e5)).length), d.impl.options.useCredentials && (r3.withCredentials = true), d.impl.options.corsImg && 0 === l2.indexOf("http") && -1 === l2.indexOf(window.location.origin)) {
var e4 = "POST" === (d.impl.options.corsImg.method || "GET").toUpperCase() ? "POST" : "GET";
r3.open(e4, (d.impl.options.corsImg.url || "").replace("#{cors}", l2), true);
let t4 = false, n4 = d.impl.options.corsImg.headers || {}, o3 = (Object.keys(n4).forEach(function(e5) {
-1 !== n4[e5].indexOf("application/json") && (t4 = true), r3.setRequestHeader(e5, n4[e5]);
}), ((e5) => {
try {
return JSON.parse(JSON.stringify(e5));
} catch (e6) {
i3("corsImg.data is missing or invalid:" + e6.toString());
}
})(d.impl.options.corsImg.data || ""));
Object.keys(o3).forEach(function(e5) {
"string" == typeof o3[e5] && (o3[e5] = o3[e5].replace("#{cors}", l2));
}), r3.responseType = "blob", r3.send(t4 ? JSON.stringify(o3) : o3);
} else r3.open("GET", l2, true), r3.responseType = "blob", r3.send();
}));
return e3.promise;
}, uid: function() {
return "u" + ("0000" + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4) + e2++;
}, asArray: function(t3) {
var n3 = [], o3 = t3.length;
for (let e3 = 0; e3 < o3; e3++) n3.push(t3[e3]);
return n3;
}, escapeXhtml: function(e3) {
return e3.replace(/%/g, "%25").replace(/#/g, "%23").replace(/\n/g, "%0A");
}, makeImage: function(r3) {
return "data:," !== r3 ? new Promise(function(e3, t3) {
let n3 = document.createElementNS("http://www.w3.org/2000/svg", "svg"), o3 = new Image();
d.impl.options.useCredentials && (o3.crossOrigin = "use-credentials"), o3.onload = function() {
document.body.removeChild(n3), window && window.requestAnimationFrame ? window.requestAnimationFrame(function() {
e3(o3);
}) : e3(o3);
}, o3.onerror = (e4) => {
document.body.removeChild(n3), t3(e4);
}, n3.appendChild(o3), o3.src = r3, document.body.appendChild(n3);
}) : Promise.resolve();
}, width: function(e3) {
var t3 = i2(e3, "width");
if (!isNaN(t3)) return t3;
var t3 = i2(e3, "border-left-width"), n3 = i2(e3, "border-right-width");
return e3.scrollWidth + t3 + n3;
}, height: function(e3) {
var t3 = i2(e3, "height");
if (!isNaN(t3)) return t3;
var t3 = i2(e3, "border-top-width"), n3 = i2(e3, "border-bottom-width");
return e3.scrollHeight + t3 + n3;
}, getWindow: t2, isElement: r2, isElementHostForOpenShadowRoot: function(e3) {
return r2(e3) && null !== e3.shadowRoot;
}, isShadowRoot: n2, isInShadowRoot: o2, isHTMLElement: function(e3) {
return e3 instanceof t2(e3).HTMLElement;
}, isHTMLCanvasElement: function(e3) {
return e3 instanceof t2(e3).HTMLCanvasElement;
}, isHTMLInputElement: function(e3) {
return e3 instanceof t2(e3).HTMLInputElement;
}, isHTMLImageElement: function(e3) {
return e3 instanceof t2(e3).HTMLImageElement;
}, isHTMLLinkElement: function(e3) {
return e3 instanceof t2(e3).HTMLLinkElement;
}, isHTMLScriptElement: function(e3) {
return e3 instanceof t2(e3).HTMLScriptElement;
}, isHTMLStyleElement: function(e3) {
return e3 instanceof t2(e3).HTMLStyleElement;
}, isHTMLTextAreaElement: function(e3) {
return e3 instanceof t2(e3).HTMLTextAreaElement;
}, isShadowSlotElement: function(e3) {
return o2(e3) && e3 instanceof t2(e3).HTMLSlotElement;
}, isSVGElement: function(e3) {
return e3 instanceof t2(e3).SVGElement;
}, isSVGRectElement: function(e3) {
return e3 instanceof t2(e3).SVGRectElement;
}, isDimensionMissing: function(e3) {
return isNaN(e3) || e3 <= 0;
} };
function t2(e3) {
e3 = e3 ? e3.ownerDocument : void 0;
return (e3 ? e3.defaultView : void 0) || window || l;
}
function n2(e3) {
return e3 instanceof t2(e3).ShadowRoot;
}
function o2(e3) {
return null != e3 && void 0 !== e3.getRootNode && n2(e3.getRootNode());
}
function r2(e3) {
return e3 instanceof t2(e3).Element;
}
function i2(t3, n3) {
if (t3.nodeType === f) {
let e3 = h(t3).getPropertyValue(n3);
if ("px" === e3.slice(-2)) return e3 = e3.slice(0, -2), parseFloat(e3);
}
return NaN;
}
})(), r = /* @__PURE__ */ (() => {
let o2 = /url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/gm;
return { inlineAll: function(t2, o3, r3) {
if (!e2(t2)) return Promise.resolve(t2);
return Promise.resolve(t2).then(n2).then(function(e3) {
let n3 = Promise.resolve(t2);
return e3.forEach(function(t3) {
n3 = n3.then(function(e4) {
return i2(e4, t3, o3, r3);
});
}), n3;
});
}, shouldProcess: e2, impl: { readUrls: n2, inline: i2, urlAsRegex: r2 } };
function e2(e3) {
return -1 !== e3.search(o2);
}
function n2(e3) {
for (var t2, n3 = []; null !== (t2 = o2.exec(e3)); ) n3.push(t2[2]);
return n3.filter(function(e4) {
return !m.isDataUrl(e4);
});
}
function r2(e3) {
return new RegExp(`url\\((["']?)(${m.escape(e3)})\\1\\)`, "gm");
}
function i2(n3, o3, t2, e3) {
return Promise.resolve(o3).then(function(e4) {
return t2 ? m.resolveUrl(e4, t2) : e4;
}).then(e3 || m.getAndEncode).then(function(e4) {
var t3 = r2(o3);
return n3.replace(t3, `url($1${e4}$1)`);
});
}
})(), e = { resolveAll: function() {
return t().then(function(e2) {
return Promise.all(e2.map(function(e3) {
return e3.resolve();
}));
}).then(function(e2) {
return e2.join("\n");
});
}, impl: { readAll: t } };
function t() {
return Promise.resolve(m.asArray(document.styleSheets)).then(function(e2) {
let n2 = [];
return e2.forEach(function(t3) {
var e3 = Object.getPrototypeOf(t3);
if (Object.prototype.hasOwnProperty.call(e3, "cssRules")) try {
m.asArray(t3.cssRules || []).forEach(n2.push.bind(n2));
} catch (e4) {
console.error("domtoimage: Error while reading CSS rules from: " + t3.href, e4.toString());
}
}), n2;
}).then(function(e2) {
return e2.filter(function(e3) {
return e3.type === CSSRule.FONT_FACE_RULE;
}).filter(function(e3) {
return r.shouldProcess(e3.style.getPropertyValue("src"));
});
}).then(function(e2) {
return e2.map(t2);
});
function t2(t3) {
return { resolve: function() {
var e2 = (t3.parentStyleSheet || {}).href;
return r.inlineAll(t3.cssText, e2);
}, src: function() {
return t3.style.getPropertyValue("src");
} };
}
}
let n = { inlineAll: function t2(e2) {
if (!m.isElement(e2)) return Promise.resolve(e2);
return n2(e2).then(function() {
return m.isHTMLImageElement(e2) ? o(e2).inline() : Promise.all(m.asArray(e2.childNodes).map(function(e3) {
return t2(e3);
}));
});
function n2(o2) {
let e3 = ["background", "background-image"], t3 = e3.map(function(t4) {
let e4 = o2.style.getPropertyValue(t4), n3 = o2.style.getPropertyPriority(t4);
return e4 ? r.inlineAll(e4).then(function(e5) {
o2.style.setProperty(t4, e5, n3);
}) : Promise.resolve();
});
return Promise.all(t3).then(function() {
return o2;
});
}
}, impl: { newImage: o } };
function o(n2) {
return { inline: function(e2) {
if (m.isDataUrl(n2.src)) return Promise.resolve();
return Promise.resolve(n2.src).then(e2 || m.getAndEncode).then(function(t2) {
return new Promise(function(e3) {
n2.onload = e3, n2.onerror = e3, n2.src = t2;
});
});
} };
}
let i = { copyDefaultStyles: true, imagePlaceholder: void 0, cacheBust: false, useCredentials: false, useCredentialsFilters: [], httpTimeout: 3e4, styleCaching: "strict", corsImg: void 0, adjustClonedNode: void 0, filterStyles: void 0 }, d = { toSvg: u, toPng: function(e2, t2) {
return a(e2, t2).then(function(e3) {
return e3.toDataURL();
});
}, toJpeg: function(e2, t2) {
return a(e2, t2).then(function(e3) {
return e3.toDataURL("image/jpeg", (t2 ? t2.quality : void 0) || 1);
});
}, toBlob: function(e2, t2) {
return a(e2, t2).then(m.canvasToBlob);
}, toPixelData: function(t2, e2) {
return a(t2, e2).then(function(e3) {
return e3.getContext("2d").getImageData(0, 0, m.width(t2), m.height(t2)).data;
});
}, toCanvas: a, impl: { fontFaces: e, images: n, util: m, inliner: r, urlCache: [], options: {}, copyOptions: function(e2) {
void 0 === e2.copyDefaultStyles ? d.impl.options.copyDefaultStyles = i.copyDefaultStyles : d.impl.options.copyDefaultStyles = e2.copyDefaultStyles;
d.impl.options.imagePlaceholder = (void 0 === e2.imagePlaceholder ? i : e2).imagePlaceholder;
d.impl.options.cacheBust = (void 0 === e2.cacheBust ? i : e2).cacheBust;
d.impl.options.corsImg = (void 0 === e2.corsImg ? i : e2).corsImg;
d.impl.options.useCredentials = (void 0 === e2.useCredentials ? i : e2).useCredentials;
d.impl.options.useCredentialsFilters = (void 0 === e2.useCredentialsFilters ? i : e2).useCredentialsFilters;
d.impl.options.httpTimeout = (void 0 === e2.httpTimeout ? i : e2).httpTimeout;
d.impl.options.styleCaching = (void 0 === e2.styleCaching ? i : e2).styleCaching;
} } }, f = ("object" == typeof exports && "object" == typeof module ? module.exports = d : l.domtoimage = d, (void 0 === Node ? void 0 : Node.ELEMENT_NODE) || 1), h = (void 0 === l ? void 0 : l.getComputedStyle) || (void 0 === window ? void 0 : window.getComputedStyle) || globalThis.getComputedStyle, s = (void 0 === l ? void 0 : l.atob) || (void 0 === window ? void 0 : window.atob) || globalThis.atob;
function u(t2, r2) {
let n2 = d.impl.util.getWindow(t2), o2 = (r2 = r2 || {}, d.impl.copyOptions(r2), []);
return Promise.resolve(t2).then(function(e2) {
if (e2.nodeType === f) return e2;
var t3 = e2, n3 = document.createElement("span");
return t3.replaceWith(n3), n3.append(e2), o2.push({ child: t3, wrapper: n3 }), n3;
}).then(function(e2) {
return (function l2(t3, s2, i2, u2) {
let e3 = s2.filter;
if (t3 === p || m.isHTMLScriptElement(t3) || m.isHTMLStyleElement(t3) || m.isHTMLLinkElement(t3) || null !== i2 && e3 && !e3(t3)) return Promise.resolve();
return Promise.resolve(t3).then(n3).then(o3).then(function(e4) {
return c2(e4, a2(t3));
}).then(r3).then(function(e4) {
return d2(e4, t3);
});
function n3(e4) {
return m.isHTMLCanvasElement(e4) ? m.makeImage(e4.toDataURL()) : e4.cloneNode(false);
}
function o3(e4) {
return s2.adjustClonedNode && s2.adjustClonedNode(t3, e4, false), Promise.resolve(e4);
}
function r3(e4) {
return s2.adjustClonedNode && s2.adjustClonedNode(t3, e4, true), Promise.resolve(e4);
}
function a2(e4) {
return m.isElementHostForOpenShadowRoot(e4) ? e4.shadowRoot : e4;
}
function c2(n4, e4) {
let o4 = t4(e4), r4 = Promise.resolve();
if (0 !== o4.length) {
let t5 = h(i3(e4));
m.asArray(o4).forEach(function(e5) {
r4 = r4.then(function() {
return l2(e5, s2, t5, u2).then(function(e6) {
e6 && n4.appendChild(e6);
});
});
});
}
return r4.then(function() {
return n4;
});
function i3(e5) {
return m.isShadowRoot(e5) ? e5.host : e5;
}
function t4(t5) {
if (m.isShadowSlotElement(t5)) {
let e5 = t5.assignedNodes();
if (e5 && 0 < e5.length) return e5;
}
return t5.childNodes;
}
}
function d2(u3, a3) {
return !m.isElement(u3) || m.isShadowSlotElement(a3) ? Promise.resolve(u3) : Promise.resolve().then(t4).then(n4).then(o4).then(r4).then(e4).then(function() {
return u3;
});
function e4() {
m.isHTMLImageElement(u3) && (u3.removeAttribute("loading"), a3.srcset || a3.sizes) && (u3.removeAttribute("srcset"), u3.removeAttribute("sizes"), u3.src = a3.currentSrc || a3.src);
}
function t4() {
function o5(e6, t5) {
t5.font = e6.font, t5.fontFamily = e6.fontFamily, t5.fontFeatureSettings = e6.fontFeatureSettings, t5.fontKerning = e6.fontKerning, t5.fontSize = e6.fontSize, t5.fontStretch = e6.fontStretch, t5.fontStyle = e6.fontStyle, t5.fontVariant = e6.fontVariant, t5.fontVariantCaps = e6.fontVariantCaps, t5.fontVariantEastAsian = e6.fontVariantEastAsian, t5.fontVariantLigatures = e6.fontVariantLigatures, t5.fontVariantNumeric = e6.fontVariantNumeric, t5.fontVariationSettings = e6.fontVariationSettings, t5.fontWeight = e6.fontWeight;
}
function e5(e6, t5) {
let n5 = h(e6);
n5.cssText ? (t5.style.cssText = n5.cssText, o5(n5, t5.style)) : (y(s2, e6, n5, i2, t5), null === i2 && (["inset-block", "inset-block-start", "inset-block-end"].forEach((e7) => t5.style.removeProperty(e7)), ["left", "right", "top", "bottom"].forEach((e7) => {
t5.style.getPropertyValue(e7) && t5.style.setProperty(e7, "0px");
})));
}
e5(a3, u3);
}
function n4() {
let s3 = m.uid();
function t5(r5) {
let i3 = h(a3, r5), l3 = i3.getPropertyValue("content");
if ("" !== l3 && "none" !== l3) {
let n6 = function() {
let e6 = `.${s3}:` + r5, t7 = (i3.cssText ? n7 : o5)();
return document.createTextNode(e6 + `{${t7}}`);
function n7() {
return `${i3.cssText} content: ${l3};`;
}
function o5() {
let e7 = m.asArray(i3).map(t8).join("; ");
return e7 + ";";
function t8(e8) {
let t9 = i3.getPropertyValue(e8), n8 = i3.getPropertyPriority(e8) ? " !important" : "";
return e8 + ": " + t9 + n8;
}
}
};
var n5 = n6;
let e5 = u3.getAttribute("class") || "", t6 = (u3.setAttribute("class", e5 + " " + s3), document.createElement("style"));
t6.appendChild(n6()), u3.appendChild(t6);
}
}
[":before", ":after"].forEach(function(e5) {
t5(e5);
});
}
function o4() {
m.isHTMLTextAreaElement(a3) && (u3.innerHTML = a3.value), m.isHTMLInputElement(a3) && u3.setAttribute("value", a3.value);
}
function r4() {
m.isSVGElement(u3) && (u3.setAttribute("xmlns", "http://www.w3.org/2000/svg"), m.isSVGRectElement(u3)) && ["width", "height"].forEach(function(e5) {
let t5 = u3.getAttribute(e5);
t5 && u3.style.setProperty(e5, t5);
});
}
}
})(e2, r2, null, n2);
}).then(r2.disableEmbedFonts ? Promise.resolve(t2) : c).then(r2.disableInlineImages ? Promise.resolve(t2) : g).then(function(t3) {
r2.bgcolor && (t3.style.backgroundColor = r2.bgcolor);
r2.width && (t3.style.width = r2.width + "px");
r2.height && (t3.style.height = r2.height + "px");
r2.style && Object.keys(r2.style).forEach(function(e3) {
t3.style[e3] = r2.style[e3];
});
let e2 = null;
"function" == typeof r2.onclone && (e2 = r2.onclone(t3));
return Promise.resolve(e2).then(function() {
return t3;
});
}).then(function(e2) {
let n3 = r2.width || m.width(t2), o3 = r2.height || m.height(t2);
return Promise.resolve(e2).then(function(e3) {
return e3.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), new XMLSerializer().serializeToString(e3);
}).then(m.escapeXhtml).then(function(e3) {
var t3 = (m.isDimensionMissing(n3) ? ' width="100%"' : ` width="${n3}"`) + (m.isDimensionMissing(o3) ? ' height="100%"' : ` height="${o3}"`);
return `<svg xmlns="http://www.w3.org/2000/svg"${(m.isDimensionMissing(n3) ? "" : ` width="${n3}"`) + (m.isDimensionMissing(o3) ? "" : ` height="${o3}"`)}><foreignObject${t3}>${e3}</foreignObject></svg>`;
}).then(function(e3) {
return "data:image/svg+xml;charset=utf-8," + e3;
});
}).then(function(e2) {
for (; 0 < o2.length; ) {
var t3 = o2.pop();
t3.wrapper.replaceWith(t3.child);
}
return e2;
}).then(function(e2) {
return d.impl.urlCache = [], (() => {
p && (document.body.removeChild(p), p = null), v && clearTimeout(v), v = setTimeout(() => {
v = null, w = {};
}, 2e4);
})(), e2;
});
}
function a(r2, i2) {
return u(r2, i2 = i2 || {}).then(m.makeImage).then(function(e2) {
var t2 = "number" != typeof i2.scale ? 1 : i2.scale, n2 = ((e3, t3) => {
let n3 = i2.width || m.width(e3), o3 = i2.height || m.height(e3);
return m.isDimensionMissing(n3) && (n3 = m.isDimensionMissing(o3) ? 300 : 2 * o3), m.isDimensionMissing(o3) && (o3 = n3 / 2), (e3 = document.createElement("canvas")).width = n3 * t3, e3.height = o3 * t3, i2.bgcolor && ((t3 = e3.getContext("2d")).fillStyle = i2.bgcolor, t3.fillRect(0, 0, e3.width, e3.height)), e3;
})(r2, t2), o2 = n2.getContext("2d");
return o2.msImageSmoothingEnabled = false, o2.imageSmoothingEnabled = false, e2 && (o2.scale(t2, t2), o2.drawImage(e2, 0, 0)), n2;
});
}
let p = null;
function c(n2) {
return e.resolveAll().then(function(e2) {
var t2;
return "" !== e2 && (t2 = document.createElement("style"), n2.appendChild(t2), t2.appendChild(document.createTextNode(e2))), n2;
});
}
function g(e2) {
return n.inlineAll(e2).then(function() {
return e2;
});
}
function y(i2, l2, s2, u2, e2) {
let a2 = d.impl.options.copyDefaultStyles ? ((t2, e3) => {
var n2, o2 = ((e4) => ("relaxed" !== t2.styleCaching ? e4 : e4.filter((e5, t3, n3) => 0 === t3 || t3 === n3.length - 1)).join(">"))(e3 = ((e4) => {
var t3 = [];
do {
if (e4.nodeType === f) {
var n3 = e4.tagName;
if (t3.push(n3), E.includes(n3)) break;
}
} while (e4 = e4.parentNode);
return t3;
})(e3));
{
if (w[o2]) return w[o2];
e3 = ((e4, t3) => {
let n3 = e4.body;
do {
var o3 = t3.pop(), o3 = e4.createElement(o3);
n3.appendChild(o3), n3 = o3;
} while (0 < t3.length);
return n3.textContent = "", n3;
})((n2 = (() => {
if (p) return p.contentWindow;
t3 = document.characterSet || "UTF-8", e4 = (e4 = document.doctype) ? (`<!DOCTYPE ${s3(e4.name)} ${s3(e4.publicId)} ` + s3(e4.systemId)).trim() + ">" : "", (p = document.createElement("iframe")).id = "domtoimage-sandbox-" + m.uid(), p.style.top = "-9999px", p.style.visibility = "hidden", p.style.position = "fixed", document.body.appendChild(p);
var e4, t3, n3 = p, o3 = "domtoimage-sandbox";
try {
return n3.contentWindow.document.write(e4 + `<html><head><meta charset='${t3}'><title>${o3}</title></head><body></body></html>`), n3.contentWindow;
} catch (e5) {
}
var r3 = document.createElement("meta");
r3.setAttribute("charset", t3);
try {
var i4 = document.implementation.createHTMLDocument(o3), l3 = (i4.head.appendChild(r3), e4 + i4.documentElement.outerHTML);
return n3.setAttribute("srcdoc", l3), n3.contentWindow;
} catch (e5) {
}
return n3.contentDocument.head.appendChild(r3), n3.contentDocument.title = o3, n3.contentWindow;
function s3(e5) {
var t4;
return e5 ? ((t4 = document.createElement("div")).innerText = e5, t4.innerHTML) : "";
}
})()).document, e3), n2 = ((e4, t3) => {
let n3 = {}, o3 = e4.getComputedStyle(t3);
return m.asArray(o3).forEach(function(e5) {
n3[e5] = "width" === e5 || "height" === e5 ? "auto" : o3.getPropertyValue(e5);
}), n3;
})(n2, e3);
var r2 = e3;
do {
var i3 = r2.parentElement;
null !== i3 && i3.removeChild(r2), r2 = i3;
} while (r2 && "BODY" !== r2.tagName);
return w[o2] = n2;
}
})(i2, l2) : {}, c2 = e2.style;
m.asArray(s2).forEach(function(e3) {
var t2, n2, o2, r2;
i2.filterStyles && !i2.filterStyles(l2, e3) || (n2 = s2.getPropertyValue(e3), o2 = a2[e3], t2 = u2 ? u2.getPropertyValue(e3) : void 0, c2.getPropertyValue(e3)) || (n2 !== o2 || u2 && n2 !== t2) && (o2 = s2.getPropertyPriority(e3), t2 = c2, n2 = n2, o2 = o2, r2 = 0 <= ["background-clip"].indexOf(e3 = e3), o2 ? (t2.setProperty(e3, n2, o2), r2 && t2.setProperty("-webkit-" + e3, n2, o2)) : (t2.setProperty(e3, n2), r2 && t2.setProperty("-webkit-" + e3, n2)));
});
}
let v = null, w = {}, E = ["ADDRESS", "ARTICLE", "ASIDE", "BLOCKQUOTE", "DETAILS", "DIALOG", "DD", "DIV", "DL", "DT", "FIELDSET", "FIGCAPTION", "FIGURE", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "LI", "MAIN", "NAV", "OL", "P", "PRE", "SECTION", "SVG", "TABLE", "UL", "math", "svg", "BODY", "HEAD", "HTML"];
})(exports);
}
});
export default require_dom_to_image_more_min();
//# sourceMappingURL=dom-to-image-more.js.map

7
node_modules/.vite/deps/dom-to-image-more.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vue-router/dist/vue-router.esm.js
function assert(condition, message) {
if (!condition) {

File diff suppressed because one or more lines are too long

2
node_modules/.vite/deps/vue.js generated vendored
View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vue/dist/vue.runtime.esm.js
var emptyObject = Object.freeze({});
var isArray = Array.isArray;

2
node_modules/.vite/deps/vue.js.map generated vendored

File diff suppressed because one or more lines are too long

2
node_modules/.vite/deps/vuex.js generated vendored
View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vuex/dist/vuex.esm.js
function applyMixin(Vue2) {
var version = Number(Vue2.version.split(".")[0]);

File diff suppressed because one or more lines are too long

21
node_modules/base64-js/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Jameson Little
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

34
node_modules/base64-js/README.md generated vendored Normal file
View File

@@ -0,0 +1,34 @@
base64-js
=========
`base64-js` does basic base64 encoding/decoding in pure JS.
[![build status](https://secure.travis-ci.org/beatgammit/base64-js.png)](http://travis-ci.org/beatgammit/base64-js)
Many browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data.
Sometimes encoding/decoding binary data in the browser is useful, and that is what this module does.
## install
With [npm](https://npmjs.org) do:
`npm install base64-js` and `var base64js = require('base64-js')`
For use in web browsers do:
`<script src="base64js.min.js"></script>`
[Get supported base64-js with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-base64-js?utm_source=npm-base64-js&utm_medium=referral&utm_campaign=readme)
## methods
`base64js` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument.
* `byteLength` - Takes a base64 string and returns length of byte array
* `toByteArray` - Takes a base64 string and returns a byte array
* `fromByteArray` - Takes a byte array and returns a base64 string
## license
MIT

1
node_modules/base64-js/base64js.min.js generated vendored Normal file
View File

@@ -0,0 +1 @@
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});

3
node_modules/base64-js/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export function byteLength(b64: string): number;
export function toByteArray(b64: string): Uint8Array;
export function fromByteArray(uint8: Uint8Array): string;

View File

@@ -65,7 +65,8 @@ function toByteArray (b64) {
? validLen - 4
: validLen
for (var i = 0; i < len; i += 4) {
var i
for (i = 0; i < len; i += 4) {
tmp =
(revLookup[b64.charCodeAt(i)] << 18) |
(revLookup[b64.charCodeAt(i + 1)] << 12) |
@@ -124,9 +125,7 @@ function fromByteArray (uint8) {
// go through the array every three bytes, we'll deal with trailing stuff later
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
parts.push(encodeChunk(
uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
))
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
}
// pad the end with zeros, but make sure to not forget the extra bytes

47
node_modules/base64-js/package.json generated vendored Normal file
View File

@@ -0,0 +1,47 @@
{
"name": "base64-js",
"description": "Base64 encoding/decoding in pure JS",
"version": "1.5.1",
"author": "T. Jameson Little <t.jameson.little@gmail.com>",
"typings": "index.d.ts",
"bugs": {
"url": "https://github.com/beatgammit/base64-js/issues"
},
"devDependencies": {
"babel-minify": "^0.5.1",
"benchmark": "^2.1.4",
"browserify": "^16.3.0",
"standard": "*",
"tape": "4.x"
},
"homepage": "https://github.com/beatgammit/base64-js",
"keywords": [
"base64"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/beatgammit/base64-js.git"
},
"scripts": {
"build": "browserify -s base64js -r ./ | minify > base64js.min.js",
"lint": "standard",
"test": "npm run lint && npm run unit",
"unit": "tape test/*.js"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
}

1
node_modules/dom-to-image-more/.gitattributes generated vendored Normal file
View File

@@ -0,0 +1 @@
dist/*.min.js -diff

View File

@@ -0,0 +1,14 @@
# Use case: description, code
[jsfiddle](https://jsfiddle.net/IDisposable/emjL1ow8/)
## Expected behavior
## Actual behavior (stack traces, console logs etc)
## Library version
## Browsers
- [ ] Chrome 49+
- [ ] Firefox 45+

19
node_modules/dom-to-image-more/.github/dependabot.yml generated vendored Normal file
View File

@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: docker
directory: '/'
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- 'type: dependencies'

View File

@@ -0,0 +1,42 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 'Breaking'
label: 'type: breaking'
- title: 'New'
label: 'type: feature'
- title: 'Bug Fixes'
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
- title: 'Documentation'
label: 'type: docs'
- title: 'Other changes'
- title: 'Dependency Updates'
label: 'type: dependencies'
collapse-after: 5
version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: feature'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: docs'
- 'type: dependencies'
- 'type: security'
exclude-labels:
- 'skip-changelog'

View File

@@ -0,0 +1,75 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: ['main', 'v2.x']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main', 'v2.x']
schedule:
- cron: '17 11 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'

View File

@@ -0,0 +1,12 @@
---
name: Sync labels
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "34 5 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/labels.yaml@main

View File

@@ -0,0 +1,12 @@
---
name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/lock.yaml@main

View File

@@ -0,0 +1,15 @@
---
name: PR Labels
# yamllint disable-line rule:truthy
on:
pull_request_target:
types:
- opened
- labeled
- unlabeled
- synchronize
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/pr-labels.yaml@main

View File

@@ -0,0 +1,30 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '19.x'
registry-url: 'https://registry.npmjs.org'
- name: Install npm packages
run: npm ci
- name: Build
run: npm run build:ci
- name: Publish NPM package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -0,0 +1,17 @@
---
name: Release Drafter
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
jobs:
workflows:
permissions:
# Write permission is required to create a github release
contents: write
# Write permission is required for autolabeler
pull-requests: write
uses: hassio-addons/workflows/.github/workflows/release-drafter.yaml@main

View File

@@ -0,0 +1,12 @@
---
name: Stale
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/stale.yaml@main

View File

@@ -0,0 +1,30 @@
name: build
on:
push:
branches: [main, v2.x]
pull_request:
branches: [main, v2.x]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- name: Check dependencies
run: npm ci --dry-run
- name: Install dependencies
run: npm ci
- name: Run build only
run: npm run build:ci

8
node_modules/dom-to-image-more/.gitpod.yml generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
tasks:
- init: npm install && npm run build

41
node_modules/dom-to-image-more/.jsbeautifyrc generated vendored Normal file
View File

@@ -0,0 +1,41 @@
{
"html": {
"brace_style": "collapse",
"end_with_newline": true,
"indent_char": " ",
"indent_scripts": "keep",
"indent_size": 4,
"preserve_newlines": true,
"max_preserve_newlines": 1,
"wrap_attributes": "auto",
"wrap_line_length": 100
},
"js": {
"allowed_file_extensions": ["js", "jsx", "json", "jsbeautifyrc"],
"brace_style": "collapse-preserve-inline",
"break_chained_methods": false,
"comma_first": false,
"e4x": false,
"end_with_newline": true,
"indent_char": " ",
"indent_level": 0,
"indent_size": 4,
"jslint_happy": false,
"keep_array_indentation": false,
"keep_function_indentation": false,
"max_preserve_newlines": 0,
"preserve_newlines": true,
"space_in_empty_paren": false,
"space_in_paren": false
},
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"end_with_newline": true,
"indent_char": " ",
"indent_size": 4,
"newline_between_rules": true,
"selector_separator": " ",
"selector_separator_newline": false,
"preserve_newlines": true
}
}

8
node_modules/dom-to-image-more/.jshintrc generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"eqeqeq": true,
"immed": true,
"newcap": true,
"unused": "strict",
"esnext": true,
"laxbreak": true
}

9
node_modules/dom-to-image-more/.markdownlink.json generated vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"list-marker-space": {
"ul_multi": 3,
"ul_single": 3
},
"ul-indent": {
"indent": 4
}
}

2
node_modules/dom-to-image-more/.prettierignore generated vendored Normal file
View File

@@ -0,0 +1,2 @@
test-lib/
dist/

Some files were not shown because too many files have changed in this diff Show More