From 0f4fa7d9a023fd868cf79783e764d167b21a69ab Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 14 Jul 2022 05:04:58 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20profectu?= =?UTF-8?q?s-engine/TMT-Demo@a08c7f55a90a45564b2e8d9f3ce6a761a7698d60=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/@ivanv.bf09ddfc.js | 1 + assets/@pixi.c5050cb0.js | 552 ++++++++ assets/@vue.861e8bf0.js | 4 + assets/earcut.17d42416.js | 1 + assets/eventemitter3.dc5195d7.js | 1 + assets/index.2bb81304.js | 1620 ---------------------- assets/index.4d68ca01.css | 1 + assets/index.c851429a.js | 17 + assets/index.f4e7ecfe.css | 1 - assets/is-plain-object.906d88e8.js | 6 + assets/ismobilejs.5c6954b9.js | 1 + assets/lz-string.f2f3b7cf.js | 1 + assets/nanoevents.1080beb7.js | 1 + assets/querystring.776b9ab3.js | 1 + assets/sortablejs.bd686609.js | 7 + assets/url.b1bd21f4.js | 2 + assets/vue-next-select.9e6f4164.css | 1 + assets/vue-next-select.aa58f779.js | 3 + assets/vue-textarea-autosize.35804eaf.js | 5 + assets/vue-toastification.17ba848b.js | 1 + assets/vue-toastification.4b5f8ac8.css | 1 + assets/vue.67040123.js | 1 + assets/vuedraggable.502d3696.js | 4 + assets/workbox-window.60401ce8.js | 2 + index.html | 32 +- manifest.webmanifest | 2 +- sw.js | 2 +- 27 files changed, 642 insertions(+), 1629 deletions(-) create mode 100644 assets/@ivanv.bf09ddfc.js create mode 100644 assets/@pixi.c5050cb0.js create mode 100644 assets/@vue.861e8bf0.js create mode 100644 assets/earcut.17d42416.js create mode 100644 assets/eventemitter3.dc5195d7.js delete mode 100644 assets/index.2bb81304.js create mode 100644 assets/index.4d68ca01.css create mode 100644 assets/index.c851429a.js delete mode 100644 assets/index.f4e7ecfe.css create mode 100644 assets/is-plain-object.906d88e8.js create mode 100644 assets/ismobilejs.5c6954b9.js create mode 100644 assets/lz-string.f2f3b7cf.js create mode 100644 assets/nanoevents.1080beb7.js create mode 100644 assets/querystring.776b9ab3.js create mode 100644 assets/sortablejs.bd686609.js create mode 100644 assets/url.b1bd21f4.js create mode 100644 assets/vue-next-select.9e6f4164.css create mode 100644 assets/vue-next-select.aa58f779.js create mode 100644 assets/vue-textarea-autosize.35804eaf.js create mode 100644 assets/vue-toastification.17ba848b.js create mode 100644 assets/vue-toastification.4b5f8ac8.css create mode 100644 assets/vue.67040123.js create mode 100644 assets/vuedraggable.502d3696.js create mode 100644 assets/workbox-window.60401ce8.js diff --git a/assets/@ivanv.bf09ddfc.js b/assets/@ivanv.bf09ddfc.js new file mode 100644 index 0000000..0ee42d4 --- /dev/null +++ b/assets/@ivanv.bf09ddfc.js @@ -0,0 +1 @@ +import{o as r,c as o,w as d,r as h,T as l}from"./@vue.861e8bf0.js";var c=(e,t)=>{const s=e.__vccOpts||e;for(const[n,a]of t)s[n]=a;return s};const p={name:"CollapseTransition",props:{name:{type:String,required:!1,default:"collapse"},dimension:{type:String,required:!1,default:"height",validator:e=>["height","width"].includes(e)},duration:{type:Number,required:!1,default:300},easing:{type:String,required:!1,default:"ease-in-out"}},watch:{dimension(){this.clearCachedDimensions()}},data(){return{cachedStyles:null}},computed:{transition(){let e=[];return Object.keys(this.cachedStyles).forEach(t=>{e.push(`${this.convertToCssProperty(t)} ${this.duration}ms ${this.easing}`)}),e.join(", ")}},methods:{beforeAppear(e){this.$emit("before-appear",e)},appear(e){this.$emit("appear",e)},afterAppear(e){this.$emit("after-appear",e)},appearCancelled(e){this.$emit("appear-cancelled",e)},beforeEnter(e){this.$emit("before-enter",e)},enter(e,t){this.detectAndCacheDimensions(e),this.setClosedDimensions(e),this.hideOverflow(e),this.forceRepaint(e),this.setTransition(e),this.setOpenedDimensions(e),this.$emit("enter",e,t),setTimeout(t,this.duration)},afterEnter(e){this.unsetOverflow(e),this.unsetTransition(e),this.unsetDimensions(e),this.clearCachedDimensions(),this.$emit("after-enter",e)},enterCancelled(e){this.$emit("enter-cancelled",e)},beforeLeave(e){this.$emit("before-leave",e)},leave(e,t){this.detectAndCacheDimensions(e),this.setOpenedDimensions(e),this.hideOverflow(e),this.forceRepaint(e),this.setTransition(e),this.setClosedDimensions(e),this.$emit("leave",e,t),setTimeout(t,this.duration)},afterLeave(e){this.unsetOverflow(e),this.unsetTransition(e),this.unsetDimensions(e),this.clearCachedDimensions(),this.$emit("after-leave",e)},leaveCancelled(e){this.$emit("leave-cancelled",e)},detectAndCacheDimensions(e){if(this.cachedStyles)return;const t=e.style.visibility,s=e.style.display;e.style.visibility="hidden",e.style.display="",this.cachedStyles=this.detectRelevantDimensions(e),e.style.visibility=t,e.style.display=s},clearCachedDimensions(){this.cachedStyles=null},detectRelevantDimensions(e){return this.dimension==="height"?{height:e.offsetHeight+"px",paddingTop:e.style.paddingTop||this.getCssValue(e,"padding-top"),paddingBottom:e.style.paddingBottom||this.getCssValue(e,"padding-bottom")}:this.dimension==="width"?{width:e.offsetWidth+"px",paddingLeft:e.style.paddingLeft||this.getCssValue(e,"padding-left"),paddingRight:e.style.paddingRight||this.getCssValue(e,"padding-right")}:{}},setTransition(e){e.style.transition=this.transition},unsetTransition(e){e.style.transition=""},hideOverflow(e){e.style.overflow="hidden"},unsetOverflow(e){e.style.overflow=""},setClosedDimensions(e){Object.keys(this.cachedStyles).forEach(t=>{e.style[t]="0"})},setOpenedDimensions(e){Object.keys(this.cachedStyles).forEach(t=>{e.style[t]=this.cachedStyles[t]})},unsetDimensions(e){Object.keys(this.cachedStyles).forEach(t=>{e.style[t]=""})},forceRepaint(e){getComputedStyle(e)[this.dimension]},getCssValue(e,t){return getComputedStyle(e,null).getPropertyValue(t)},convertToCssProperty(e){const t=e.match(/([A-Z])/g);if(!t)return e;for(let s=0,n=t.length;s[h(e.$slots,"default")]),_:3},8,["name","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled"])}var m=c(p,[["render",f]]);export{m as C,c as _}; diff --git a/assets/@pixi.c5050cb0.js b/assets/@pixi.c5050cb0.js new file mode 100644 index 0000000..b956e10 --- /dev/null +++ b/assets/@pixi.c5050cb0.js @@ -0,0 +1,552 @@ +import{i as Ti}from"./ismobilejs.5c6954b9.js";import{E as Wt}from"./eventemitter3.dc5195d7.js";import"./earcut.17d42416.js";import{p as bi,f as Ii,r as Ri}from"./url.b1bd21f4.js";/*! + * @pixi/settings - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/settings is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */var ut=Ti(globalThis.navigator);function Ei(r){var t=!0;if(ut.tablet||ut.phone){if(ut.apple.device){var e=navigator.userAgent.match(/OS (\d+)_(\d+)?/);if(e){var i=parseInt(e[1],10);i<11&&(t=!1)}}if(ut.android.device){var e=navigator.userAgent.match(/Android\s([0-9.]*)/);if(e){var i=parseInt(e[1],10);i<7&&(t=!1)}}}return t?r:4}function wi(){return!ut.apple.device}/*! + * @pixi/constants - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/constants is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */var nr;(function(r){r[r.WEBGL_LEGACY=0]="WEBGL_LEGACY",r[r.WEBGL=1]="WEBGL",r[r.WEBGL2=2]="WEBGL2"})(nr||(nr={}));var sr;(function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.WEBGL=1]="WEBGL",r[r.CANVAS=2]="CANVAS"})(sr||(sr={}));var ar;(function(r){r[r.COLOR=16384]="COLOR",r[r.DEPTH=256]="DEPTH",r[r.STENCIL=1024]="STENCIL"})(ar||(ar={}));var or;(function(r){r[r.NORMAL=0]="NORMAL",r[r.ADD=1]="ADD",r[r.MULTIPLY=2]="MULTIPLY",r[r.SCREEN=3]="SCREEN",r[r.OVERLAY=4]="OVERLAY",r[r.DARKEN=5]="DARKEN",r[r.LIGHTEN=6]="LIGHTEN",r[r.COLOR_DODGE=7]="COLOR_DODGE",r[r.COLOR_BURN=8]="COLOR_BURN",r[r.HARD_LIGHT=9]="HARD_LIGHT",r[r.SOFT_LIGHT=10]="SOFT_LIGHT",r[r.DIFFERENCE=11]="DIFFERENCE",r[r.EXCLUSION=12]="EXCLUSION",r[r.HUE=13]="HUE",r[r.SATURATION=14]="SATURATION",r[r.COLOR=15]="COLOR",r[r.LUMINOSITY=16]="LUMINOSITY",r[r.NORMAL_NPM=17]="NORMAL_NPM",r[r.ADD_NPM=18]="ADD_NPM",r[r.SCREEN_NPM=19]="SCREEN_NPM",r[r.NONE=20]="NONE",r[r.SRC_OVER=0]="SRC_OVER",r[r.SRC_IN=21]="SRC_IN",r[r.SRC_OUT=22]="SRC_OUT",r[r.SRC_ATOP=23]="SRC_ATOP",r[r.DST_OVER=24]="DST_OVER",r[r.DST_IN=25]="DST_IN",r[r.DST_OUT=26]="DST_OUT",r[r.DST_ATOP=27]="DST_ATOP",r[r.ERASE=26]="ERASE",r[r.SUBTRACT=28]="SUBTRACT",r[r.XOR=29]="XOR"})(or||(or={}));var hr;(function(r){r[r.POINTS=0]="POINTS",r[r.LINES=1]="LINES",r[r.LINE_LOOP=2]="LINE_LOOP",r[r.LINE_STRIP=3]="LINE_STRIP",r[r.TRIANGLES=4]="TRIANGLES",r[r.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",r[r.TRIANGLE_FAN=6]="TRIANGLE_FAN"})(hr||(hr={}));var ur;(function(r){r[r.RGBA=6408]="RGBA",r[r.RGB=6407]="RGB",r[r.RG=33319]="RG",r[r.RED=6403]="RED",r[r.RGBA_INTEGER=36249]="RGBA_INTEGER",r[r.RGB_INTEGER=36248]="RGB_INTEGER",r[r.RG_INTEGER=33320]="RG_INTEGER",r[r.RED_INTEGER=36244]="RED_INTEGER",r[r.ALPHA=6406]="ALPHA",r[r.LUMINANCE=6409]="LUMINANCE",r[r.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",r[r.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",r[r.DEPTH_STENCIL=34041]="DEPTH_STENCIL"})(ur||(ur={}));var lr;(function(r){r[r.TEXTURE_2D=3553]="TEXTURE_2D",r[r.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",r[r.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",r[r.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",r[r.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",r[r.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",r[r.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",r[r.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",r[r.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"})(lr||(lr={}));var fr;(function(r){r[r.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",r[r.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",r[r.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",r[r.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",r[r.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",r[r.UNSIGNED_INT=5125]="UNSIGNED_INT",r[r.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",r[r.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",r[r.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",r[r.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",r[r.BYTE=5120]="BYTE",r[r.SHORT=5122]="SHORT",r[r.INT=5124]="INT",r[r.FLOAT=5126]="FLOAT",r[r.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",r[r.HALF_FLOAT=36193]="HALF_FLOAT"})(fr||(fr={}));var cr;(function(r){r[r.FLOAT=0]="FLOAT",r[r.INT=1]="INT",r[r.UINT=2]="UINT"})(cr||(cr={}));var le;(function(r){r[r.NEAREST=0]="NEAREST",r[r.LINEAR=1]="LINEAR"})(le||(le={}));var fe;(function(r){r[r.CLAMP=33071]="CLAMP",r[r.REPEAT=10497]="REPEAT",r[r.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"})(fe||(fe={}));var ce;(function(r){r[r.OFF=0]="OFF",r[r.POW2=1]="POW2",r[r.ON=2]="ON",r[r.ON_MANUAL=3]="ON_MANUAL"})(ce||(ce={}));var dr;(function(r){r[r.NPM=0]="NPM",r[r.UNPACK=1]="UNPACK",r[r.PMA=2]="PMA",r[r.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",r[r.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",r[r.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA",r[r.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA"})(dr||(dr={}));var pr;(function(r){r[r.NO=0]="NO",r[r.YES=1]="YES",r[r.AUTO=2]="AUTO",r[r.BLEND=0]="BLEND",r[r.CLEAR=1]="CLEAR",r[r.BLIT=2]="BLIT"})(pr||(pr={}));var de;(function(r){r[r.AUTO=0]="AUTO",r[r.MANUAL=1]="MANUAL"})(de||(de={}));var xt;(function(r){r.LOW="lowp",r.MEDIUM="mediump",r.HIGH="highp"})(xt||(xt={}));var vr;(function(r){r[r.NONE=0]="NONE",r[r.SCISSOR=1]="SCISSOR",r[r.STENCIL=2]="STENCIL",r[r.SPRITE=3]="SPRITE"})(vr||(vr={}));var pe;(function(r){r[r.NONE=0]="NONE",r[r.LOW=2]="LOW",r[r.MEDIUM=4]="MEDIUM",r[r.HIGH=8]="HIGH"})(pe||(pe={}));var mr;(function(r){r[r.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",r[r.ARRAY_BUFFER=34962]="ARRAY_BUFFER",r[r.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"})(mr||(mr={}));var x={MIPMAP_TEXTURES:ce.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:pe.NONE,SPRITE_MAX_TEXTURES:Ei(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:de.AUTO,GC_MAX_IDLE:60*60,GC_MAX_CHECK_COUNT:60*10,WRAP_MODE:fe.CLAMP,SCALE_MODE:le.LINEAR,PRECISION_VERTEX:xt.HIGH,PRECISION_FRAGMENT:ut.apple.device?xt.HIGH:xt.MEDIUM,CAN_UPLOAD_SAME_BUFFER:wi(),CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};/*! + * @pixi/constants - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/constants is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */var Z;(function(r){r[r.WEBGL_LEGACY=0]="WEBGL_LEGACY",r[r.WEBGL=1]="WEBGL",r[r.WEBGL2=2]="WEBGL2"})(Z||(Z={}));var Tt;(function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.WEBGL=1]="WEBGL",r[r.CANVAS=2]="CANVAS"})(Tt||(Tt={}));var Xt;(function(r){r[r.COLOR=16384]="COLOR",r[r.DEPTH=256]="DEPTH",r[r.STENCIL=1024]="STENCIL"})(Xt||(Xt={}));var g;(function(r){r[r.NORMAL=0]="NORMAL",r[r.ADD=1]="ADD",r[r.MULTIPLY=2]="MULTIPLY",r[r.SCREEN=3]="SCREEN",r[r.OVERLAY=4]="OVERLAY",r[r.DARKEN=5]="DARKEN",r[r.LIGHTEN=6]="LIGHTEN",r[r.COLOR_DODGE=7]="COLOR_DODGE",r[r.COLOR_BURN=8]="COLOR_BURN",r[r.HARD_LIGHT=9]="HARD_LIGHT",r[r.SOFT_LIGHT=10]="SOFT_LIGHT",r[r.DIFFERENCE=11]="DIFFERENCE",r[r.EXCLUSION=12]="EXCLUSION",r[r.HUE=13]="HUE",r[r.SATURATION=14]="SATURATION",r[r.COLOR=15]="COLOR",r[r.LUMINOSITY=16]="LUMINOSITY",r[r.NORMAL_NPM=17]="NORMAL_NPM",r[r.ADD_NPM=18]="ADD_NPM",r[r.SCREEN_NPM=19]="SCREEN_NPM",r[r.NONE=20]="NONE",r[r.SRC_OVER=0]="SRC_OVER",r[r.SRC_IN=21]="SRC_IN",r[r.SRC_OUT=22]="SRC_OUT",r[r.SRC_ATOP=23]="SRC_ATOP",r[r.DST_OVER=24]="DST_OVER",r[r.DST_IN=25]="DST_IN",r[r.DST_OUT=26]="DST_OUT",r[r.DST_ATOP=27]="DST_ATOP",r[r.ERASE=26]="ERASE",r[r.SUBTRACT=28]="SUBTRACT",r[r.XOR=29]="XOR"})(g||(g={}));var bt;(function(r){r[r.POINTS=0]="POINTS",r[r.LINES=1]="LINES",r[r.LINE_LOOP=2]="LINE_LOOP",r[r.LINE_STRIP=3]="LINE_STRIP",r[r.TRIANGLES=4]="TRIANGLES",r[r.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",r[r.TRIANGLE_FAN=6]="TRIANGLE_FAN"})(bt||(bt={}));var _;(function(r){r[r.RGBA=6408]="RGBA",r[r.RGB=6407]="RGB",r[r.RG=33319]="RG",r[r.RED=6403]="RED",r[r.RGBA_INTEGER=36249]="RGBA_INTEGER",r[r.RGB_INTEGER=36248]="RGB_INTEGER",r[r.RG_INTEGER=33320]="RG_INTEGER",r[r.RED_INTEGER=36244]="RED_INTEGER",r[r.ALPHA=6406]="ALPHA",r[r.LUMINANCE=6409]="LUMINANCE",r[r.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",r[r.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",r[r.DEPTH_STENCIL=34041]="DEPTH_STENCIL"})(_||(_={}));var lt;(function(r){r[r.TEXTURE_2D=3553]="TEXTURE_2D",r[r.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",r[r.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",r[r.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",r[r.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",r[r.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",r[r.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",r[r.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",r[r.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"})(lt||(lt={}));var I;(function(r){r[r.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",r[r.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",r[r.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",r[r.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",r[r.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",r[r.UNSIGNED_INT=5125]="UNSIGNED_INT",r[r.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",r[r.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",r[r.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",r[r.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",r[r.BYTE=5120]="BYTE",r[r.SHORT=5122]="SHORT",r[r.INT=5124]="INT",r[r.FLOAT=5126]="FLOAT",r[r.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",r[r.HALF_FLOAT=36193]="HALF_FLOAT"})(I||(I={}));var Ht;(function(r){r[r.FLOAT=0]="FLOAT",r[r.INT=1]="INT",r[r.UINT=2]="UINT"})(Ht||(Ht={}));var q;(function(r){r[r.NEAREST=0]="NEAREST",r[r.LINEAR=1]="LINEAR"})(q||(q={}));var ve;(function(r){r[r.CLAMP=33071]="CLAMP",r[r.REPEAT=10497]="REPEAT",r[r.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"})(ve||(ve={}));var ft;(function(r){r[r.OFF=0]="OFF",r[r.POW2=1]="POW2",r[r.ON=2]="ON",r[r.ON_MANUAL=3]="ON_MANUAL"})(ft||(ft={}));var Q;(function(r){r[r.NPM=0]="NPM",r[r.UNPACK=1]="UNPACK",r[r.PMA=2]="PMA",r[r.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",r[r.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",r[r.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA",r[r.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA"})(Q||(Q={}));var J;(function(r){r[r.NO=0]="NO",r[r.YES=1]="YES",r[r.AUTO=2]="AUTO",r[r.BLEND=0]="BLEND",r[r.CLEAR=1]="CLEAR",r[r.BLIT=2]="BLIT"})(J||(J={}));var me;(function(r){r[r.AUTO=0]="AUTO",r[r.MANUAL=1]="MANUAL"})(me||(me={}));var D;(function(r){r.LOW="lowp",r.MEDIUM="mediump",r.HIGH="highp"})(D||(D={}));var O;(function(r){r[r.NONE=0]="NONE",r[r.SCISSOR=1]="SCISSOR",r[r.STENCIL=2]="STENCIL",r[r.SPRITE=3]="SPRITE"})(O||(O={}));var F;(function(r){r[r.NONE=0]="NONE",r[r.LOW=2]="LOW",r[r.MEDIUM=4]="MEDIUM",r[r.HIGH=8]="HIGH"})(F||(F={}));var W;(function(r){r[r.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",r[r.ARRAY_BUFFER=34962]="ARRAY_BUFFER",r[r.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"})(W||(W={}));/*! + * @pixi/utils - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/utils is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */var Ni={parse:bi,format:Ii,resolve:Ri};x.RETINA_PREFIX=/@([0-9\.]+)x/;x.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var _r=!1,yr="6.4.2";function Ci(r){var t;if(!_r){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var e=[` + %c %c %c PixiJS `+yr+" - \u2730 "+r+` \u2730 %c %c http://www.pixijs.com/ %c %c \u2665%c\u2665%c\u2665 + +`,"background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];(t=globalThis.console).log.apply(t,e)}else globalThis.console&&globalThis.console.log("PixiJS "+yr+" - "+r+" - http://www.pixijs.com/");_r=!0}}var Yt;function Ai(){return typeof Yt=="undefined"&&(Yt=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:x.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!globalThis.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),i=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),n=!!(i&&i.getContextAttributes().stencil);if(i){var s=i.getExtension("WEBGL_lose_context");s&&s.loseContext()}return i=null,n}catch{return!1}}()),Yt}function Pi(r,t){return t===void 0&&(t=[]),t[0]=(r>>16&255)/255,t[1]=(r>>8&255)/255,t[2]=(r&255)/255,t}function Ui(r){var t=r.toString(16);return t="000000".substring(0,6-t.length)+t,"#"+t}function Fi(){for(var r=[],t=[],e=0;e<32;e++)r[e]=e,t[e]=e;r[g.NORMAL_NPM]=g.NORMAL,r[g.ADD_NPM]=g.ADD,r[g.SCREEN_NPM]=g.SCREEN,t[g.NORMAL]=g.NORMAL_NPM,t[g.ADD]=g.ADD_NPM,t[g.SCREEN]=g.SCREEN_NPM;var i=[];return i.push(t),i.push(r),i}var Li=Fi();function Oi(r,t){if(t===1)return(t*255<<24)+r;if(t===0)return 0;var e=r>>16&255,i=r>>8&255,n=r&255;return e=e*t+.5|0,i=i*t+.5|0,n=n*t+.5|0,(t*255<<24)+(e<<16)+(i<<8)+n}function ti(r){if(r.BYTES_PER_ELEMENT===4)return r instanceof Float32Array?"Float32Array":r instanceof Uint32Array?"Uint32Array":"Int32Array";if(r.BYTES_PER_ELEMENT===2){if(r instanceof Uint16Array)return"Uint16Array"}else if(r.BYTES_PER_ELEMENT===1&&r instanceof Uint8Array)return"Uint8Array";return null}function Vt(r){return r+=r===0?1:0,--r,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r+1}function gr(r){return!(r&r-1)&&!!r}function xr(r){var t=(r>65535?1:0)<<4;r>>>=t;var e=(r>255?1:0)<<3;return r>>>=e,t|=e,e=(r>15?1:0)<<2,r>>>=e,t|=e,e=(r>3?1:0)<<1,r>>>=e,t|=e,t|r>>1}function kt(r,t,e){var i=r.length,n;if(!(t>=i||e===0)){e=t+e>i?i-t:e;var s=i-e;for(n=t;n8)throw new Error("max arguments reached");var u=this,l=u.name,f=u.items;this._aliasCount++;for(var c=0,d=f.length;c0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))},r.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},r.prototype.remove=function(t){var e=this.items.indexOf(t);return e!==-1&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},r.prototype.contains=function(t){return this.items.indexOf(t)!==-1},r.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},r.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Object.defineProperty(r.prototype,"empty",{get:function(){return this.items.length===0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),r}();Object.defineProperties(S.prototype,{dispatch:{value:S.prototype.emit},run:{value:S.prototype.emit}});/*! + * @pixi/ticker - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/ticker is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */x.TARGET_FPMS=.06;var jt;(function(r){r[r.INTERACTION=50]="INTERACTION",r[r.HIGH=25]="HIGH",r[r.NORMAL=0]="NORMAL",r[r.LOW=-25]="LOW",r[r.UTILITY=-50]="UTILITY"})(jt||(jt={}));var Kt=function(){function r(t,e,i,n){e===void 0&&(e=null),i===void 0&&(i=0),n===void 0&&(n=!1),this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=i,this.once=n}return r.prototype.match=function(t,e){return e===void 0&&(e=null),this.fn===t&&this.context===e},r.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},r.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},r.prototype.destroy=function(t){t===void 0&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},r}(),nt=function(){function r(){var t=this;this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new Kt(null,null,1/0),this.deltaMS=1/x.TARGET_FPMS,this.elapsedMS=1/x.TARGET_FPMS,this._tick=function(e){t._requestId=null,t.started&&(t.update(e),t.started&&t._requestId===null&&t._head.next&&(t._requestId=requestAnimationFrame(t._tick)))}}return r.prototype._requestIfNeeded=function(){this._requestId===null&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},r.prototype._cancelIfNeeded=function(){this._requestId!==null&&(cancelAnimationFrame(this._requestId),this._requestId=null)},r.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},r.prototype.add=function(t,e,i){return i===void 0&&(i=jt.NORMAL),this._addListener(new Kt(t,e,i))},r.prototype.addOnce=function(t,e,i){return i===void 0&&(i=jt.NORMAL),this._addListener(new Kt(t,e,i,!0))},r.prototype._addListener=function(t){var e=this._head.next,i=this._head;if(!e)t.connect(i);else{for(;e;){if(t.priority>e.priority){t.connect(i);break}i=e,e=e.next}t.previous||t.connect(i)}return this._startIfPossible(),this},r.prototype.remove=function(t,e){for(var i=this._head.next;i;)i.match(t,e)?i=i.destroy():i=i.next;return this._head.next||this._cancelIfNeeded(),this},Object.defineProperty(r.prototype,"count",{get:function(){if(!this._head)return 0;for(var t=0,e=this._head;e=e.next;)t++;return t},enumerable:!1,configurable:!0}),r.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},r.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},r.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},r.prototype.update=function(t){t===void 0&&(t=performance.now());var e;if(t>this.lastTime){if(e=this.elapsedMS=t-this.lastTime,e>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var i=t-this._lastFrame|0;if(i=this.x&&t=this.y&&et.right?t.right:this.right;if(n<=i)return!1;var s=this.yt.bottom?t.bottom:this.bottom;return a>s}var o=this.left,h=this.right,u=this.top,l=this.bottom;if(h<=o||l<=u)return!1;var f=Pt[0].set(t.left,t.top),c=Pt[1].set(t.left,t.bottom),d=Pt[2].set(t.right,t.top),p=Pt[3].set(t.right,t.bottom);if(d.x<=f.x||c.y<=f.y)return!1;var m=Math.sign(e.a*e.d-e.b*e.c);if(m===0||(e.apply(f,f),e.apply(c,c),e.apply(d,d),e.apply(p,p),Math.max(f.x,c.x,d.x,p.x)<=o||Math.min(f.x,c.x,d.x,p.x)>=h||Math.max(f.y,c.y,d.y,p.y)<=u||Math.min(f.y,c.y,d.y,p.y)>=l))return!1;var v=m*(c.y-f.y),y=m*(f.x-c.x),R=v*o+y*u,C=v*h+y*u,M=v*o+y*l,k=v*h+y*l;if(Math.max(R,C,M,k)<=v*f.x+y*f.y||Math.min(R,C,M,k)>=v*p.x+y*p.y)return!1;var B=m*(f.y-d.y),T=m*(d.x-f.x),b=B*o+T*u,G=B*h+T*u,rr=B*o+T*l,ir=B*h+T*l;return!(Math.max(b,G,rr,ir)<=B*f.x+T*f.y||Math.min(b,G,rr,ir)>=B*p.x+T*p.y)},r.prototype.pad=function(t,e){return t===void 0&&(t=0),e===void 0&&(e=t),this.x-=t,this.y-=e,this.width+=t*2,this.height+=e*2,this},r.prototype.fit=function(t){var e=Math.max(this.x,t.x),i=Math.min(this.x+this.width,t.x+t.width),n=Math.max(this.y,t.y),s=Math.min(this.y+this.height,t.y+t.height);return this.x=e,this.width=Math.max(i-e,0),this.y=n,this.height=Math.max(s-n,0),this},r.prototype.ceil=function(t,e){t===void 0&&(t=1),e===void 0&&(e=.001);var i=Math.ceil((this.x+this.width-e)*t)/t,n=Math.ceil((this.y+this.height-e)*t)/t;return this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=i-this.x,this.height=n-this.y,this},r.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),i=Math.max(this.x+this.width,t.x+t.width),n=Math.min(this.y,t.y),s=Math.max(this.y+this.height,t.y+t.height);return this.x=e,this.width=i-e,this.y=n,this.height=s-n,this},r.prototype.toString=function(){return"[@pixi/math:Rectangle x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+"]"},r}(),gt=function(){function r(t,e,i,n){i===void 0&&(i=0),n===void 0&&(n=0),this._x=i,this._y=n,this.cb=t,this.scope=e}return r.prototype.clone=function(t,e){return t===void 0&&(t=this.cb),e===void 0&&(e=this.scope),new r(t,e,this._x,this._y)},r.prototype.set=function(t,e){return t===void 0&&(t=0),e===void 0&&(e=t),(this._x!==t||this._y!==e)&&(this._x=t,this._y=e,this.cb.call(this.scope)),this},r.prototype.copyFrom=function(t){return(this._x!==t.x||this._y!==t.y)&&(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},r.prototype.copyTo=function(t){return t.set(this._x,this._y),t},r.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},r.prototype.toString=function(){return"[@pixi/math:ObservablePoint x="+0+" y="+0+" scope="+this.scope+"]"},Object.defineProperty(r.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),r}(),H=function(){function r(t,e,i,n,s,a){t===void 0&&(t=1),e===void 0&&(e=0),i===void 0&&(i=0),n===void 0&&(n=1),s===void 0&&(s=0),a===void 0&&(a=0),this.array=null,this.a=t,this.b=e,this.c=i,this.d=n,this.tx=s,this.ty=a}return r.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},r.prototype.set=function(t,e,i,n,s,a){return this.a=t,this.b=e,this.c=i,this.d=n,this.tx=s,this.ty=a,this},r.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var i=e||this.array;return t?(i[0]=this.a,i[1]=this.b,i[2]=0,i[3]=this.c,i[4]=this.d,i[5]=0,i[6]=this.tx,i[7]=this.ty,i[8]=1):(i[0]=this.a,i[1]=this.c,i[2]=this.tx,i[3]=this.b,i[4]=this.d,i[5]=this.ty,i[6]=0,i[7]=0,i[8]=1),i},r.prototype.apply=function(t,e){e=e||new P;var i=t.x,n=t.y;return e.x=this.a*i+this.c*n+this.tx,e.y=this.b*i+this.d*n+this.ty,e},r.prototype.applyInverse=function(t,e){e=e||new P;var i=1/(this.a*this.d+this.c*-this.b),n=t.x,s=t.y;return e.x=this.d*i*n+-this.c*i*s+(this.ty*this.c-this.tx*this.d)*i,e.y=this.a*i*s+-this.b*i*n+(-this.ty*this.a+this.tx*this.b)*i,e},r.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},r.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},r.prototype.rotate=function(t){var e=Math.cos(t),i=Math.sin(t),n=this.a,s=this.c,a=this.tx;return this.a=n*e-this.b*i,this.b=n*i+this.b*e,this.c=s*e-this.d*i,this.d=s*i+this.d*e,this.tx=a*e-this.ty*i,this.ty=a*i+this.ty*e,this},r.prototype.append=function(t){var e=this.a,i=this.b,n=this.c,s=this.d;return this.a=t.a*e+t.b*n,this.b=t.a*i+t.b*s,this.c=t.c*e+t.d*n,this.d=t.c*i+t.d*s,this.tx=t.tx*e+t.ty*n+this.tx,this.ty=t.tx*i+t.ty*s+this.ty,this},r.prototype.setTransform=function(t,e,i,n,s,a,o,h,u){return this.a=Math.cos(o+u)*s,this.b=Math.sin(o+u)*s,this.c=-Math.sin(o-h)*a,this.d=Math.cos(o-h)*a,this.tx=t-(i*this.a+n*this.c),this.ty=e-(i*this.b+n*this.d),this},r.prototype.prepend=function(t){var e=this.tx;if(t.a!==1||t.b!==0||t.c!==0||t.d!==1){var i=this.a,n=this.c;this.a=i*t.a+this.b*t.c,this.b=i*t.b+this.b*t.d,this.c=n*t.a+this.d*t.c,this.d=n*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},r.prototype.decompose=function(t){var e=this.a,i=this.b,n=this.c,s=this.d,a=t.pivot,o=-Math.atan2(-n,s),h=Math.atan2(i,e),u=Math.abs(o+h);return u<1e-5||Math.abs(Bi-u)<1e-5?(t.rotation=h,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=o,t.skew.y=h),t.scale.x=Math.sqrt(e*e+i*i),t.scale.y=Math.sqrt(n*n+s*s),t.position.x=this.tx+(a.x*e+a.y*n),t.position.y=this.ty+(a.x*i+a.y*s),t},r.prototype.invert=function(){var t=this.a,e=this.b,i=this.c,n=this.d,s=this.tx,a=t*n-e*i;return this.a=n/a,this.b=-e/a,this.c=-i/a,this.d=t/a,this.tx=(i*this.ty-n*s)/a,this.ty=-(t*this.ty-e*s)/a,this},r.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},r.prototype.clone=function(){var t=new r;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},r.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},r.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},r.prototype.toString=function(){return"[@pixi/math:Matrix a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.ty+"]"},Object.defineProperty(r,"IDENTITY",{get:function(){return new r},enumerable:!1,configurable:!0}),Object.defineProperty(r,"TEMP_MATRIX",{get:function(){return new r},enumerable:!1,configurable:!0}),r}(),st=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],at=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],ot=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],ht=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],ye=[],ei=[],Ut=Math.sign;function Xi(){for(var r=0;r<16;r++){var t=[];ye.push(t);for(var e=0;e<16;e++)for(var i=Ut(st[r]*st[e]+ot[r]*at[e]),n=Ut(at[r]*st[e]+ht[r]*at[e]),s=Ut(st[r]*ot[e]+ot[r]*ht[e]),a=Ut(at[r]*ot[e]+ht[r]*ht[e]),o=0;o<16;o++)if(st[o]===i&&at[o]===n&&ot[o]===s&&ht[o]===a){t.push(o);break}}for(var r=0;r<16;r++){var h=new H;h.set(st[r],at[r],ot[r],ht[r],0,0),ei.push(h)}}Xi();var A={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(r){return st[r]},uY:function(r){return at[r]},vX:function(r){return ot[r]},vY:function(r){return ht[r]},inv:function(r){return r&8?r&15:-r&7},add:function(r,t){return ye[r][t]},sub:function(r,t){return ye[r][A.inv(t)]},rotate180:function(r){return r^4},isVertical:function(r){return(r&3)===2},byDirection:function(r,t){return Math.abs(r)*2<=Math.abs(t)?t>=0?A.S:A.N:Math.abs(t)*2<=Math.abs(r)?r>0?A.E:A.W:t>0?r>0?A.SE:A.SW:r>0?A.NE:A.NW},matrixAppendRotationInv:function(r,t,e,i){e===void 0&&(e=0),i===void 0&&(i=0);var n=ei[A.inv(t)];n.tx=e,n.ty=i,r.append(n)}},Hi=function(){function r(){this.worldTransform=new H,this.localTransform=new H,this.position=new gt(this.onChange,this,0,0),this.scale=new gt(this.onChange,this,1,1),this.pivot=new gt(this.onChange,this,0,0),this.skew=new gt(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}return r.prototype.onChange=function(){this._localID++},r.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++},r.prototype.toString=function(){return"[@pixi/math:Transform "+("position=("+this.position.x+", "+this.position.y+") ")+("rotation="+this.rotation+" ")+("scale=("+this.scale.x+", "+this.scale.y+") ")+("skew=("+this.skew.x+", "+this.skew.y+") ")+"]"},r.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},r.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var i=t.worldTransform,n=this.worldTransform;n.a=e.a*i.a+e.b*i.c,n.b=e.a*i.b+e.b*i.d,n.c=e.c*i.a+e.d*i.c,n.d=e.c*i.b+e.d*i.d,n.tx=e.tx*i.a+e.ty*i.c+i.tx,n.ty=e.tx*i.b+e.ty*i.d+i.ty,this._parentID=t._worldID,this._worldID++}},r.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Object.defineProperty(r.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},enumerable:!1,configurable:!0}),r.IDENTITY=new r,r}();/*! + * @pixi/core - v6.4.2 + * Compiled Thu, 02 Jun 2022 15:39:26 UTC + * + * @pixi/core is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */x.PREFER_ENV=ut.any?Z.WEBGL:Z.WEBGL2;x.STRICT_TEXTURE_CACHE=!1;var ge=[];function ri(r,t){if(!r)return null;var e="";if(typeof r=="string"){var i=/\.(\w{3,4})(?:$|\?|#)/i.exec(r);i&&(e=i[1].toLowerCase())}for(var n=ge.length-1;n>=0;--n){var s=ge[n];if(s.test&&s.test(r,e))return new s(r,t)}throw new Error("Unrecognized source type to auto-detect Resource")}/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */var xe=function(r,t){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])},xe(r,t)};function N(r,t){xe(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Te=function(){return Te=Object.assign||function(t){for(var e=arguments,i,n=1,s=arguments.length;n0&&l>0,n.textureCacheIds=[],n.destroyed=!1,n.resource=null,n._batchEnabled=0,n._batchLocation=0,n.parentTextureArray=null,n.setResource(e),n}return Object.defineProperty(t.prototype,"realWidth",{get:function(){return Math.round(this.width*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"realHeight",{get:function(){return Math.round(this.height*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mipmap",{get:function(){return this._mipmap},set:function(e){this._mipmap!==e&&(this._mipmap=e,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleMode",{get:function(){return this._scaleMode},set:function(e){this._scaleMode!==e&&(this._scaleMode=e,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrapMode",{get:function(){return this._wrapMode},set:function(e){this._wrapMode!==e&&(this._wrapMode=e,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),t.prototype.setStyle=function(e,i){var n;return e!==void 0&&e!==this.scaleMode&&(this.scaleMode=e,n=!0),i!==void 0&&i!==this.mipmap&&(this.mipmap=i,n=!0),n&&this.dirtyStyleId++,this},t.prototype.setSize=function(e,i,n){return n=n||this.resolution,this.setRealSize(e*n,i*n,n)},t.prototype.setRealSize=function(e,i,n){return this.resolution=n||this.resolution,this.width=Math.round(e)/this.resolution,this.height=Math.round(i)/this.resolution,this._refreshPOT(),this.update(),this},t.prototype._refreshPOT=function(){this.isPowerOfTwo=gr(this.realWidth)&&gr(this.realHeight)},t.prototype.setResolution=function(e){var i=this.resolution;return i===e?this:(this.resolution=e,this.valid&&(this.width=Math.round(this.width*i)/e,this.height=Math.round(this.height*i)/e,this.emit("update",this)),this._refreshPOT(),this)},t.prototype.setResource=function(e){if(this.resource===e)return this;if(this.resource)throw new Error("Resource can be set only once");return e.bind(this),this.resource=e,this},t.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):this.width>0&&this.height>0&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},t.prototype.onError=function(e){this.emit("error",this,e)},t.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete et[this.cacheId],delete $[this.cacheId],this.cacheId=null),this.dispose(),t.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0},t.prototype.dispose=function(){this.emit("dispose",this)},t.prototype.castToBaseTexture=function(){return this},t.from=function(e,i,n){n===void 0&&(n=x.STRICT_TEXTURE_CACHE);var s=typeof e=="string",a=null;if(s)a=e;else{if(!e._pixiId){var o=i&&i.pixiIdPrefix||"pixiid";e._pixiId=o+"_"+It()}a=e._pixiId}var h=et[a];if(s&&n&&!h)throw new Error('The cacheId "'+a+'" does not exist in BaseTextureCache.');return h||(h=new t(e,i),h.cacheId=a,t.addToCache(h,a)),h},t.fromBuffer=function(e,i,n,s){e=e||new Float32Array(i*n*4);var a=new Ne(e,{width:i,height:n}),o=e instanceof Float32Array?I.FLOAT:I.UNSIGNED_BYTE;return new t(a,Object.assign(ji,s||{width:i,height:n,type:o}))},t.addToCache=function(e,i){i&&(e.textureCacheIds.indexOf(i)===-1&&e.textureCacheIds.push(i),et[i]&&console.warn("BaseTexture added to the cache with an id ["+i+"] that already had an entry"),et[i]=e)},t.removeFromCache=function(e){if(typeof e=="string"){var i=et[e];if(i){var n=i.textureCacheIds.indexOf(e);return n>-1&&i.textureCacheIds.splice(n,1),delete et[e],i}}else if(e&&e.textureCacheIds){for(var s=0;s0)if(e.resource)this.addResourceAt(e.resource,i);else throw new Error("CubeResource does not support copying of renderTexture.");else e.target=lt.TEXTURE_CUBE_MAP_POSITIVE_X+i,e.parentTextureArray=this.baseTexture,this.items[i]=e;return e.valid&&!this.valid&&this.resize(e.realWidth,e.realHeight),this.items[i]=e,this},t.prototype.upload=function(e,i,n){for(var s=this.itemDirtyIds,a=0;a)?\s*()]*-->)?\s*\]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,t}(tt),$i=function(r){N(t,r);function t(e,i){var n=this;if(i=i||{},!(e instanceof HTMLVideoElement)){var s=document.createElement("video");s.setAttribute("preload","auto"),s.setAttribute("webkit-playsinline",""),s.setAttribute("playsinline",""),typeof e=="string"&&(e=[e]);var a=e[0].src||e[0];tt.crossOrigin(s,a,i.crossorigin);for(var o=0;o0&&e.paused===!1&&e.ended===!1&&e.readyState>2},t.prototype._isSourceReady=function(){var e=this.source;return e.readyState===3||e.readyState===4},t.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),this.autoUpdate&&!this._isConnectedToTicker&&(nt.shared.add(this.update,this),this._isConnectedToTicker=!0)},t.prototype._onPlayStop=function(){this._isConnectedToTicker&&(nt.shared.remove(this.update,this),this._isConnectedToTicker=!1)},t.prototype._onCanPlay=function(){var e=this.source;e.removeEventListener("canplay",this._onCanPlay),e.removeEventListener("canplaythrough",this._onCanPlay);var i=this.valid;this.resize(e.videoWidth,e.videoHeight),!i&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&e.play()},t.prototype.dispose=function(){this._isConnectedToTicker&&(nt.shared.remove(this.update,this),this._isConnectedToTicker=!1);var e=this.source;e&&(e.removeEventListener("error",this._onError,!0),e.pause(),e.src="",e.load()),r.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(e){e!==this._autoUpdate&&(this._autoUpdate=e,!this._autoUpdate&&this._isConnectedToTicker?(nt.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._isSourcePlaying()&&(nt.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updateFPS",{get:function(){return this._updateFPS},set:function(e){e!==this._updateFPS&&(this._updateFPS=e)},enumerable:!1,configurable:!0}),t.test=function(e,i){return globalThis.HTMLVideoElement&&e instanceof HTMLVideoElement||t.TYPES.indexOf(i)>-1},t.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"],t.MIME_TYPES={ogv:"video/ogg",mov:"video/quicktime",m4v:"video/mp4"},t}(tt),qi=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.test=function(e){return!!globalThis.createImageBitmap&&e instanceof ImageBitmap},t}(tt);ge.push(si,qi,ni,$i,Wi,Ne,zi,Di);var Yi=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.upload=function(e,i,n){var s=e.gl;s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL,i.alphaMode===Q.UNPACK);var a=i.realWidth,o=i.realHeight;return n.width===a&&n.height===o?s.texSubImage2D(i.target,0,0,0,a,o,i.format,n.type,this.data):(n.width=a,n.height=o,s.texImage2D(i.target,0,n.internalFormat,a,o,0,i.format,n.type,this.data)),!0},t}(Ne),be=function(){function r(t,e){this.width=Math.round(t||100),this.height=Math.round(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new S("disposeFramebuffer"),this.multisample=F.NONE}return Object.defineProperty(r.prototype,"colorTexture",{get:function(){return this.colorTextures[0]},enumerable:!1,configurable:!0}),r.prototype.addColorTexture=function(t,e){return t===void 0&&(t=0),this.colorTextures[t]=e||new L(null,{scaleMode:q.NEAREST,resolution:1,mipmap:ft.OFF,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},r.prototype.addDepthTexture=function(t){return this.depthTexture=t||new L(new Yi(null,{width:this.width,height:this.height}),{scaleMode:q.NEAREST,resolution:1,width:this.width,height:this.height,mipmap:ft.OFF,format:_.DEPTH_COMPONENT,type:I.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},r.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},r.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},r.prototype.resize=function(t,e){if(t=Math.round(t),e=Math.round(e),!(t===this.width&&e===this.height)){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var i=0;i-1&&i.textureCacheIds.splice(n,1),delete $[e],i}}else if(e&&e.textureCacheIds){for(var s=0;sthis.baseTexture.width,h=n+a>this.baseTexture.height;if(o||h){var u=o&&h?"and":"or",l="X: "+i+" + "+s+" = "+(i+s)+" > "+this.baseTexture.width,f="Y: "+n+" + "+a+" = "+(n+a)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+(l+" "+u+" "+f))}this.valid=s&&a&&this.baseTexture.valid,!this.trim&&!this.rotate&&(this.orig=e),this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rotate",{get:function(){return this._rotate},set:function(e){this._rotate=e,this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.orig.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.orig.height},enumerable:!1,configurable:!0}),t.prototype.castToBaseTexture=function(){return this.baseTexture},Object.defineProperty(t,"EMPTY",{get:function(){return t._EMPTY||(t._EMPTY=new t(new L),Ft(t._EMPTY),Ft(t._EMPTY.baseTexture)),t._EMPTY},enumerable:!1,configurable:!0}),Object.defineProperty(t,"WHITE",{get:function(){if(!t._WHITE){var e=document.createElement("canvas"),i=e.getContext("2d");e.width=16,e.height=16,i.fillStyle="white",i.fillRect(0,0,16,16),t._WHITE=new t(new L(new ni(e))),Ft(t._WHITE),Ft(t._WHITE.baseTexture)}return t._WHITE},enumerable:!1,configurable:!0}),t}(Wt),Ce=function(r){N(t,r);function t(e,i){var n=r.call(this,e,i)||this;return n.valid=!0,n.filterFrame=null,n.filterPoolKey=null,n.updateUvs(),n}return Object.defineProperty(t.prototype,"framebuffer",{get:function(){return this.baseTexture.framebuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"multisample",{get:function(){return this.framebuffer.multisample},set:function(e){this.framebuffer.multisample=e},enumerable:!1,configurable:!0}),t.prototype.resize=function(e,i,n){n===void 0&&(n=!0);var s=this.baseTexture.resolution,a=Math.round(e*s)/s,o=Math.round(i*s)/s;this.valid=a>0&&o>0,this._frame.width=this.orig.width=a,this._frame.height=this.orig.height=o,n&&this.baseTexture.resize(a,o),this.updateUvs()},t.prototype.setResolution=function(e){var i=this.baseTexture;i.resolution!==e&&(i.setResolution(e),this.resize(i.width,i.height,!1))},t.create=function(e){for(var i=arguments,n=[],s=1;s>>0,n>1&&(s+=n*4294967296)):s=n>1?-n:-1,this.texturePool[s]||(this.texturePool[s]=[]);var a=this.texturePool[s].pop();return a||(a=this.createTexture(t,e,n)),a.filterPoolKey=s,a.setResolution(i),a},r.prototype.getFilterTexture=function(t,e,i){var n=this.getOptimalTexture(t.width,t.height,e||t.resolution,i||F.NONE);return n.filterFrame=t.filterFrame,n},r.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},r.prototype.returnFilterTexture=function(t){this.returnTexture(t)},r.prototype.clear=function(t){if(t=t!==!1,t)for(var e in this.texturePool){var i=this.texturePool[e];if(i)for(var n=0;n0&&t.height>0;for(var e in this.texturePool)if(Number(e)<0){var i=this.texturePool[e];if(i)for(var n=0;n1){for(var l=0;l1&&(f=this.getOptimalFilterTexture(l.width,l.height,e.resolution),f.filterFrame=l.filterFrame),i[c].apply(this,l,f,J.CLEAR,e);var d=l;l=f,f=d}i[c].apply(this,l,u.renderTexture,J.BLEND,e),c>1&&e.multisample>1&&this.returnFilterTexture(e.renderTexture),this.returnFilterTexture(l),this.returnFilterTexture(f)}e.clear(),this.statePool.push(e)},r.prototype.bindAndClear=function(t,e){e===void 0&&(e=J.CLEAR);var i=this.renderer,n=i.renderTexture,s=i.state;if(t===this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?this.renderer.projection.transform=this.activeState.transform:this.renderer.projection.transform=null,t&&t.filterFrame){var a=this.tempRect;a.x=0,a.y=0,a.width=t.filterFrame.width,a.height=t.filterFrame.height,n.bind(t,t.filterFrame,a)}else t!==this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?n.bind(t):this.renderer.renderTexture.bind(t,this.activeState.bindingSourceFrame,this.activeState.bindingDestinationFrame);var o=s.stateId&1||this.forceClear;(e===J.CLEAR||e===J.BLIT&&o)&&this.renderer.framebuffer.clear(0,0,0,0)},r.prototype.applyFilter=function(t,e,i,n){var s=this.renderer;s.state.set(t.state),this.bindAndClear(i,n),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,s.shader.bind(t),t.legacy=!!t.program.attributeData.aTextureCoord,t.legacy?(this.quadUv.map(e._frame,e.filterFrame),s.geometry.bind(this.quadUv),s.geometry.draw(bt.TRIANGLES)):(s.geometry.bind(this.quad),s.geometry.draw(bt.TRIANGLE_STRIP))},r.prototype.calculateSpriteMatrix=function(t,e){var i=this.activeState,n=i.sourceFrame,s=i.destinationFrame,a=e._texture.orig,o=t.set(s.width,0,0,s.height,n.x,n.y),h=e.worldTransform.copyTo(H.TEMP_MATRIX);return h.invert(),o.prepend(h),o.scale(1/a.width,1/a.height),o.translate(e.anchor.x,e.anchor.y),o},r.prototype.destroy=function(){this.renderer=null,this.texturePool.clear(!1)},r.prototype.getOptimalFilterTexture=function(t,e,i,n){return i===void 0&&(i=1),n===void 0&&(n=F.NONE),this.texturePool.getOptimalTexture(t,e,i,n)},r.prototype.getFilterTexture=function(t,e,i){if(typeof t=="number"){var n=t;t=e,e=n}t=t||this.activeState.renderTexture;var s=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution,i||F.NONE);return s.filterFrame=t.filterFrame,s},r.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},r.prototype.emptyPool=function(){this.texturePool.clear(!0)},r.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view)},r.prototype.transformAABB=function(t,e){var i=Lt[0],n=Lt[1],s=Lt[2],a=Lt[3];i.set(e.left,e.top),n.set(e.left,e.bottom),s.set(e.right,e.top),a.set(e.right,e.bottom),t.apply(i,i),t.apply(n,n),t.apply(s,s),t.apply(a,a);var o=Math.min(i.x,n.x,s.x,a.x),h=Math.min(i.y,n.y,s.y,a.y),u=Math.max(i.x,n.x,s.x,a.x),l=Math.max(i.y,n.y,s.y,a.y);e.x=o,e.y=h,e.width=u-o,e.height=l-h},r.prototype.roundFrame=function(t,e,i,n,s){if(!(t.width<=0||t.height<=0||i.width<=0||i.height<=0)){if(s){var a=s.a,o=s.b,h=s.c,u=s.d;if((Math.abs(o)>1e-4||Math.abs(h)>1e-4)&&(Math.abs(a)>1e-4||Math.abs(u)>1e-4))return}s=s?Zt.copyFrom(s):Zt.identity(),s.translate(-i.x,-i.y).scale(n.width/i.width,n.height/i.height).translate(n.x,n.y),this.transformAABB(s,t),t.ceil(e),this.transformAABB(s.invert(),t)}},r}(),hi=function(){function r(t){this.renderer=t}return r.prototype.flush=function(){},r.prototype.destroy=function(){this.renderer=null},r.prototype.start=function(){},r.prototype.stop=function(){this.flush()},r.prototype.render=function(t){},r}(),hn=function(){function r(t){this.renderer=t,this.emptyRenderer=new hi(t),this.currentRenderer=this.emptyRenderer}return r.prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},r.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},r.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},r.prototype.copyBoundTextures=function(t,e){for(var i=this.renderer.texture.boundTextures,n=e-1;n>=0;--n)t[n]=i[n]||null,t[n]&&(t[n]._batchLocation=n)},r.prototype.boundArray=function(t,e,i,n){for(var s=t.elements,a=t.ids,o=t.count,h=0,u=0;u=0&&f=Z.WEBGL2&&(i=t.getContext("webgl2",e)),i)this.webGLVersion=2;else if(this.webGLVersion=1,i=t.getContext("webgl",e)||t.getContext("experimental-webgl",e),!i)throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=i,this.getExtensions(),this.gl},r.prototype.getExtensions=function(){var t=this.gl,e={anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),s3tc:t.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:t.getExtension("WEBGL_compressed_texture_etc"),etc1:t.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:t.getExtension("WEBGL_compressed_texture_atc"),astc:t.getExtension("WEBGL_compressed_texture_astc")};this.webGLVersion===1?Object.assign(this.extensions,e,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):this.webGLVersion===2&&Object.assign(this.extensions,e,{colorBufferFloat:t.getExtension("EXT_color_buffer_float")})},r.prototype.handleContextLost=function(t){t.preventDefault()},r.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.emit(this.gl)},r.prototype.destroy=function(){var t=this.renderer.view;this.renderer=null,t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},r.prototype.postrender=function(){this.renderer.renderingToScreen&&this.gl.flush()},r.prototype.validateContext=function(t){var e=t.getContextAttributes(),i="WebGL2RenderingContext"in globalThis&&t instanceof globalThis.WebGL2RenderingContext;i&&(this.webGLVersion=2),e&&!e.stencil&&console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly");var n=i||!!t.getExtension("OES_element_index_uint");this.supports.uint32Indices=n,n||console.warn("Provided WebGL context does not support 32 index buffer, complex graphics may not render correctly")},r}(),ln=function(){function r(t){this.framebuffer=t,this.stencil=null,this.dirtyId=-1,this.dirtyFormat=-1,this.dirtySize=-1,this.multisample=F.NONE,this.msaaBuffer=null,this.blitFramebuffer=null,this.mipLevel=0}return r}(),fn=new U,cn=function(){function r(t){this.renderer=t,this.managedFramebuffers=[],this.unknownFramebuffer=new be(10,10),this.msaaSamples=null}return r.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new U,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),this.renderer.context.webGLVersion===1){var e=this.renderer.context.extensions.drawBuffers,i=this.renderer.context.extensions.depthTexture;x.PREFER_ENV===Z.WEBGL_LEGACY&&(e=null,i=null),e?t.drawBuffers=function(n){return e.drawBuffersWEBGL(n)}:(this.hasMRT=!1,t.drawBuffers=function(){}),i||(this.writeDepthTexture=!1)}else this.msaaSamples=t.getInternalformatParameter(t.RENDERBUFFER,t.RGBA8,t.SAMPLES)},r.prototype.bind=function(t,e,i){i===void 0&&(i=0);var n=this.gl;if(t){var s=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,n.bindFramebuffer(n.FRAMEBUFFER,s.framebuffer)),s.mipLevel!==i&&(t.dirtyId++,t.dirtyFormat++,s.mipLevel=i),s.dirtyId!==t.dirtyId&&(s.dirtyId=t.dirtyId,s.dirtyFormat!==t.dirtyFormat?(s.dirtyFormat=t.dirtyFormat,s.dirtySize=t.dirtySize,this.updateFramebuffer(t,i)):s.dirtySize!==t.dirtySize&&(s.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var a=0;a>i,u=e.height>>i,l=h/e.width;this.setViewport(e.x*l,e.y*l,h,u)}else{var h=t.width>>i,u=t.height>>i;this.setViewport(0,0,h,u)}}else this.current&&(this.current=null,n.bindFramebuffer(n.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},r.prototype.setViewport=function(t,e,i,n){var s=this.viewport;t=Math.round(t),e=Math.round(e),i=Math.round(i),n=Math.round(n),(s.width!==i||s.height!==n||s.x!==t||s.y!==e)&&(s.x=t,s.y=e,s.width=i,s.height=n,this.gl.viewport(t,e,i,n))},Object.defineProperty(r.prototype,"size",{get:function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},enumerable:!1,configurable:!0}),r.prototype.clear=function(t,e,i,n,s){s===void 0&&(s=Xt.COLOR|Xt.DEPTH);var a=this.gl;a.clearColor(t,e,i,n),a.clear(s)},r.prototype.initFramebuffer=function(t){var e=this.gl,i=new ln(e.createFramebuffer());return i.multisample=this.detectSamples(t.multisample),t.glFramebuffers[this.CONTEXT_UID]=i,this.managedFramebuffers.push(t),t.disposeRunner.add(this),i},r.prototype.resizeFramebuffer=function(t){var e=this.gl,i=t.glFramebuffers[this.CONTEXT_UID];i.msaaBuffer&&(e.bindRenderbuffer(e.RENDERBUFFER,i.msaaBuffer),e.renderbufferStorageMultisample(e.RENDERBUFFER,i.multisample,e.RGBA8,t.width,t.height)),i.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,i.stencil),i.msaaBuffer?e.renderbufferStorageMultisample(e.RENDERBUFFER,i.multisample,e.DEPTH24_STENCIL8,t.width,t.height):e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));var n=t.colorTextures,s=n.length;e.drawBuffers||(s=Math.min(s,1));for(var a=0;a1&&this.canMultisampleFramebuffer(t)?(n.msaaBuffer=n.msaaBuffer||i.createRenderbuffer(),i.bindRenderbuffer(i.RENDERBUFFER,n.msaaBuffer),i.renderbufferStorageMultisample(i.RENDERBUFFER,n.multisample,i.RGBA8,t.width,t.height),i.framebufferRenderbuffer(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.RENDERBUFFER,n.msaaBuffer)):n.msaaBuffer&&(i.deleteRenderbuffer(n.msaaBuffer),n.msaaBuffer=null,n.blitFramebuffer&&(n.blitFramebuffer.dispose(),n.blitFramebuffer=null));for(var o=[],h=0;h1&&i.drawBuffers(o),t.depthTexture){var f=this.writeDepthTexture;if(f){var c=t.depthTexture;this.renderer.texture.bind(c,0),i.framebufferTexture2D(i.FRAMEBUFFER,i.DEPTH_ATTACHMENT,i.TEXTURE_2D,c._glTextures[this.CONTEXT_UID].texture,e)}}(t.stencil||t.depth)&&!(t.depthTexture&&this.writeDepthTexture)?(n.stencil=n.stencil||i.createRenderbuffer(),i.bindRenderbuffer(i.RENDERBUFFER,n.stencil),n.msaaBuffer?i.renderbufferStorageMultisample(i.RENDERBUFFER,n.multisample,i.DEPTH24_STENCIL8,t.width,t.height):i.renderbufferStorage(i.RENDERBUFFER,i.DEPTH_STENCIL,t.width,t.height),i.framebufferRenderbuffer(i.FRAMEBUFFER,i.DEPTH_STENCIL_ATTACHMENT,i.RENDERBUFFER,n.stencil)):n.stencil&&(i.deleteRenderbuffer(n.stencil),n.stencil=null)},r.prototype.canMultisampleFramebuffer=function(t){return this.renderer.context.webGLVersion!==1&&t.colorTextures.length<=1&&!t.depthTexture},r.prototype.detectSamples=function(t){var e=this.msaaSamples,i=F.NONE;if(t<=1||e===null)return i;for(var n=0;n=0&&this.managedFramebuffers.splice(s,1),t.disposeRunner.remove(this),e||(n.deleteFramebuffer(i.framebuffer),i.msaaBuffer&&n.deleteRenderbuffer(i.msaaBuffer),i.stencil&&n.deleteRenderbuffer(i.stencil)),i.blitFramebuffer&&i.blitFramebuffer.dispose()}},r.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var i=0;i=Z.WEBGL2&&(t=r.getContext("webgl2",{})),t||(t=r.getContext("webgl",{})||r.getContext("experimental-webgl",{}),t?t.getExtension("WEBGL_draw_buffers"):t=null),vt=t}return vt}var Ot;function _n(){if(!Ot){Ot=D.MEDIUM;var r=mn();if(r&&r.getShaderPrecisionFormat){var t=r.getShaderPrecisionFormat(r.FRAGMENT_SHADER,r.HIGH_FLOAT);Ot=t.precision?D.HIGH:D.MEDIUM}}return Ot}function Pr(r,t,e){if(r.substring(0,9)!=="precision"){var i=t;return t===D.HIGH&&e!==D.HIGH&&(i=D.MEDIUM),"precision "+i+` float; +`+r}else if(e!==D.HIGH&&r.substring(0,15)==="precision highp")return r.replace("precision highp","precision mediump");return r}var yn={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,uint:1,uvec2:2,uvec3:3,uvec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};function fi(r){return yn[r]}var St=null,Ur={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",UNSIGNED_INT:"uint",UNSIGNED_INT_VEC2:"uvec2",UNSIGNED_INT_VEC3:"uvec3",UNSIGNED_INT_VEC4:"uvec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",INT_SAMPLER_2D:"sampler2D",UNSIGNED_INT_SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",INT_SAMPLER_CUBE:"samplerCube",UNSIGNED_INT_SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray",INT_SAMPLER_2D_ARRAY:"sampler2DArray",UNSIGNED_INT_SAMPLER_2D_ARRAY:"sampler2DArray"};function ci(r,t){if(!St){var e=Object.keys(Ur);St={};for(var i=0;i0&&(t+=` +else `),e1e-4||Math.abs(s)>1e-4)&&(Math.abs(i)>1e-4||Math.abs(a)>1e-4)},t.prototype.testScissor=function(e){var i=e.maskObject;if(!i.isFastRect||!i.isFastRect()||t.isMatrixRotated(i.worldTransform)||t.isMatrixRotated(this.renderer.projection.transform))return!1;this.calcScissorRect(e);var n=e._scissorRectLocal;return n.width>0&&n.height>0},t.prototype.roundFrameToPixels=function(e,i,n,s,a){t.isMatrixRotated(a)||(a=a?Lr.copyFrom(a):Lr.identity(),a.translate(-n.x,-n.y).scale(s.width/n.width,s.height/n.height).translate(s.x,s.y),this.renderer.filter.transformAABB(a,e),e.fit(s),e.x=Math.round(e.x*i),e.y=Math.round(e.y*i),e.width=Math.round(e.width*i),e.height=Math.round(e.height*i))},t.prototype.push=function(e){e._scissorRectLocal||this.calcScissorRect(e);var i=this.renderer.gl;e._scissorRect||i.enable(i.SCISSOR_TEST),e._scissorCounter++,e._scissorRect=e._scissorRectLocal,this._useCurrent()},t.prototype.pop=function(){var e=this.renderer.gl;this.getStackLength()>0?this._useCurrent():e.disable(e.SCISSOR_TEST)},t.prototype._useCurrent=function(){var e=this.maskStack[this.maskStack.length-1]._scissorRect,i;this.renderer.renderTexture.current?i=e.y:i=this.renderer.height-e.height-e.y,this.renderer.gl.scissor(e.x,i,e.width,e.height)},t}(pi),Mn=function(r){N(t,r);function t(e){var i=r.call(this,e)||this;return i.glConst=WebGLRenderingContext.STENCIL_TEST,i}return t.prototype.getStackLength=function(){var e=this.maskStack[this.maskStack.length-1];return e?e._stencilCounter:0},t.prototype.push=function(e){var i=e.maskObject,n=this.renderer.gl,s=e._stencilCounter;s===0&&(this.renderer.framebuffer.forceStencil(),n.clearStencil(0),n.clear(n.STENCIL_BUFFER_BIT),n.enable(n.STENCIL_TEST)),e._stencilCounter++,n.colorMask(!1,!1,!1,!1),n.stencilFunc(n.EQUAL,s,4294967295),n.stencilOp(n.KEEP,n.KEEP,n.INCR),i.renderable=!0,i.render(this.renderer),this.renderer.batch.flush(),i.renderable=!1,this._useCurrent()},t.prototype.pop=function(e){var i=this.renderer.gl;this.getStackLength()===0?i.disable(i.STENCIL_TEST):(i.colorMask(!1,!1,!1,!1),i.stencilOp(i.KEEP,i.KEEP,i.DECR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),e.renderable=!1,this._useCurrent())},t.prototype._useCurrent=function(){var e=this.renderer.gl;e.colorMask(!0,!0,!0,!0),e.stencilFunc(e.EQUAL,this.getStackLength(),4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP)},t}(pi),kn=function(){function r(t){this.renderer=t,this.destinationFrame=null,this.sourceFrame=null,this.defaultFrame=null,this.projectionMatrix=new H,this.transform=null}return r.prototype.update=function(t,e,i,n){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,i,n),this.transform&&this.projectionMatrix.append(this.transform);var s=this.renderer;s.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,s.globalUniforms.update(),s.shader.shader&&s.shader.syncUniformGroup(s.shader.shader.uniforms.globals)},r.prototype.calculateProjection=function(t,e,i,n){var s=this.projectionMatrix,a=n?-1:1;s.identity(),s.a=1/e.width*2,s.d=a*(1/e.height*2),s.tx=-1-e.x*s.a,s.ty=-a-e.y*s.d},r.prototype.setTransform=function(t){},r.prototype.destroy=function(){this.renderer=null},r}(),rt=new U,_t=new U,Xn=function(){function r(t){this.renderer=t,this.clearColor=t._backgroundColorRgba,this.defaultMaskStack=[],this.current=null,this.sourceFrame=new U,this.destinationFrame=new U,this.viewportFrame=new U}return r.prototype.bind=function(t,e,i){t===void 0&&(t=null);var n=this.renderer;this.current=t;var s,a,o;t?(s=t.baseTexture,o=s.resolution,e||(rt.width=t.frame.width,rt.height=t.frame.height,e=rt),i||(_t.x=t.frame.x,_t.y=t.frame.y,_t.width=e.width,_t.height=e.height,i=_t),a=s.framebuffer):(o=n.resolution,e||(rt.width=n.screen.width,rt.height=n.screen.height,e=rt),i||(i=rt,i.width=e.width,i.height=e.height));var h=this.viewportFrame;h.x=i.x*o,h.y=i.y*o,h.width=i.width*o,h.height=i.height*o,t||(h.y=n.view.height-(h.y+h.height)),h.ceil(),this.renderer.framebuffer.bind(a,h),this.renderer.projection.update(i,e,o,!a),t?this.renderer.mask.setMaskStack(s.maskStack):this.renderer.mask.setMaskStack(this.defaultMaskStack),this.sourceFrame.copyFrom(e),this.destinationFrame.copyFrom(i)},r.prototype.clear=function(t,e){this.current?t=t||this.current.baseTexture.clearColor:t=t||this.clearColor;var i=this.destinationFrame,n=this.current?this.current.baseTexture:this.renderer.screen,s=i.width!==n.width||i.height!==n.height;if(s){var a=this.viewportFrame,o=a.x,h=a.y,u=a.width,l=a.height;o=Math.round(o),h=Math.round(h),u=Math.round(u),l=Math.round(l),this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST),this.renderer.gl.scissor(o,h,u,l)}this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3],e),s&&this.renderer.scissor.pop()},r.prototype.resize=function(){this.bind(null)},r.prototype.reset=function(){this.bind(null)},r.prototype.destroy=function(){this.renderer=null},r}();function Hn(r,t,e,i,n){e.buffer.update(n)}var Vn={float:` + data[offset] = v; + `,vec2:` + data[offset] = v[0]; + data[offset+1] = v[1]; + `,vec3:` + data[offset] = v[0]; + data[offset+1] = v[1]; + data[offset+2] = v[2]; + + `,vec4:` + data[offset] = v[0]; + data[offset+1] = v[1]; + data[offset+2] = v[2]; + data[offset+3] = v[3]; + `,mat2:` + data[offset] = v[0]; + data[offset+1] = v[1]; + + data[offset+4] = v[2]; + data[offset+5] = v[3]; + `,mat3:` + data[offset] = v[0]; + data[offset+1] = v[1]; + data[offset+2] = v[2]; + + data[offset + 4] = v[3]; + data[offset + 5] = v[4]; + data[offset + 6] = v[5]; + + data[offset + 8] = v[6]; + data[offset + 9] = v[7]; + data[offset + 10] = v[8]; + `,mat4:` + for(var i = 0; i < 16; i++) + { + data[offset + i] = v[i]; + } + `},vi={float:4,vec2:8,vec3:12,vec4:16,int:4,ivec2:8,ivec3:12,ivec4:16,uint:4,uvec2:8,uvec3:12,uvec4:16,bool:4,bvec2:8,bvec3:12,bvec4:16,mat2:16*2,mat3:16*3,mat4:16*4};function jn(r){for(var t=r.map(function(h){return{data:h,offset:0,dataLen:0,dirty:0}}),e=0,i=0,n=0,s=0;s1&&(e=Math.max(e,16)*a.data.size),a.dataLen=e,i%e!==0&&i<16){var o=i%e%16;i+=o,n+=o}i+e>16?(n=Math.ceil(n/16)*16,a.offset=n,n+=e,i=e):(a.offset=n,i+=e,n+=e)}return n=Math.ceil(n/16)*16,{uboElements:t,size:n}}function Dn(r,t){var e=[];for(var i in r)t[i]&&e.push(t[i]);return e.sort(function(n,s){return n.index-s.index}),e}function zn(r,t){if(!r.autoManage)return{size:0,syncFunc:Hn};for(var e=Dn(r.uniforms,t),i=jn(e),n=i.uboElements,s=i.size,a=[` + var v = null; + var v2 = null; + var cv = null; + var t = 0; + var gl = renderer.gl + var index = 0; + var data = buffer.data; + `],o=0;o1){var p=fi(h.data.type),m=Math.max(vi[h.data.type]/16,1),v=p/m,y=(4-v%4)%4;a.push(` + cv = ud.`+l+`.value; + v = uv.`+l+`; + offset = `+h.offset/4+`; + + t = 0; + + for(var i=0; i < `+h.data.size*m+`; i++) + { + for(var j = 0; j < `+v+`; j++) + { + data[offset++] = v[t++]; + } + offset += `+y+`; + } + + `)}else{var R=Vn[h.data.type];a.push(` + cv = ud.`+l+`.value; + v = uv.`+l+`; + offset = `+h.offset/4+`; + `+R+`; + `)}}return a.push(` + renderer.buffer.update(buffer); + `),{size:s,syncFunc:new Function("ud","uv","renderer","syncData","buffer",a.join(` +`))}}var Wn=function(){function r(t,e){this.program=t,this.uniformData=e,this.uniformGroups={},this.uniformDirtyGroups={},this.uniformBufferBindings={}}return r.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.uniformDirtyGroups=null,this.uniformBufferBindings=null,this.program=null},r}();function $n(r,t){for(var e={},i=t.getProgramParameter(r,t.ACTIVE_ATTRIBUTES),n=0;nf?1:-1});for(var a=0;a>1,i++;this.stateId=t.data}for(var i=0;ithis.checkCountMax&&(this.checkCount=0,this.run())))},r.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,i=!1,n=0;nthis.maxIdle&&(t.destroyTexture(s,!0),e[n]=null,i=!0)}if(i){for(var a=0,n=0;n=0;n--)this.unload(t.children[n])},r.prototype.destroy=function(){this.renderer=null},r}();function os(r){var t,e,i,n,s,a,o,h,u,l,f,c,d,p,m,v,y,R,C,M,k,B,T;return"WebGL2RenderingContext"in globalThis&&r instanceof globalThis.WebGL2RenderingContext?T=(t={},t[I.UNSIGNED_BYTE]=(e={},e[_.RGBA]=r.RGBA8,e[_.RGB]=r.RGB8,e[_.RG]=r.RG8,e[_.RED]=r.R8,e[_.RGBA_INTEGER]=r.RGBA8UI,e[_.RGB_INTEGER]=r.RGB8UI,e[_.RG_INTEGER]=r.RG8UI,e[_.RED_INTEGER]=r.R8UI,e[_.ALPHA]=r.ALPHA,e[_.LUMINANCE]=r.LUMINANCE,e[_.LUMINANCE_ALPHA]=r.LUMINANCE_ALPHA,e),t[I.BYTE]=(i={},i[_.RGBA]=r.RGBA8_SNORM,i[_.RGB]=r.RGB8_SNORM,i[_.RG]=r.RG8_SNORM,i[_.RED]=r.R8_SNORM,i[_.RGBA_INTEGER]=r.RGBA8I,i[_.RGB_INTEGER]=r.RGB8I,i[_.RG_INTEGER]=r.RG8I,i[_.RED_INTEGER]=r.R8I,i),t[I.UNSIGNED_SHORT]=(n={},n[_.RGBA_INTEGER]=r.RGBA16UI,n[_.RGB_INTEGER]=r.RGB16UI,n[_.RG_INTEGER]=r.RG16UI,n[_.RED_INTEGER]=r.R16UI,n[_.DEPTH_COMPONENT]=r.DEPTH_COMPONENT16,n),t[I.SHORT]=(s={},s[_.RGBA_INTEGER]=r.RGBA16I,s[_.RGB_INTEGER]=r.RGB16I,s[_.RG_INTEGER]=r.RG16I,s[_.RED_INTEGER]=r.R16I,s),t[I.UNSIGNED_INT]=(a={},a[_.RGBA_INTEGER]=r.RGBA32UI,a[_.RGB_INTEGER]=r.RGB32UI,a[_.RG_INTEGER]=r.RG32UI,a[_.RED_INTEGER]=r.R32UI,a[_.DEPTH_COMPONENT]=r.DEPTH_COMPONENT24,a),t[I.INT]=(o={},o[_.RGBA_INTEGER]=r.RGBA32I,o[_.RGB_INTEGER]=r.RGB32I,o[_.RG_INTEGER]=r.RG32I,o[_.RED_INTEGER]=r.R32I,o),t[I.FLOAT]=(h={},h[_.RGBA]=r.RGBA32F,h[_.RGB]=r.RGB32F,h[_.RG]=r.RG32F,h[_.RED]=r.R32F,h[_.DEPTH_COMPONENT]=r.DEPTH_COMPONENT32F,h),t[I.HALF_FLOAT]=(u={},u[_.RGBA]=r.RGBA16F,u[_.RGB]=r.RGB16F,u[_.RG]=r.RG16F,u[_.RED]=r.R16F,u),t[I.UNSIGNED_SHORT_5_6_5]=(l={},l[_.RGB]=r.RGB565,l),t[I.UNSIGNED_SHORT_4_4_4_4]=(f={},f[_.RGBA]=r.RGBA4,f),t[I.UNSIGNED_SHORT_5_5_5_1]=(c={},c[_.RGBA]=r.RGB5_A1,c),t[I.UNSIGNED_INT_2_10_10_10_REV]=(d={},d[_.RGBA]=r.RGB10_A2,d[_.RGBA_INTEGER]=r.RGB10_A2UI,d),t[I.UNSIGNED_INT_10F_11F_11F_REV]=(p={},p[_.RGB]=r.R11F_G11F_B10F,p),t[I.UNSIGNED_INT_5_9_9_9_REV]=(m={},m[_.RGB]=r.RGB9_E5,m),t[I.UNSIGNED_INT_24_8]=(v={},v[_.DEPTH_STENCIL]=r.DEPTH24_STENCIL8,v),t[I.FLOAT_32_UNSIGNED_INT_24_8_REV]=(y={},y[_.DEPTH_STENCIL]=r.DEPTH32F_STENCIL8,y),t):T=(R={},R[I.UNSIGNED_BYTE]=(C={},C[_.RGBA]=r.RGBA,C[_.RGB]=r.RGB,C[_.ALPHA]=r.ALPHA,C[_.LUMINANCE]=r.LUMINANCE,C[_.LUMINANCE_ALPHA]=r.LUMINANCE_ALPHA,C),R[I.UNSIGNED_SHORT_5_6_5]=(M={},M[_.RGB]=r.RGB,M),R[I.UNSIGNED_SHORT_4_4_4_4]=(k={},k[_.RGBA]=r.RGBA,k),R[I.UNSIGNED_SHORT_5_5_5_1]=(B={},B[_.RGBA]=r.RGBA,B),R),T}var ae=function(){function r(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=I.UNSIGNED_BYTE,this.internalFormat=_.RGBA,this.samplerType=0}return r}(),hs=function(){function r(t){this.renderer=t,this.boundTextures=[],this.currentLocation=-1,this.managedTextures=[],this._unknownBoundTextures=!1,this.unknownTexture=new L,this.hasIntegerTextures=!1}return r.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion,this.internalFormats=os(t);var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var i=0;i=0;--a){var o=i[a];if(o){var h=o._glTextures[s];h.samplerType!==Ht.FLOAT&&this.renderer.texture.unbind(o)}}},r.prototype.initTexture=function(t){var e=new ae(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},r.prototype.initTextureType=function(t,e){var i,n;e.internalFormat=(n=(i=this.internalFormats[t.type])===null||i===void 0?void 0:i[t.format])!==null&&n!==void 0?n:t.format,this.webGLVersion===2&&t.type===I.HALF_FLOAT?e.type=this.gl.HALF_FLOAT:e.type=t.type},r.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(!!e){var i=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(i,t,e))e.samplerType!==Ht.FLOAT&&(this.hasIntegerTextures=!0);else{var n=t.realWidth,s=t.realHeight,a=i.gl;(e.width!==n||e.height!==s||e.dirtyId<0)&&(e.width=n,e.height=s,a.texImage2D(t.target,0,e.internalFormat,n,s,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},r.prototype.destroyTexture=function(t,e){var i=this.gl;if(t=t.castToBaseTexture(),t._glTextures[this.CONTEXT_UID]&&(this.unbind(t),i.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var n=this.managedTextures.indexOf(t);n!==-1&&kt(this.managedTextures,n,1)}},r.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];!e||((t.mipmap===ft.POW2||this.webGLVersion!==2)&&!t.isPowerOfTwo?e.mipmap=!1:e.mipmap=t.mipmap>=1,this.webGLVersion!==2&&!t.isPowerOfTwo?e.wrapMode=ve.CLAMP:e.wrapMode=t.wrapMode,t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},r.prototype.setStyle=function(t,e){var i=this.gl;if(e.mipmap&&t.mipmap!==ft.ON_MANUAL&&i.generateMipmap(t.target),i.texParameteri(t.target,i.TEXTURE_WRAP_S,e.wrapMode),i.texParameteri(t.target,i.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){i.texParameteri(t.target,i.TEXTURE_MIN_FILTER,t.scaleMode===q.LINEAR?i.LINEAR_MIPMAP_LINEAR:i.NEAREST_MIPMAP_NEAREST);var n=this.renderer.context.extensions.anisotropicFiltering;if(n&&t.anisotropicLevel>0&&t.scaleMode===q.LINEAR){var s=Math.min(t.anisotropicLevel,i.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT));i.texParameterf(t.target,n.TEXTURE_MAX_ANISOTROPY_EXT,s)}}else i.texParameteri(t.target,i.TEXTURE_MIN_FILTER,t.scaleMode===q.LINEAR?i.LINEAR:i.NEAREST);i.texParameteri(t.target,i.TEXTURE_MAG_FILTER,t.scaleMode===q.LINEAR?i.LINEAR:i.NEAREST)},r.prototype.destroy=function(){this.renderer=null},r}(),oe=new H,us=function(r){N(t,r);function t(e,i){e===void 0&&(e=Tt.UNKNOWN);var n=r.call(this)||this;return i=Object.assign({},x.RENDER_OPTIONS,i),n.options=i,n.type=e,n.screen=new U(0,0,i.width,i.height),n.view=i.view||document.createElement("canvas"),n.resolution=i.resolution||x.RESOLUTION,n.useContextAlpha=i.useContextAlpha,n.autoDensity=!!i.autoDensity,n.preserveDrawingBuffer=i.preserveDrawingBuffer,n.clearBeforeRender=i.clearBeforeRender,n._backgroundColor=0,n._backgroundColorRgba=[0,0,0,1],n._backgroundColorString="#000000",n.backgroundColor=i.backgroundColor||n._backgroundColor,n.backgroundAlpha=i.backgroundAlpha,i.transparent!==void 0&&(Rt("6.0.0","Option transparent is deprecated, please use backgroundAlpha instead."),n.useContextAlpha=i.transparent,n.backgroundAlpha=i.transparent?0:1),n._lastObjectRendered=null,n.plugins={},n}return t.prototype.initPlugins=function(e){for(var i in e)this.plugins[i]=new e[i](this)},Object.defineProperty(t.prototype,"width",{get:function(){return this.view.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.view.height},enumerable:!1,configurable:!0}),t.prototype.resize=function(e,i){this.view.width=Math.round(e*this.resolution),this.view.height=Math.round(i*this.resolution);var n=this.view.width/this.resolution,s=this.view.height/this.resolution;this.screen.width=n,this.screen.height=s,this.autoDensity&&(this.view.style.width=n+"px",this.view.style.height=s+"px"),this.emit("resize",n,s)},t.prototype.generateTexture=function(e,i,n,s){i===void 0&&(i={}),typeof i=="number"&&(Rt("6.1.0","generateTexture options (scaleMode, resolution, region) are now object options."),i={scaleMode:i,resolution:n,region:s});var a=i.region,o=Vi(i,["region"]);s=a||e.getLocalBounds(null,!0),s.width===0&&(s.width=1),s.height===0&&(s.height=1);var h=Ce.create(Te({width:s.width,height:s.height},o));return oe.tx=-s.x,oe.ty=-s.y,this.render(e,{renderTexture:h,clear:!1,transform:oe,skipUpdateTransform:!!e.parent}),h},t.prototype.destroy=function(e){for(var i in this.plugins)this.plugins[i].destroy(),this.plugins[i]=null;e&&this.view.parentNode&&this.view.parentNode.removeChild(this.view);var n=this;n.plugins=null,n.type=Tt.UNKNOWN,n.view=null,n.screen=null,n._tempDisplayObjectParent=null,n.options=null,this._backgroundColorRgba=null,this._backgroundColorString=null,this._lastObjectRendered=null},Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(e){this._backgroundColor=e,this._backgroundColorString=Ui(e),Pi(e,this._backgroundColorRgba)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundAlpha",{get:function(){return this._backgroundColorRgba[3]},set:function(e){this._backgroundColorRgba[3]=e},enumerable:!1,configurable:!0}),t}(Wt),ls=function(){function r(t){this.buffer=t||null,this.updateID=-1,this.byteLength=-1,this.refCount=0}return r}(),fs=function(){function r(t){this.renderer=t,this.managedBuffers={},this.boundBufferBases={}}return r.prototype.destroy=function(){this.renderer=null},r.prototype.contextChange=function(){this.disposeAll(!0),this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID},r.prototype.bind=function(t){var e=this,i=e.gl,n=e.CONTEXT_UID,s=t._glBuffers[n]||this.createGLBuffer(t);i.bindBuffer(t.type,s.buffer)},r.prototype.bindBufferBase=function(t,e){var i=this,n=i.gl,s=i.CONTEXT_UID;if(this.boundBufferBases[e]!==t){var a=t._glBuffers[s]||this.createGLBuffer(t);this.boundBufferBases[e]=t,n.bindBufferBase(n.UNIFORM_BUFFER,e,a.buffer)}},r.prototype.bindBufferRange=function(t,e,i){var n=this,s=n.gl,a=n.CONTEXT_UID;i=i||0;var o=t._glBuffers[a]||this.createGLBuffer(t);s.bindBufferRange(s.UNIFORM_BUFFER,e||0,o.buffer,i*256,256)},r.prototype.update=function(t){var e=this,i=e.gl,n=e.CONTEXT_UID,s=t._glBuffers[n];if(t._updateID!==s.updateID)if(s.updateID=t._updateID,i.bindBuffer(t.type,s.buffer),s.byteLength>=t.data.byteLength)i.bufferSubData(t.type,0,t.data);else{var a=t.static?i.STATIC_DRAW:i.DYNAMIC_DRAW;s.byteLength=t.data.byteLength,i.bufferData(t.type,t.data,a)}},r.prototype.dispose=function(t,e){if(!!this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var i=t._glBuffers[this.CONTEXT_UID],n=this.gl;t.disposeRunner.remove(this),i&&(e||n.deleteBuffer(i.buffer),delete t._glBuffers[this.CONTEXT_UID])}},r.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedBuffers),i=0;i=F.HIGH?this.multisample=F.HIGH:i>=F.MEDIUM?this.multisample=F.MEDIUM:i>=F.LOW?this.multisample=F.LOW:this.multisample=F.NONE},t.prototype.addSystem=function(e,i){var n=new e(this);if(this[i])throw new Error('Whoops! The name "'+i+'" is already in use');this[i]=n;for(var s in this.runners)this.runners[s].add(n);return this},t.prototype.render=function(e,i){var n,s,a,o;if(i&&(i instanceof Ce?(Rt("6.0.0","Renderer#render arguments changed, use options instead."),n=i,s=arguments[2],a=arguments[3],o=arguments[4]):(n=i.renderTexture,s=i.clear,a=i.transform,o=i.skipUpdateTransform)),this.renderingToScreen=!n,this.runners.prerender.emit(),this.emit("prerender"),this.projection.transform=a,!this.context.isLost){if(n||(this._lastObjectRendered=e),!o){var h=e.enableTempParent();e.updateTransform(),e.disableTempParent(h)}this.renderTexture.bind(n),this.batch.currentRenderer.start(),(s!==void 0?s:this.clearBeforeRender)&&this.renderTexture.clear(),e.render(this),this.batch.currentRenderer.flush(),n&&n.baseTexture.update(),this.runners.postrender.emit(),this.projection.transform=null,this.emit("postrender")}},t.prototype.generateTexture=function(e,i,n,s){i===void 0&&(i={});var a=r.prototype.generateTexture.call(this,e,i,n,s);return this.framebuffer.blit(),a},t.prototype.resize=function(e,i){r.prototype.resize.call(this,e,i),this.runners.resize.emit(this.screen.height,this.screen.width)},t.prototype.reset=function(){return this.runners.reset.emit(),this},t.prototype.clear=function(){this.renderTexture.bind(),this.renderTexture.clear()},t.prototype.destroy=function(e){this.runners.destroy.emit();for(var i in this.runners)this.runners[i].destroy();r.prototype.destroy.call(this,e),this.gl=null},Object.defineProperty(t.prototype,"extract",{get:function(){return Rt("6.0.0","Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."),this.plugins.extract},enumerable:!1,configurable:!0}),t.registerPlugin=function(e,i){t.__plugins=t.__plugins||{},t.__plugins[e]=i},t}(us);function ds(r){return cs.create(r)}var ps=function(){function r(){this.texArray=null,this.blend=0,this.type=bt.TRIANGLES,this.start=0,this.size=0,this.data=null}return r}(),vs=function(){function r(){this.elements=[],this.ids=[],this.count=0}return r.prototype.clear=function(){for(var t=0;tthis.size&&this.flush(),this._vertexCount+=e.vertexData.length/2,this._indexCount+=e.indices.length,this._bufferedTextures[this._bufferSize]=e._texture.baseTexture,this._bufferedElements[this._bufferSize++]=e)},t.prototype.buildTexturesAndDrawCalls=function(){var e=this,i=e._bufferedTextures,n=e.MAX_TEXTURES,s=t._textureArrayPool,a=this.renderer.batch,o=this._tempBoundTextures,h=this.renderer.textureGC.count,u=++L._globalBatch,l=0,f=s[0],c=0;a.copyBoundTextures(o,n);for(var d=0;d=n&&(a.boundArray(f,o,u,n),this.buildDrawCalls(f,c,d),c=d,f=s[++l],++u),p._batchEnabled=u,p.touched=h,f.elements[f.count++]=p)}f.count>0&&(a.boundArray(f,o,u,n),this.buildDrawCalls(f,c,this._bufferSize),++l,++u);for(var d=0;d0&&(e+=` +else `),ithis.maxX||this.minY>this.maxY},r.prototype.clear=function(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},r.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?U.EMPTY:(t=t||new U(0,0,1,1),t.x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},r.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},r.prototype.addPointMatrix=function(t,e){var i=t.a,n=t.b,s=t.c,a=t.d,o=t.tx,h=t.ty,u=i*e.x+s*e.y+o,l=n*e.x+a*e.y+h;this.minX=Math.min(this.minX,u),this.maxX=Math.max(this.maxX,u),this.minY=Math.min(this.minY,l),this.maxY=Math.max(this.maxY,l)},r.prototype.addQuad=function(t){var e=this.minX,i=this.minY,n=this.maxX,s=this.maxY,a=t[0],o=t[1];e=an?a:n,s=o>s?o:s,a=t[2],o=t[3],e=an?a:n,s=o>s?o:s,a=t[4],o=t[5],e=an?a:n,s=o>s?o:s,a=t[6],o=t[7],e=an?a:n,s=o>s?o:s,this.minX=e,this.minY=i,this.maxX=n,this.maxY=s},r.prototype.addFrame=function(t,e,i,n,s){this.addFrameMatrix(t.worldTransform,e,i,n,s)},r.prototype.addFrameMatrix=function(t,e,i,n,s){var a=t.a,o=t.b,h=t.c,u=t.d,l=t.tx,f=t.ty,c=this.minX,d=this.minY,p=this.maxX,m=this.maxY,v=a*e+h*i+l,y=o*e+u*i+f;c=vp?v:p,m=y>m?y:m,v=a*n+h*i+l,y=o*n+u*i+f,c=vp?v:p,m=y>m?y:m,v=a*e+h*s+l,y=o*e+u*s+f,c=vp?v:p,m=y>m?y:m,v=a*n+h*s+l,y=o*n+u*s+f,c=vp?v:p,m=y>m?y:m,this.minX=c,this.minY=d,this.maxX=p,this.maxY=m},r.prototype.addVertexData=function(t,e,i){for(var n=this.minX,s=this.minY,a=this.maxX,o=this.maxY,h=e;ha?u:a,o=l>o?l:o}this.minX=n,this.minY=s,this.maxX=a,this.maxY=o},r.prototype.addVertices=function(t,e,i,n){this.addVerticesMatrix(t.worldTransform,e,i,n)},r.prototype.addVerticesMatrix=function(t,e,i,n,s,a){s===void 0&&(s=0),a===void 0&&(a=s);for(var o=t.a,h=t.b,u=t.c,l=t.d,f=t.tx,c=t.ty,d=this.minX,p=this.minY,m=this.maxX,v=this.maxY,y=i;yn?t.maxX:n,this.maxY=t.maxY>s?t.maxY:s},r.prototype.addBoundsMask=function(t,e){var i=t.minX>e.minX?t.minX:e.minX,n=t.minY>e.minY?t.minY:e.minY,s=t.maxXu?s:u,this.maxY=a>l?a:l}},r.prototype.addBoundsMatrix=function(t,e){this.addFrameMatrix(e,t.minX,t.minY,t.maxX,t.maxY)},r.prototype.addBoundsArea=function(t,e){var i=t.minX>e.x?t.minX:e.x,n=t.minY>e.y?t.minY:e.y,s=t.maxXu?s:u,this.maxY=a>l?a:l}},r.prototype.pad=function(t,e){t===void 0&&(t=0),e===void 0&&(e=t),this.isEmpty()||(this.minX-=t,this.maxX+=t,this.minY-=e,this.maxY+=e)},r.prototype.addFramePad=function(t,e,i,n,s,a){t-=s,e-=a,i+=s,n+=a,this.minX=this.minXi?this.maxX:i,this.minY=this.minYn?this.maxY:n},r}();/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */var Re=function(r,t){return Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])},Re(r,t)};function Fe(r,t){Re(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Dt=function(r){Fe(t,r);function t(){var e=r.call(this)||this;return e.tempDisplayObjectParent=null,e.transform=new Hi,e.alpha=1,e.visible=!0,e.renderable=!0,e.cullable=!1,e.cullArea=null,e.parent=null,e.worldAlpha=1,e._lastSortedIndex=0,e._zIndex=0,e.filterArea=null,e.filters=null,e._enabledFilters=null,e._bounds=new Ie,e._localBounds=null,e._boundsID=0,e._boundsRect=null,e._localBoundsRect=null,e._mask=null,e._maskRefCount=0,e._destroyed=!1,e.isSprite=!1,e.isMask=!1,e}return t.mixin=function(e){for(var i=Object.keys(e),n=0;n1)for(var s=0;sthis.children.length)throw new Error(e+"addChildAt: The index "+i+" supplied is out of bounds "+this.children.length);return e.parent&&e.parent.removeChild(e),e.parent=this,this.sortDirty=!0,e.transform._parentID=-1,this.children.splice(i,0,e),this._boundsID++,this.onChildrenChange(i),e.emit("added",this),this.emit("childAdded",e,this,i),e},t.prototype.swapChildren=function(e,i){if(e!==i){var n=this.getChildIndex(e),s=this.getChildIndex(i);this.children[n]=i,this.children[s]=e,this.onChildrenChange(n=this.children.length)throw new Error("The index "+i+" supplied is out of bounds "+this.children.length);var n=this.getChildIndex(e);kt(this.children,n,1),this.children.splice(i,0,e),this.onChildrenChange(i)},t.prototype.getChildAt=function(e){if(e<0||e>=this.children.length)throw new Error("getChildAt: Index ("+e+") does not exist.");return this.children[e]},t.prototype.removeChild=function(){for(var e=arguments,i=[],n=0;n1)for(var s=0;s0&&a<=s){o=this.children.splice(n,a);for(var h=0;h1&&this.children.sort(bs),this.sortDirty=!1},t.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var e=0,i=this.children.length;e0&&i.height>0){var n,s;if(this.cullArea?(n=this.cullArea,s=this.worldTransform):this._render!==t.prototype._render&&(n=this.getBounds(!0)),n&&i.intersects(n,s))this._render(e);else if(this.cullArea)return;for(var a=0,o=this.children.length;a=s&&yt.x=a&&yt.y>16)+(e&65280)+((e&255)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"texture",{get:function(){return this._texture},set:function(e){this._texture!==e&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=e||Y.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,e&&(e.baseTexture.valid?this._onTextureUpdate():e.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),t}(zt);/*! + * @pixi/particle-emitter - v5.0.7 + * Compiled Fri, 27 May 2022 02:00:12 UTC + * + * @pixi/particle-emitter is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */class z{constructor(t,e,i){this.value=t,this.time=e,this.next=null,this.isStepped=!1,i?this.ease=typeof i=="function"?i:yi(i):this.ease=null}static createList(t){if("list"in t){const i=t.list;let n;const{value:s,time:a}=i[0],o=n=new z(typeof s=="string"?Mt(s):s,a,t.ease);if(i.length>2||i.length===2&&i[1].value!==s)for(let h=1;h0?this._frequency=t:this._frequency=1}get parent(){return this._parent}set parent(t){this.cleanup(),this._parent=t}init(t){if(!t)return;this.cleanup(),this._origConfig=t,this.minLifetime=t.lifetime.min,this.maxLifetime=t.lifetime.max,t.ease?this.customEase=typeof t.ease=="function"?t.ease:yi(t.ease):this.customEase=null,this.particlesPerWave=1,t.particlesPerWave&&t.particlesPerWave>1&&(this.particlesPerWave=t.particlesPerWave),this.frequency=t.frequency,this.spawnChance=typeof t.spawnChance=="number"&&t.spawnChance>0?t.spawnChance:1,this.emitterLifetime=t.emitterLifetime||-1,this.maxParticles=t.maxParticles>0?t.maxParticles:1e3,this.addAtBack=!!t.addAtBack,this.rotation=0,this.ownerPos.set(0),t.pos?this.spawnPos.copyFrom(t.pos):this.spawnPos.set(0),this._prevEmitterPos.copyFrom(this.spawnPos),this._prevPosIsValid=!1,this._spawnTimer=0,this.emit=t.emit===void 0?!0:!!t.emit,this.autoUpdate=!!t.autoUpdate;const e=t.behaviors.map(i=>{const n=E.knownBehaviors[i.type];return n?new n(i.config):(console.error(`Unknown behavior: ${i.type}`),null)}).filter(i=>!!i);e.push(it),e.sort((i,n)=>i===it?n.order===w.Spawn?1:-1:n===it?i.order===w.Spawn?-1:1:i.order-n.order),this.initBehaviors=e.slice(),this.updateBehaviors=e.filter(i=>i!==it&&i.updateParticle),this.recycleBehaviors=e.filter(i=>i!==it&&i.recycleParticle)}getBehavior(t){return E.knownBehaviors[t]&&this.initBehaviors.find(e=>e instanceof E.knownBehaviors[t])||null}fillPool(t){for(;t>0;--t){const e=new he(this);e.next=this._poolFirst,this._poolFirst=e}}recycle(t,e=!1){for(let i=0;ia.maxLife||a.age<0)this.recycle(a);else{let h=a.age*a.oneOverLife;this.customEase&&(this.customEase.length===4?h=this.customEase(h,0,1,1):h=this.customEase(h)),a.agePercent=h;for(let u=0;u=0&&(this._emitterLife-=this._frequency,this._emitterLife<=0)){this._spawnTimer=0,this._emitterLife=0,this.emit=!1;break}if(this.particleCount>=this.maxParticles){this._spawnTimer+=this._frequency;continue}let a,o;if(this._prevPosIsValid&&this._posChanged){const l=1+this._spawnTimer/t;a=(n-e)*l+e,o=(s-i)*l+i}else a=n,o=s;let h=null,u=null;for(let l=Math.min(this.particlesPerWave,this.maxParticles-this.particleCount),f=0;f=this.spawnChance)continue;let c;if(this.minLifetime===this.maxLifetime?c=this.minLifetime:c=Math.random()*(this.maxLifetime-this.minLifetime)+this.minLifetime,-this._spawnTimer>=c)continue;let d;this._poolFirst?(d=this._poolFirst,this._poolFirst=this._poolFirst.next,d.next=null):d=new he(this),d.init(c),this.addAtBack?this._parent.addChildAt(d,0):this._parent.addChild(d),h?(u.next=d,d.prev=u,u=d):u=h=d,++this.particleCount}if(h){this._activeParticlesLast?(this._activeParticlesLast.next=h,h.prev=this._activeParticlesLast,this._activeParticlesLast=u):(this._activeParticlesFirst=h,this._activeParticlesLast=u);for(let l=0;l=this.spawnChance)continue;let o;this._poolFirst?(o=this._poolFirst,this._poolFirst=this._poolFirst.next,o.next=null):o=new he(this);let h;this.minLifetime===this.maxLifetime?h=this.minLifetime:h=Math.random()*(this.maxLifetime-this.minLifetime)+this.minLifetime,o.init(h),this.addAtBack?this._parent.addChildAt(o,0):this._parent.addChild(o),i?(n.next=o,o.prev=n,n=o):n=i=o,++this.particleCount}if(i){this._activeParticlesLast?(this._activeParticlesLast.next=i,i.prev=this._activeParticlesLast,this._activeParticlesLast=n):(this._activeParticlesFirst=i,this._activeParticlesLast=n);for(let s=0;sthis.maxSpeed&&_i(i,this.maxSpeed/a)}t.x+=(n+i.x)/2*e,t.y+=(s+i.y)/2*e,this.rotate&&(t.rotation=Math.atan2(i.y,i.x))}}Se.type="moveAcceleration";Se.editorConfig=null;function Cs(r){return this.ease&&(r=this.ease(r)),(this.first.next.value-this.first.value)*r+this.first.value}function As(r){this.ease&&(r=this.ease(r));const t=this.first.value,e=this.first.next.value,i=(e.r-t.r)*r+t.r,n=(e.g-t.g)*r+t.g,s=(e.b-t.b)*r+t.b;return $t(i,n,s)}function Ps(r){this.ease&&(r=this.ease(r));let t=this.first,e=t.next;for(;r>e.time;)t=e,e=e.next;return r=(r-t.time)/(e.time-t.time),(e.value-t.value)*r+t.value}function Us(r){this.ease&&(r=this.ease(r));let t=this.first,e=t.next;for(;r>e.time;)t=e,e=e.next;r=(r-t.time)/(e.time-t.time);const i=t.value,n=e.value,s=(n.r-i.r)*r+i.r,a=(n.g-i.g)*r+i.g,o=(n.b-i.b)*r+i.b;return $t(s,a,o)}function Fs(r){this.ease&&(r=this.ease(r));let t=this.first;for(;t.next&&r>t.next.time;)t=t.next;return t.value}function Ls(r){this.ease&&(r=this.ease(r));let t=this.first;for(;t.next&&r>t.next.time;)t=t.next;const e=t.value;return $t(e.r,e.g,e.b)}class Nt{constructor(t=!1){this.first=null,this.isColor=!!t,this.interpolate=null,this.ease=null}reset(t){this.first=t,t.next&&t.next.time>=1?this.interpolate=this.isColor?As:Cs:t.isStepped?this.interpolate=this.isColor?Ls:Fs:this.interpolate=this.isColor?Us:Ps,this.ease=this.first.ease}}class Ge{constructor(t){this.order=w.Normal,this.list=new Nt(!1),this.list.reset(z.createList(t.alpha))}initParticles(t){let e=t;for(;e;)e.alpha=this.list.first.value,e=e.next}updateParticle(t){t.alpha=this.list.interpolate(t.agePercent)}}Ge.type="alpha";Ge.editorConfig=null;class Be{constructor(t){this.order=w.Normal,this.value=t.alpha}initParticles(t){let e=t;for(;e;)e.alpha=this.value,e=e.next}}Be.type="alphaStatic";Be.editorConfig=null;function gi(r){const t=[];for(let e=0;e0;--n)t.push(i)}}return t}class Me{constructor(t){this.order=w.Normal,this.anims=[];for(let e=0;e0?i.framerate:60,a={textures:n,duration:s>0?n.length/s:0,framerate:s,loop:s>0?!!i.loop:!1};this.anims.push(a)}}initParticles(t){let e=t;for(;e;){const i=Math.floor(Math.random()*this.anims.length),n=e.config.anim=this.anims[i];e.texture=n.textures[0],e.config.animElapsed=0,n.framerate===-1?(e.config.animDuration=e.maxLife,e.config.animFramerate=n.textures.length/e.maxLife):(e.config.animDuration=n.duration,e.config.animFramerate=n.framerate),e=e.next}}updateParticle(t,e){const i=t.config,n=i.anim;i.animElapsed+=e,i.animElapsed>=i.animDuration&&(i.anim.loop?i.animElapsed=i.animElapsed%i.animDuration:i.animElapsed=i.animDuration-1e-6);const s=i.animElapsed*i.animFramerate+1e-7|0;t.texture=n.textures[s]||n.textures[n.textures.length-1]||Y.EMPTY}}Me.type="animatedRandom";Me.editorConfig=null;class ke{constructor(t){this.order=w.Normal;const e=t.anim,i=gi(e.textures),n=e.framerate<0?-1:e.framerate>0?e.framerate:60;this.anim={textures:i,duration:n>0?i.length/n:0,framerate:n,loop:n>0?!!e.loop:!1}}initParticles(t){let e=t;const i=this.anim;for(;e;)e.texture=i.textures[0],e.config.animElapsed=0,i.framerate===-1?(e.config.animDuration=e.maxLife,e.config.animFramerate=i.textures.length/e.maxLife):(e.config.animDuration=i.duration,e.config.animFramerate=i.framerate),e=e.next}updateParticle(t,e){const i=this.anim,n=t.config;n.animElapsed+=e,n.animElapsed>=n.animDuration&&(i.loop?n.animElapsed=n.animElapsed%n.animDuration:n.animElapsed=n.animDuration-1e-6);const s=n.animElapsed*n.animFramerate+1e-7|0;t.texture=i.textures[s]||i.textures[i.textures.length-1]||Y.EMPTY}}ke.type="animatedSingle";ke.editorConfig=null;class Xe{constructor(t){this.order=w.Normal,this.value=t.blendMode}initParticles(t){let e=t;for(;e;)e.blendMode=Ns(this.value),e=e.next}}Xe.type="blendMode";Xe.editorConfig=null;class He{constructor(t){this.order=w.Spawn,this.spacing=t.spacing*j,this.start=t.start*j,this.distance=t.distance}initParticles(t){let e=0,i=t;for(;i;){let n;this.spacing?n=this.start+this.spacing*e:n=Math.random()*Math.PI*2,i.rotation=n,this.distance&&(i.position.x=this.distance,K(n,i.position)),i=i.next,++e}}}He.type="spawnBurst";He.editorConfig=null;class Ve{constructor(t){this.order=w.Normal,this.list=new Nt(!0),this.list.reset(z.createList(t.color))}initParticles(t){let e=t;const i=this.list.first.value,n=$t(i.r,i.g,i.b);for(;e;)e.tint=n,e=e.next}updateParticle(t){t.tint=this.list.interpolate(t.agePercent)}}Ve.type="color";Ve.editorConfig=null;class je{constructor(t){this.order=w.Normal;let e=t.color;e.charAt(0)==="#"?e=e.substr(1):e.indexOf("0x")===0&&(e=e.substr(2)),this.value=parseInt(e,16)}initParticles(t){let e=t;for(;e;)e.tint=this.value,e=e.next}}je.type="colorStatic";je.editorConfig=null;class De{constructor(t){this.order=w.Normal,this.index=0,this.textures=t.textures.map(e=>typeof e=="string"?wt(e):e)}initParticles(t){let e=t;for(;e;)e.texture=this.textures[this.index],++this.index>=this.textures.length&&(this.index=0),e=e.next}}De.type="textureOrdered";De.editorConfig=null;const ct=new P,xi=["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2","abs","acos","acosh","asin","asinh","atan","atanh","atan2","cbrt","ceil","cos","cosh","exp","expm1","floor","fround","hypot","log","log1p","log10","log2","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh"],Os=new RegExp(["[01234567890\\.\\*\\-\\+\\/\\(\\)x ,]"].concat(xi).join("|"),"g");function Ss(r){const t=r.match(Os);for(let e=t.length-1;e>=0;--e)xi.indexOf(t[e])>=0&&(t[e]=`Math.${t[e]}`);return r=t.join(""),new Function("x",`return ${r};`)}class ze{constructor(t){var e;if(this.order=w.Late,t.path)if(typeof t.path=="function")this.path=t.path;else try{this.path=Ss(t.path)}catch{this.path=null}else this.path=i=>i;this.list=new Nt(!1),this.list.reset(z.createList(t.speed)),this.minMult=(e=t.minMult)!==null&&e!==void 0?e:1}initParticles(t){let e=t;for(;e;){e.config.initRotation=e.rotation,e.config.initPosition?e.config.initPosition.copyFrom(e.position):e.config.initPosition=new P(e.x,e.y),e.config.movement=0;const i=Math.random()*(1-this.minMult)+this.minMult;e.config.speedMult=i,e=e.next}}updateParticle(t,e){const i=this.list.interpolate(t.agePercent)*t.config.speedMult;t.config.movement+=i*e,ct.x=t.config.movement,ct.y=this.path(ct.x),K(t.config.initRotation,ct),t.position.x=t.config.initPosition.x+ct.x,t.position.y=t.config.initPosition.y+ct.y}}ze.type="movePath";ze.editorConfig=null;class We{constructor(){this.order=w.Spawn}initParticles(t){}}We.type="spawnPoint";We.editorConfig=null;class $e{constructor(t){this.order=w.Normal,this.textures=t.textures.map(e=>typeof e=="string"?wt(e):e)}initParticles(t){let e=t;for(;e;){const i=Math.floor(Math.random()*this.textures.length);e.texture=this.textures[i],e=e.next}}}$e.type="textureRandom";$e.editorConfig=null;class qe{constructor(t){this.order=w.Normal,this.minStart=t.minStart*j,this.maxStart=t.maxStart*j,this.minSpeed=t.minSpeed*j,this.maxSpeed=t.maxSpeed*j,this.accel=t.accel*j}initParticles(t){let e=t;for(;e;)this.minStart===this.maxStart?e.rotation+=this.maxStart:e.rotation+=Math.random()*(this.maxStart-this.minStart)+this.minStart,e.config.rotSpeed=Math.random()*(this.maxSpeed-this.minSpeed)+this.minSpeed,e=e.next}updateParticle(t,e){if(this.accel){const i=t.config.rotSpeed;t.config.rotSpeed+=this.accel*e,t.rotation+=(t.config.rotSpeed+i)/2*e}else t.rotation+=t.config.rotSpeed*e}}qe.type="rotation";qe.editorConfig=null;class Ye{constructor(t){this.order=w.Normal,this.min=t.min*j,this.max=t.max*j}initParticles(t){let e=t;for(;e;)this.min===this.max?e.rotation+=this.max:e.rotation+=Math.random()*(this.max-this.min)+this.min,e=e.next}}Ye.type="rotationStatic";Ye.editorConfig=null;class Ke{constructor(t){this.order=w.Late+1,this.rotation=(t.rotation||0)*j}initParticles(t){let e=t;for(;e;)e.rotation=this.rotation,e=e.next}}Ke.type="noRotation";Ke.editorConfig=null;class Ze{constructor(t){var e;this.order=w.Normal,this.list=new Nt(!1),this.list.reset(z.createList(t.scale)),this.minMult=(e=t.minMult)!==null&&e!==void 0?e:1}initParticles(t){let e=t;for(;e;){const i=Math.random()*(1-this.minMult)+this.minMult;e.config.scaleMult=i,e.scale.x=e.scale.y=this.list.first.value*i,e=e.next}}updateParticle(t){t.scale.x=t.scale.y=this.list.interpolate(t.agePercent)*t.config.scaleMult}}Ze.type="scale";Ze.editorConfig=null;class Je{constructor(t){this.order=w.Normal,this.min=t.min,this.max=t.max}initParticles(t){let e=t;for(;e;){const i=Math.random()*(this.max-this.min)+this.min;e.scale.x=e.scale.y=i,e=e.next}}}Je.type="scaleStatic";Je.editorConfig=null;class V{constructor(t){this.order=w.Spawn;const e=V.shapes[t.type];if(!e)throw new Error(`No shape found with type '${t.type}'`);this.shape=new e(t.data)}static registerShape(t,e){V.shapes[e||t.type]=t}initParticles(t){let e=t;for(;e;)this.shape.getRandPos(e),e=e.next}}V.type="spawnShape";V.editorConfig=null;V.shapes={};V.registerShape(Oe);V.registerShape(Le);V.registerShape(qt);V.registerShape(qt,"circle");class Qe{constructor(t){this.order=w.Normal,this.texture=typeof t.texture=="string"?wt(t.texture):t.texture}initParticles(t){let e=t;for(;e;)e.texture=this.texture,e=e.next}}Qe.type="textureSingle";Qe.editorConfig=null;class tr{constructor(t){var e;this.order=w.Late,this.list=new Nt(!1),this.list.reset(z.createList(t.speed)),this.minMult=(e=t.minMult)!==null&&e!==void 0?e:1}initParticles(t){let e=t;for(;e;){const i=Math.random()*(1-this.minMult)+this.minMult;e.config.speedMult=i,e.config.velocity?e.config.velocity.set(this.list.first.value*i,0):e.config.velocity=new P(this.list.first.value*i,0),K(e.rotation,e.config.velocity),e=e.next}}updateParticle(t,e){const i=this.list.interpolate(t.agePercent)*t.config.speedMult,n=t.config.velocity;ws(n),_i(n,i),t.x+=n.x*e,t.y+=n.y*e}}tr.type="moveSpeed";tr.editorConfig=null;class er{constructor(t){this.order=w.Late,this.min=t.min,this.max=t.max}initParticles(t){let e=t;for(;e;){const i=Math.random()*(this.max-this.min)+this.min;e.config.velocity?e.config.velocity.set(i,0):e.config.velocity=new P(i,0),K(e.rotation,e.config.velocity),e=e.next}}updateParticle(t,e){const i=t.config.velocity;t.x+=i.x*e,t.y+=i.y*e}}er.type="moveSpeedStatic";er.editorConfig=null;function Vs(r,t){var e,i,n,s,a,o,h,u,l,f,c,d,p,m,v,y,R,C,M,k,B;if("behaviors"in r)return r;const T={lifetime:r.lifetime,ease:r.ease,particlesPerWave:r.particlesPerWave,frequency:r.frequency,spawnChance:r.spawnChance,emitterLifetime:r.emitterLifetime,maxParticles:r.maxParticles,addAtBack:r.addAtBack,pos:r.pos,emit:r.emit,autoUpdate:r.autoUpdate,behaviors:[]};if(r.alpha)if("start"in r.alpha)if(r.alpha.start===r.alpha.end)r.alpha.start!==1&&T.behaviors.push({type:"alphaStatic",config:{alpha:r.alpha.start}});else{const b={list:[{time:0,value:r.alpha.start},{time:1,value:r.alpha.end}]};T.behaviors.push({type:"alpha",config:{alpha:b}})}else r.alpha.list.length===1?r.alpha.list[0].value!==1&&T.behaviors.push({type:"alphaStatic",config:{alpha:r.alpha.list[0].value}}):T.behaviors.push({type:"alpha",config:{alpha:r.alpha}});if(r.acceleration&&(r.acceleration.x||r.acceleration.y)){let b,G;"start"in r.speed?(b=r.speed.start*((e=r.speed.minimumSpeedMultiplier)!==null&&e!==void 0?e:1),G=r.speed.start):(b=r.speed.list[0].value*((i=r.minimumSpeedMultiplier)!==null&&i!==void 0?i:1),G=r.speed.list[0].value),T.behaviors.push({type:"moveAcceleration",config:{accel:r.acceleration,minStart:b,maxStart:G,rotate:!r.noRotation,maxSpeed:r.maxSpeed}})}else if(!((n=r.extraData)===null||n===void 0)&&n.path){let b,G;"start"in r.speed?(G=(s=r.speed.minimumSpeedMultiplier)!==null&&s!==void 0?s:1,r.speed.start===r.speed.end?b={list:[{time:0,value:r.speed.start}]}:b={list:[{time:0,value:r.speed.start},{time:1,value:r.speed.end}]}):(b=r.speed,G=(a=r.minimumSpeedMultiplier)!==null&&a!==void 0?a:1),T.behaviors.push({type:"movePath",config:{path:r.extraData.path,speed:b,minMult:G}})}else if(r.speed)if("start"in r.speed)if(r.speed.start===r.speed.end)T.behaviors.push({type:"moveSpeedStatic",config:{min:r.speed.start*((o=r.speed.minimumSpeedMultiplier)!==null&&o!==void 0?o:1),max:r.speed.start}});else{const b={list:[{time:0,value:r.speed.start},{time:1,value:r.speed.end}]};T.behaviors.push({type:"moveSpeed",config:{speed:b,minMult:r.speed.minimumSpeedMultiplier}})}else r.speed.list.length===1?T.behaviors.push({type:"moveSpeedStatic",config:{min:r.speed.list[0].value*((h=r.minimumSpeedMultiplier)!==null&&h!==void 0?h:1),max:r.speed.list[0].value}}):T.behaviors.push({type:"moveSpeed",config:{speed:r.speed,minMult:(u=r.minimumSpeedMultiplier)!==null&&u!==void 0?u:1}});if(r.scale)if("start"in r.scale){const b=(l=r.scale.minimumScaleMultiplier)!==null&&l!==void 0?l:1;if(r.scale.start===r.scale.end)T.behaviors.push({type:"scaleStatic",config:{min:r.scale.start*b,max:r.scale.start}});else{const G={list:[{time:0,value:r.scale.start},{time:1,value:r.scale.end}]};T.behaviors.push({type:"scale",config:{scale:G,minMult:b}})}}else if(r.scale.list.length===1){const b=(f=r.minimumScaleMultiplier)!==null&&f!==void 0?f:1,G=r.scale.list[0].value;T.behaviors.push({type:"scaleStatic",config:{min:G*b,max:G}})}else T.behaviors.push({type:"scale",config:{scale:r.scale,minMult:(c=r.minimumScaleMultiplier)!==null&&c!==void 0?c:1}});if(r.color)if("start"in r.color)if(r.color.start===r.color.end)r.color.start!=="ffffff"&&T.behaviors.push({type:"colorStatic",config:{color:r.color.start}});else{const b={list:[{time:0,value:r.color.start},{time:1,value:r.color.end}]};T.behaviors.push({type:"color",config:{color:b}})}else r.color.list.length===1?r.color.list[0].value!=="ffffff"&&T.behaviors.push({type:"colorStatic",config:{color:r.color.list[0].value}}):T.behaviors.push({type:"color",config:{color:r.color}});if(r.rotationAcceleration||((d=r.rotationSpeed)===null||d===void 0?void 0:d.min)||((p=r.rotationSpeed)===null||p===void 0?void 0:p.max)?T.behaviors.push({type:"rotation",config:{accel:r.rotationAcceleration||0,minSpeed:((m=r.rotationSpeed)===null||m===void 0?void 0:m.min)||0,maxSpeed:((v=r.rotationSpeed)===null||v===void 0?void 0:v.max)||0,minStart:((y=r.startRotation)===null||y===void 0?void 0:y.min)||0,maxStart:((R=r.startRotation)===null||R===void 0?void 0:R.max)||0}}):(((C=r.startRotation)===null||C===void 0?void 0:C.min)||((M=r.startRotation)===null||M===void 0?void 0:M.max))&&T.behaviors.push({type:"rotationStatic",config:{min:((k=r.startRotation)===null||k===void 0?void 0:k.min)||0,max:((B=r.startRotation)===null||B===void 0?void 0:B.max)||0}}),r.noRotation&&T.behaviors.push({type:"noRotation",config:{}}),r.blendMode&&r.blendMode!=="normal"&&T.behaviors.push({type:"blendMode",config:{blendMode:r.blendMode}}),Array.isArray(t)&&typeof t[0]!="string"&&"framerate"in t[0]){for(let b=0;b!!n[r.toLowerCase()]:r=>!!n[r]}const ao="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",ho=Pn(ao),po="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",go=Pn(po);function kr(e){return!!e||e===""}function Mn(e){if(N(e)){const t={};for(let n=0;n{if(n){const s=n.split(_o);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Rn(e){let t="";if(se(e))t=e;else if(N(e))for(let n=0;nXe(n,t))}const af=e=>se(e)?e:e==null?"":N(e)||oe(e)&&(e.toString===Dr||!V(e.toString))?JSON.stringify(e,Hr,2):String(e),Hr=(e,t)=>t&&t.__v_isRef?Hr(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:ut(t)?{[`Set(${t.size})`]:[...t.values()]}:oe(t)&&!N(t)&&!Ur(t)?String(t):t,X={},yt=[],ve=()=>{},Co=()=>!1,xo=/^on[^a-z]/,Gt=e=>xo.test(e),Es=e=>e.startsWith("onUpdate:"),ie=Object.assign,ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Eo=Object.prototype.hasOwnProperty,J=(e,t)=>Eo.call(e,t),N=Array.isArray,Ct=e=>en(e)==="[object Map]",ut=e=>en(e)==="[object Set]",Zs=e=>en(e)==="[object Date]",V=e=>typeof e=="function",se=e=>typeof e=="string",Wt=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Ts=e=>oe(e)&&V(e.then)&&V(e.catch),Dr=Object.prototype.toString,en=e=>Dr.call(e),wo=e=>en(e).slice(8,-1),Ur=e=>en(e)==="[object Object]",As=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ht=Pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},To=/-(\w)/g,Te=In(e=>e.replace(To,(t,n)=>n?n.toUpperCase():"")),Ao=/\B([A-Z])/g,Oe=In(e=>e.replace(Ao,"-$1").toLowerCase()),Sn=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),gn=In(e=>e?`on${Sn(e)}`:""),At=(e,t)=>!Object.is(e,t),xt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ze=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Qs;const Fo=()=>Qs||(Qs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let be;class $r{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&be&&(this.parent=be,this.index=(be.scopes||(be.scopes=[])).push(this)-1)}run(t){if(this.active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Kr=e=>(e.w&Qe)>0,Vr=e=>(e.n&Qe)>0,vo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||u>=s)&&l.push(c)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":N(e)?As(n)&&l.push(o.get("length")):(l.push(o.get(ot)),Ct(e)&&l.push(o.get(is)));break;case"delete":N(e)||(l.push(o.get(ot)),Ct(e)&&l.push(o.get(is)));break;case"set":Ct(e)&&l.push(o.get(ot));break}if(l.length===1)l[0]&&os(l[0]);else{const c=[];for(const u of l)u&&c.push(...u);os(Fs(c))}}function os(e,t){const n=N(e)?e:[...e];for(const s of n)s.computed&&er(s);for(const s of n)s.computed||er(s)}function er(e,t){(e!==Fe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Mo=Pn("__proto__,__v_isRef,__isVue"),Jr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wt)),Ro=Bn(),Oo=Bn(!1,!0),Io=Bn(!0),So=Bn(!0,!0),tr=No();function No(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let i=0,o=this.length;i{e[t]=function(...n){at();const s=Y(this)[t].apply(this,n);return dt(),s}}),e}function Bn(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?ei:Gr:t?Qr:Zr).get(s))return s;const o=N(s);if(!e&&o&&J(tr,r))return Reflect.get(tr,r,i);const l=Reflect.get(s,r,i);return(Wt(r)?Jr.has(r):Mo(r))||(e||xe(s,"get",r),t)?l:ce(l)?o&&As(r)?l:l.value:oe(l)?e?ti(l):Ps(l):l}}const Bo=Yr(),Lo=Yr(!0);function Yr(e=!1){return function(n,s,r,i){let o=n[s];if(qt(o)&&ce(o)&&!ce(r))return!1;if(!e&&!qt(r)&&(ls(r)||(r=Y(r),o=Y(o)),!N(n)&&ce(o)&&!ce(r)))return o.value=r,!0;const l=N(n)&&As(s)?Number(s)e,Ln=e=>Reflect.getPrototypeOf(e);function rn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),i=Y(t);n||(t!==i&&xe(r,"get",t),xe(r,"get",i));const{has:o}=Ln(r),l=s?vs:n?Ms:Jt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function on(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return t||(e!==r&&xe(s,"has",e),xe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ln(e,t=!1){return e=e.__v_raw,!t&&xe(Y(e),"iterate",ot),Reflect.get(e,"size",e)}function nr(e){e=Y(e);const t=Y(this);return Ln(t).has.call(t,e)||(t.add(e),He(t,"add",e,e)),this}function sr(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=Ln(n);let i=s.call(n,e);i||(e=Y(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?At(t,o)&&He(n,"set",e,t):He(n,"add",e,t),this}function rr(e){const t=Y(this),{has:n,get:s}=Ln(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&He(t,"delete",e,void 0),i}function ir(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function cn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=Y(o),c=t?vs:e?Ms:Jt;return!e&&xe(l,"iterate",ot),o.forEach((u,p)=>s.call(r,c(u),c(p),i))}}function fn(e,t,n){return function(...s){const r=this.__v_raw,i=Y(r),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),p=n?vs:t?Ms:Jt;return!t&&xe(i,"iterate",c?is:ot),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[p(h[0]),p(h[1])]:p(h),done:g}},[Symbol.iterator](){return this}}}}function je(e){return function(...t){return e==="delete"?!1:this}}function jo(){const e={get(i){return rn(this,i)},get size(){return ln(this)},has:on,add:nr,set:sr,delete:rr,clear:ir,forEach:cn(!1,!1)},t={get(i){return rn(this,i,!1,!0)},get size(){return ln(this)},has:on,add:nr,set:sr,delete:rr,clear:ir,forEach:cn(!1,!0)},n={get(i){return rn(this,i,!0)},get size(){return ln(this,!0)},has(i){return on.call(this,i,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:cn(!0,!1)},s={get(i){return rn(this,i,!0,!0)},get size(){return ln(this,!0)},has(i){return on.call(this,i,!0)},add:je("add"),set:je("set"),delete:je("delete"),clear:je("clear"),forEach:cn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=fn(i,!1,!1),n[i]=fn(i,!0,!1),t[i]=fn(i,!1,!0),s[i]=fn(i,!0,!0)}),[e,n,t,s]}const[Ko,Vo,Wo,qo]=jo();function kn(e,t){const n=t?e?qo:Wo:e?Vo:Ko;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,i)}const Jo={get:kn(!1,!1)},Yo={get:kn(!1,!0)},zo={get:kn(!0,!1)},Xo={get:kn(!0,!0)},Zr=new WeakMap,Qr=new WeakMap,Gr=new WeakMap,ei=new WeakMap;function Zo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qo(e){return e.__v_skip||!Object.isExtensible(e)?0:Zo(wo(e))}function Ps(e){return qt(e)?e:Hn(e,!1,zr,Jo,Zr)}function Go(e){return Hn(e,!1,Uo,Yo,Qr)}function ti(e){return Hn(e,!0,Xr,zo,Gr)}function _f(e){return Hn(e,!0,$o,Xo,ei)}function Hn(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Qo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Et(e){return qt(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function ni(e){return Et(e)||qt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function si(e){return Cn(e,"__v_skip",!0),e}const Jt=e=>oe(e)?Ps(e):e,Ms=e=>oe(e)?ti(e):e;function Rs(e){Ye&&Fe&&(e=Y(e),qr(e.dep||(e.dep=Fs())))}function Dn(e,t){e=Y(e),e.dep&&os(e.dep)}function ce(e){return!!(e&&e.__v_isRef===!0)}function Xn(e){return ri(e,!1)}function bf(e){return ri(e,!0)}function ri(e,t){return ce(e)?e:new el(e,t)}class el{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Jt(t)}get value(){return Rs(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),At(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Jt(t),Dn(this))}}function yf(e){Dn(e)}function tl(e){return ce(e)?e.value:e}const nl={get:(e,t,n)=>tl(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ce(r)&&!ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ii(e){return Et(e)?e:new Proxy(e,nl)}class sl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Rs(this),()=>Dn(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Cf(e){return new sl(e)}function xf(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=il(e,n);return t}class rl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function il(e,t,n){const s=e[t];return ce(s)?s:new rl(e,t,n)}class ol{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Nn(t,()=>{this._dirty||(this._dirty=!0,Dn(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return Rs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ll(e,t,n=!1){let s,r;const i=V(e);return i?(s=e,r=ve):(s=e.get,r=e.set),new ol(s,r,i||!r,n)}const Dt=[];function cl(e,...t){at();const n=Dt.length?Dt[Dt.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=fl();if(s)ke(s,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${Wi(n,i.type)}>`).join(` +`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` +`,...ul(r)),console.warn(...i)}dt()}function fl(){let e=Dt[Dt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function ul(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...al(n))}),t}function al({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${Wi(e.component,e.type,s)}`,i=">"+n;return e.props?[r,...dl(e.props),i]:[r+i]}function dl(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...oi(s,e[s]))}),n.length>3&&t.push(" ..."),t}function oi(e,t,n){return se(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ce(t)?(t=oi(e,Y(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Y(t),n?t:[`${e}=`,t])}function ke(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Mt(i,t,n)}return r}function we(e,t,n,s){if(V(e)){const i=ke(e,t,n,s);return i&&Ts(i)&&i.catch(o=>{Mt(o,t,n)}),i}const r=[];for(let i=0;i>>1;Yt(Ce[s])Be&&Ce.splice(t,1)}function ui(e,t,n,s){N(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),fi()}function ml(e){ui(e,Lt,Ut,_t)}function ai(e){ui(e,We,$t,bt)}function Un(e,t=null){if(Ut.length){for(fs=t,Lt=[...new Set(Ut)],Ut.length=0,_t=0;_tYt(n)-Yt(s)),bt=0;bte.id==null?1/0:e.id;function di(e){cs=!1,xn=!0,Un(e),Ce.sort((n,s)=>Yt(n)-Yt(s));const t=ve;try{for(Be=0;BeIt.emit(r,...i)),un=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{_l(i,t)}),setTimeout(()=>{It||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,un=[])},3e3)):un=[]}function bl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||X;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const p=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[p]||X;g&&(r=n.map(E=>E.trim())),h&&(r=n.map(Ze))}let l,c=s[l=gn(t)]||s[l=gn(Te(t))];!c&&i&&(c=s[l=gn(Oe(t))]),c&&we(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,we(u,e,6,r)}}function hi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!V(e)){const c=u=>{const p=hi(u,t,!0);p&&(l=!0,ie(o,p))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(s.set(e,null),null):(N(i)?i.forEach(c=>o[c]=null):ie(o,i),s.set(e,o),o)}function $n(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Oe(t))||J(e,t))}let ae=null,jn=null;function zt(e){const t=ae;return ae=e,jn=e&&e.type.__scopeId||null,t}function Ef(e){jn=e}function wf(){jn=null}const Tf=e=>pi;function pi(e,t=ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&br(-1);const i=zt(t),o=e(...r);return zt(i),s._d&&br(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function mn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:u,render:p,renderCache:h,data:g,setupState:E,ctx:v,inheritAttrs:H}=e;let I,_;const d=zt(e);try{if(n.shapeFlag&4){const w=r||s;I=ye(p.call(w,w,h,i,E,g,v)),_=c}else{const w=t;I=ye(w.length>1?w(i,{attrs:c,slots:l,emit:u}):w(i,null)),_=t.props?c:Cl(c)}}catch(w){Kt.length=0,Mt(w,e,1),I=ne(he)}let b=I;if(_&&H!==!1){const w=Object.keys(_),{shapeFlag:R}=b;w.length&&R&7&&(o&&w.some(Es)&&(_=xl(_,o)),b=De(b,_))}return n.dirs&&(b=De(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),I=b,zt(d),I}function yl(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Gt(n))&&((t||(t={}))[n]=e[n]);return t},xl=(e,t)=>{const n={};for(const s in e)(!Es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function El(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?or(s,o,u):!!o;if(c&8){const p=t.dynamicProps;for(let h=0;he.__isSuspense,wl={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,u){e==null?Tl(t,n,s,r,i,o,l,c,u):Al(e,t,n,s,r,o,l,c,u)},hydrate:Fl,create:Ns,normalize:vl},Af=wl;function Xt(e,t){const n=e.props&&e.props[t];V(n)&&n()}function Tl(e,t,n,s,r,i,o,l,c){const{p:u,o:{createElement:p}}=c,h=p("div"),g=e.suspense=Ns(e,r,s,t,h,n,i,o,l,c);u(null,g.pendingBranch=e.ssContent,h,null,s,g,i,o),g.deps>0?(Xt(e,"onPending"),Xt(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),wt(g,e.ssFallback)):g.resolve()}function Al(e,t,n,s,r,i,o,l,{p:c,um:u,o:{createElement:p}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const g=t.ssContent,E=t.ssFallback,{activeBranch:v,pendingBranch:H,isInFallback:I,isHydrating:_}=h;if(H)h.pendingBranch=g,Re(g,H)?(c(H,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():I&&(c(v,E,n,s,r,null,i,o,l),wt(h,E))):(h.pendingId++,_?(h.isHydrating=!1,h.activeBranch=H):u(H,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=p("div"),I?(c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():(c(v,E,n,s,r,null,i,o,l),wt(h,E))):v&&Re(g,v)?(c(v,g,n,s,r,h,i,o,l),h.resolve(!0)):(c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0&&h.resolve()));else if(v&&Re(g,v))c(v,g,n,s,r,h,i,o,l),wt(h,g);else if(Xt(t,"onPending"),h.pendingBranch=g,h.pendingId++,c(null,g,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0)h.resolve();else{const{timeout:d,pendingId:b}=h;d>0?setTimeout(()=>{h.pendingId===b&&h.fallback(E)},d):d===0&&h.fallback(E)}}function Ns(e,t,n,s,r,i,o,l,c,u,p=!1){const{p:h,m:g,um:E,n:v,o:{parentNode:H,remove:I}}=u,_=Ze(e.props&&e.props.timeout),d={vnode:e,parent:t,parentComponent:n,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(b=!1){const{vnode:w,activeBranch:R,pendingBranch:B,pendingId:D,effects:T,parentComponent:L,container:U}=d;if(d.isHydrating)d.isHydrating=!1;else if(!b){const q=R&&B.transition&&B.transition.mode==="out-in";q&&(R.transition.afterLeave=()=>{D===d.pendingId&&g(B,U,k,0)});let{anchor:k}=d;R&&(k=v(R),E(R,L,d,!0)),q||g(B,U,k,0)}wt(d,B),d.pendingBranch=null,d.isInFallback=!1;let K=d.parent,O=!1;for(;K;){if(K.pendingBranch){K.effects.push(...T),O=!0;break}K=K.parent}O||ai(T),d.effects=[],Xt(w,"onResolve")},fallback(b){if(!d.pendingBranch)return;const{vnode:w,activeBranch:R,parentComponent:B,container:D,isSVG:T}=d;Xt(w,"onFallback");const L=v(R),U=()=>{!d.isInFallback||(h(null,b,D,L,B,null,T,l,c),wt(d,b))},K=b.transition&&b.transition.mode==="out-in";K&&(R.transition.afterLeave=U),d.isInFallback=!0,E(R,B,null,!0),K||U()},move(b,w,R){d.activeBranch&&g(d.activeBranch,b,w,R),d.container=b},next(){return d.activeBranch&&v(d.activeBranch)},registerDep(b,w){const R=!!d.pendingBranch;R&&d.deps++;const B=b.vnode.el;b.asyncDep.catch(D=>{Mt(D,b,0)}).then(D=>{if(b.isUnmounted||d.isUnmounted||d.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:T}=b;ms(b,D,!1),B&&(T.el=B);const L=!B&&b.subTree.el;w(b,T,H(B||b.subTree.el),B?null:v(b.subTree),d,o,c),L&&I(L),Ss(b,T.el),R&&--d.deps===0&&d.resolve()})},unmount(b,w){d.isUnmounted=!0,d.activeBranch&&E(d.activeBranch,n,b,w),d.pendingBranch&&E(d.pendingBranch,n,b,w)}};return d}function Fl(e,t,n,s,r,i,o,l,c){const u=t.suspense=Ns(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),p=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(),p}function vl(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=lr(s?n.default:n),e.ssFallback=s?lr(n.fallback):ne(he)}function lr(e){let t;if(V(e)){const n=ct&&e._c;n&&(e._d=!1,Ks()),e=e(),n&&(e._d=!0,t=me,Ni())}return N(e)&&(e=yl(e)),e=ye(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function mi(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):ai(e)}function wt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,Ss(s,r))}function Pl(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function _n(e,t,n=!1){const s=le||ae;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&V(t)?t.call(s.proxy):t}}function Ff(e,t){return tn(e,null,t)}function Ml(e,t){return tn(e,null,{flush:"post"})}function vf(e,t){return tn(e,null,{flush:"sync"})}const cr={};function bn(e,t,n){return tn(e,t,n)}function tn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=X){const l=le;let c,u=!1,p=!1;if(ce(e)?(c=()=>e.value,u=ls(e)):Et(e)?(c=()=>e,s=!0):N(e)?(p=!0,u=e.some(_=>Et(_)||ls(_)),c=()=>e.map(_=>{if(ce(_))return _.value;if(Et(_))return it(_);if(V(_))return ke(_,l,2)})):V(e)?t?c=()=>ke(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),we(e,l,3,[g])}:c=ve,t&&s){const _=c;c=()=>it(_())}let h,g=_=>{h=I.onStop=()=>{ke(_,l,4)}};if(vt)return g=ve,t?n&&we(t,l,3,[c(),p?[]:void 0,g]):c(),ve;let E=p?[]:cr;const v=()=>{if(!!I.active)if(t){const _=I.run();(s||u||(p?_.some((d,b)=>At(d,E[b])):At(_,E)))&&(h&&h(),we(t,l,3,[_,E===cr?void 0:E,g]),E=_)}else I.run()};v.allowRecurse=!!t;let H;r==="sync"?H=v:r==="post"?H=()=>fe(v,l&&l.suspense):H=()=>ml(v);const I=new Nn(c,H);return t?n?v():E=I.run():r==="post"?fe(I.run.bind(I),l&&l.suspense):I.run(),()=>{I.stop(),l&&l.scope&&ws(l.scope.effects,I)}}function Rl(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?_i(s,e):()=>s[e]:e.bind(s,s);let i;V(t)?i=t:(i=t.handler,n=t);const o=le;Ge(this);const l=tn(r,i.bind(s),n);return o?Ge(o):ze(),l}function _i(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{it(n,t)});else if(Ur(e))for(const n in e)it(e[n],t);return e}function bi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vn(()=>{e.isMounted=!0}),ks(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],Ol={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},setup(e,{slots:t}){const n=ht(),s=bi();let r;return()=>{const i=t.default&&Bs(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const H of i)if(H.type!==he){o=H;break}}const l=Y(e),{mode:c}=l;if(s.isLeaving)return Zn(o);const u=fr(o);if(!u)return Zn(o);const p=Zt(u,l,s,n);Ft(u,p);const h=n.subTree,g=h&&fr(h);let E=!1;const{getTransitionKey:v}=u.type;if(v){const H=v();r===void 0?r=H:H!==r&&(r=H,E=!0)}if(g&&g.type!==he&&(!Re(u,g)||E)){const H=Zt(g,l,s,n);if(Ft(g,H),c==="out-in")return s.isLeaving=!0,H.afterLeave=()=>{s.isLeaving=!1,n.update()},Zn(o);c==="in-out"&&u.type!==he&&(H.delayLeave=(I,_,d)=>{const b=Ci(s,g);b[String(g.key)]=g,I._leaveCb=()=>{_(),I._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=d})}return o}}},yi=Ol;function Ci(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Zt(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:h,onLeave:g,onAfterLeave:E,onLeaveCancelled:v,onBeforeAppear:H,onAppear:I,onAfterAppear:_,onAppearCancelled:d}=t,b=String(e.key),w=Ci(n,e),R=(T,L)=>{T&&we(T,s,9,L)},B=(T,L)=>{const U=L[1];R(T,L),N(T)?T.every(K=>K.length<=1)&&U():T.length<=1&&U()},D={mode:i,persisted:o,beforeEnter(T){let L=l;if(!n.isMounted)if(r)L=H||l;else return;T._leaveCb&&T._leaveCb(!0);const U=w[b];U&&Re(e,U)&&U.el._leaveCb&&U.el._leaveCb(),R(L,[T])},enter(T){let L=c,U=u,K=p;if(!n.isMounted)if(r)L=I||c,U=_||u,K=d||p;else return;let O=!1;const q=T._enterCb=k=>{O||(O=!0,k?R(K,[T]):R(U,[T]),D.delayedLeave&&D.delayedLeave(),T._enterCb=void 0)};L?B(L,[T,q]):q()},leave(T,L){const U=String(e.key);if(T._enterCb&&T._enterCb(!0),n.isUnmounting)return L();R(h,[T]);let K=!1;const O=T._leaveCb=q=>{K||(K=!0,L(),q?R(v,[T]):R(E,[T]),T._leaveCb=void 0,w[U]===e&&delete w[U])};w[U]=e,g?B(g,[T,O]):O()},clone(T){return Zt(T,t,n,s)}};return D}function Zn(e){if(nn(e))return e=De(e),e.children=null,e}function fr(e){return nn(e)?e.children?e.children[0]:void 0:e}function Ft(e,t){e.shapeFlag&6&&e.component?Ft(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bs(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function Pf(e){V(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,u,p=0;const h=()=>(p++,c=null,g()),g=()=>{let E;return c||(E=c=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((H,I)=>{l(v,()=>H(h()),()=>I(v),p+1)});throw v}).then(v=>E!==c&&c?c:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return xi({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return u},setup(){const E=le;if(u)return()=>Qn(u,E);const v=d=>{c=null,Mt(d,E,13,!s)};if(o&&E.suspense||vt)return g().then(d=>()=>Qn(d,E)).catch(d=>(v(d),()=>s?ne(s,{error:d}):null));const H=Xn(!1),I=Xn(),_=Xn(!!r);return r&&setTimeout(()=>{_.value=!1},r),i!=null&&setTimeout(()=>{if(!H.value&&!I.value){const d=new Error(`Async component timed out after ${i}ms.`);v(d),I.value=d}},i),g().then(()=>{H.value=!0,E.parent&&nn(E.parent.vnode)&&Is(E.parent.update)}).catch(d=>{v(d),I.value=d}),()=>{if(H.value&&u)return Qn(u,E);if(I.value&&s)return ne(s,{error:I.value});if(n&&!_.value)return ne(n)}}})}function Qn(e,{vnode:{ref:t,props:n,children:s,shapeFlag:r},parent:i}){const o=ne(e,n,s);return o.ref=t,o}const nn=e=>e.type.__isKeepAlive,Il={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ht(),s=n.ctx;if(!s.renderer)return()=>{const d=t.default&&t.default();return d&&d.length===1?d[0]:d};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:u,um:p,o:{createElement:h}}}=s,g=h("div");s.activate=(d,b,w,R,B)=>{const D=d.component;u(d,b,w,0,l),c(D.vnode,d,b,w,D,l,R,d.slotScopeIds,B),fe(()=>{D.isDeactivated=!1,D.a&&xt(D.a);const T=d.props&&d.props.onVnodeMounted;T&&ge(T,D.parent,d)},l)},s.deactivate=d=>{const b=d.component;u(d,g,null,1,l),fe(()=>{b.da&&xt(b.da);const w=d.props&&d.props.onVnodeUnmounted;w&&ge(w,b.parent,d),b.isDeactivated=!0},l)};function E(d){Gn(d),p(d,n,l,!0)}function v(d){r.forEach((b,w)=>{const R=vn(b.type);R&&(!d||!d(R))&&H(w)})}function H(d){const b=r.get(d);!o||b.type!==o.type?E(b):o&&Gn(o),r.delete(d),i.delete(d)}bn(()=>[e.include,e.exclude],([d,b])=>{d&&v(w=>kt(d,w)),b&&v(w=>!kt(b,w))},{flush:"post",deep:!0});let I=null;const _=()=>{I!=null&&r.set(I,es(n.subTree))};return Vn(_),Ls(_),ks(()=>{r.forEach(d=>{const{subTree:b,suspense:w}=n,R=es(b);if(d.type===R.type){Gn(R);const B=R.component.da;B&&fe(B,w);return}E(d)})}),()=>{if(I=null,!t.default)return null;const d=t.default(),b=d[0];if(d.length>1)return o=null,d;if(!ft(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let w=es(b);const R=w.type,B=vn(lt(w)?w.type.__asyncResolved||{}:R),{include:D,exclude:T,max:L}=e;if(D&&(!B||!kt(D,B))||T&&B&&kt(T,B))return o=w,b;const U=w.key==null?R:w.key,K=r.get(U);return w.el&&(w=De(w),b.shapeFlag&128&&(b.ssContent=w)),I=U,K?(w.el=K.el,w.component=K.component,w.transition&&Ft(w,w.transition),w.shapeFlag|=512,i.delete(U),i.add(U)):(i.add(U),L&&i.size>parseInt(L,10)&&H(i.values().next().value)),w.shapeFlag|=256,o=w,gi(b.type)?b:w}}},Mf=Il;function kt(e,t){return N(e)?e.some(n=>kt(n,t)):se(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Sl(e,t){Ei(e,"a",t)}function Nl(e,t){Ei(e,"da",t)}function Ei(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)nn(r.parent.vnode)&&Bl(s,t,n,r),r=r.parent}}function Bl(e,t,n,s){const r=Kn(t,e,s,!0);Hs(()=>{ws(s[t],r)},n)}function Gn(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function es(e){return e.shapeFlag&128?e.ssContent:e}function Kn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;at(),Ge(n);const l=we(t,n,e,o);return ze(),dt(),l});return s?r.unshift(i):r.push(i),i}}const Ue=e=>(t,n=le)=>(!vt||e==="sp")&&Kn(e,t,n),Ll=Ue("bm"),Vn=Ue("m"),kl=Ue("bu"),Ls=Ue("u"),ks=Ue("bum"),Hs=Ue("um"),Hl=Ue("sp"),Dl=Ue("rtg"),Ul=Ue("rtc");function $l(e,t=le){Kn("ec",e,t)}function Rf(e,t){const n=ae;if(n===null)return e;const s=qn(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lft(t)?!(t.type===he||t.type===ue&&!Ti(t.children)):!0)?e:null}function kf(e){const t={};for(const n in e)t[gn(n)]=e[n];return t}const us=e=>e?$i(e)?qn(e)||e.proxy:us(e.parent):null,wn=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>us(e.parent),$root:e=>us(e.root),$emit:e=>e.emit,$options:e=>Fi(e),$forceUpdate:e=>e.f||(e.f=()=>Is(e.update)),$nextTick:e=>e.n||(e.n=ci.bind(e.proxy)),$watch:e=>Rl.bind(e)}),as={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const E=o[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==X&&J(s,t))return o[t]=1,s[t];if(r!==X&&J(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&J(u,t))return o[t]=3,i[t];if(n!==X&&J(n,t))return o[t]=4,n[t];ds&&(o[t]=0)}}const p=wn[t];let h,g;if(p)return t==="$attrs"&&xe(e,"get",t),p(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==X&&J(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,J(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==X&&J(r,t)?(r[t]=n,!0):s!==X&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==X&&J(e,o)||t!==X&&J(t,o)||(l=i[0])&&J(l,o)||J(s,o)||J(wn,o)||J(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Kl=ie({},as,{get(e,t){if(t!==Symbol.unscopables)return as.get(e,t,e)},has(e,t){return t[0]!=="_"&&!ho(t)}});let ds=!0;function Vl(e){const t=Fi(e),n=e.proxy,s=e.ctx;ds=!1,t.beforeCreate&&ar(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:p,beforeMount:h,mounted:g,beforeUpdate:E,updated:v,activated:H,deactivated:I,beforeDestroy:_,beforeUnmount:d,destroyed:b,unmounted:w,render:R,renderTracked:B,renderTriggered:D,errorCaptured:T,serverPrefetch:L,expose:U,inheritAttrs:K,components:O,directives:q,filters:k}=t;if(u&&Wl(u,s,null,e.appContext.config.unwrapInjectedRef),o)for(const re in o){const ee=o[re];V(ee)&&(s[re]=ee.bind(n))}if(r){const re=r.call(n,n);oe(re)&&(e.data=Ps(re))}if(ds=!0,i)for(const re in i){const ee=i[re],Ie=V(ee)?ee.bind(n,n):V(ee.get)?ee.get.bind(n,n):ve,Jn=!V(ee)&&V(ee.set)?ee.set.bind(n):ve,Rt=yc({get:Ie,set:Jn});Object.defineProperty(s,re,{enumerable:!0,configurable:!0,get:()=>Rt.value,set:pt=>Rt.value=pt})}if(l)for(const re in l)Ai(l[re],s,n,re);if(c){const re=V(c)?c.call(n):c;Reflect.ownKeys(re).forEach(ee=>{Pl(ee,re[ee])})}p&&ar(p,e,"c");function Z(re,ee){N(ee)?ee.forEach(Ie=>re(Ie.bind(n))):ee&&re(ee.bind(n))}if(Z(Ll,h),Z(Vn,g),Z(kl,E),Z(Ls,v),Z(Sl,H),Z(Nl,I),Z($l,T),Z(Ul,B),Z(Dl,D),Z(ks,d),Z(Hs,w),Z(Hl,L),N(U))if(U.length){const re=e.exposed||(e.exposed={});U.forEach(ee=>{Object.defineProperty(re,ee,{get:()=>n[ee],set:Ie=>n[ee]=Ie})})}else e.exposed||(e.exposed={});R&&e.render===ve&&(e.render=R),K!=null&&(e.inheritAttrs=K),O&&(e.components=O),q&&(e.directives=q)}function Wl(e,t,n=ve,s=!1){N(e)&&(e=hs(e));for(const r in e){const i=e[r];let o;oe(i)?"default"in i?o=_n(i.from||r,i.default,!0):o=_n(i.from||r):o=_n(i),ce(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function ar(e,t,n){we(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ai(e,t,n,s){const r=s.includes(".")?_i(n,s):()=>n[s];if(se(e)){const i=t[e];V(i)&&bn(r,i)}else if(V(e))bn(r,e.bind(n));else if(oe(e))if(N(e))e.forEach(i=>Ai(i,t,n,s));else{const i=V(e.handler)?e.handler.bind(n):t[e.handler];V(i)&&bn(r,i,e)}}function Fi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Tn(c,u,o,!0)),Tn(c,t,o)),i.set(t,c),c}function Tn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Tn(e,i,n,!0),r&&r.forEach(o=>Tn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=ql[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ql={data:dr,props:st,emits:st,methods:st,computed:st,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:st,directives:st,watch:Yl,provide:dr,inject:Jl};function dr(e,t){return t?e?function(){return ie(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return st(hs(e),hs(t))}function hs(e){if(N(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const p=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,E]=Pi(h,t,!0);ie(o,g),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!i&&!c)return s.set(e,yt),yt;if(N(i))for(let p=0;p-1,E[1]=H<0||v-1||J(E,"default"))&&l.push(h)}}}const u=[o,l];return s.set(e,u),u}function hr(e){return e[0]!=="$"}function pr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function gr(e,t){return pr(e)===pr(t)}function mr(e,t){return N(t)?t.findIndex(n=>gr(n,e)):V(t)&&gr(t,e)?0:-1}const Mi=e=>e[0]==="_"||e==="$stable",$s=e=>N(e)?e.map(ye):[ye(e)],Zl=(e,t,n)=>{if(t._n)return t;const s=pi((...r)=>$s(t(...r)),n);return s._c=!1,s},Ri=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Mi(r))continue;const i=e[r];if(V(i))t[r]=Zl(r,i,s);else if(i!=null){const o=$s(i);t[r]=()=>o}}},Oi=(e,t)=>{const n=$s(t);e.slots.default=()=>n},Ql=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),Cn(t,"_",n)):Ri(t,e.slots={})}else e.slots={},t&&Oi(e,t);Cn(e.slots,Wn,1)},Gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=X;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ie(r,t),!n&&l===1&&delete r._):(i=!t.$stable,Ri(t,r)),o=t}else t&&(Oi(e,t),o={default:1});if(i)for(const l in r)!Mi(l)&&!(l in o)&&delete r[l]};function Ii(){return{app:null,config:{isNativeTag:Co,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ec=0;function tc(e,t){return function(s,r=null){V(s)||(s=Object.assign({},s)),r!=null&&!oe(r)&&(r=null);const i=Ii(),o=new Set;let l=!1;const c=i.app={_uid:ec++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:wc,get config(){return i.config},set config(u){},use(u,...p){return o.has(u)||(u&&V(u.install)?(o.add(u),u.install(c,...p)):V(u)&&(o.add(u),u(c,...p))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,p){return p?(i.components[u]=p,c):i.components[u]},directive(u,p){return p?(i.directives[u]=p,c):i.directives[u]},mount(u,p,h){if(!l){const g=ne(s,r);return g.appContext=i,p&&t?t(g,u):e(g,u,h),l=!0,c._container=u,u.__vue_app__=c,qn(g.component)||g.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,p){return i.provides[u]=p,c}};return c}}function An(e,t,n,s,r=!1){if(N(e)){e.forEach((g,E)=>An(g,t&&(N(t)?t[E]:t),n,s,r));return}if(lt(s)&&!r)return;const i=s.shapeFlag&4?qn(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,p=l.refs===X?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(se(u)?(p[u]=null,J(h,u)&&(h[u]=null)):ce(u)&&(u.value=null)),V(c))ke(c,l,12,[o,p]);else{const g=se(c),E=ce(c);if(g||E){const v=()=>{if(e.f){const H=g?p[c]:c.value;r?N(H)&&ws(H,i):N(H)?H.includes(i)||H.push(i):g?(p[c]=[i],J(h,c)&&(h[c]=p[c])):(c.value=[i],e.k&&(p[e.k]=c.value))}else g?(p[c]=o,J(h,c)&&(h[c]=o)):E&&(c.value=o,e.k&&(p[e.k]=o))};o?(v.id=-1,fe(v,n)):v()}}}let Ke=!1;const an=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",dn=e=>e.nodeType===8;function nc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,p=(_,d)=>{if(!d.hasChildNodes()){n(null,_,d),En(),d._vnode=_;return}Ke=!1,h(d.firstChild,_,null,null,null),En(),d._vnode=_,Ke&&console.error("Hydration completed but contains mismatches.")},h=(_,d,b,w,R,B=!1)=>{const D=dn(_)&&_.data==="[",T=()=>H(_,d,b,w,R,D),{type:L,ref:U,shapeFlag:K,patchFlag:O}=d,q=_.nodeType;d.el=_,O===-2&&(B=!1,d.dynamicChildren=null);let k=null;switch(L){case Qt:q!==3?d.children===""?(c(d.el=r(""),o(_),_),k=_):k=T():(_.data!==d.children&&(Ke=!0,_.data=d.children),k=i(_));break;case he:q!==8||D?k=T():k=i(_);break;case Tt:if(q!==1&&q!==3)k=T();else{k=_;const pe=!d.children.length;for(let Z=0;Z{B=B||!!d.dynamicChildren;const{type:D,props:T,patchFlag:L,shapeFlag:U,dirs:K}=d,O=D==="input"&&K||D==="option";if(O||L!==-1){if(K&&Me(d,null,b,"created"),T)if(O||!B||L&48)for(const k in T)(O&&k.endsWith("value")||Gt(k)&&!Ht(k))&&s(_,k,null,T[k],!1,void 0,b);else T.onClick&&s(_,"onClick",null,T.onClick,!1,void 0,b);let q;if((q=T&&T.onVnodeBeforeMount)&&ge(q,b,d),K&&Me(d,null,b,"beforeMount"),((q=T&&T.onVnodeMounted)||K)&&mi(()=>{q&&ge(q,b,d),K&&Me(d,null,b,"mounted")},w),U&16&&!(T&&(T.innerHTML||T.textContent))){let k=E(_.firstChild,d,_,b,w,R,B);for(;k;){Ke=!0;const pe=k;k=k.nextSibling,l(pe)}}else U&8&&_.textContent!==d.children&&(Ke=!0,_.textContent=d.children)}return _.nextSibling},E=(_,d,b,w,R,B,D)=>{D=D||!!d.dynamicChildren;const T=d.children,L=T.length;for(let U=0;U{const{slotScopeIds:D}=d;D&&(R=R?R.concat(D):D);const T=o(_),L=E(i(_),d,T,b,w,R,B);return L&&dn(L)&&L.data==="]"?i(d.anchor=L):(Ke=!0,c(d.anchor=u("]"),T,L),L)},H=(_,d,b,w,R,B)=>{if(Ke=!0,d.el=null,B){const L=I(_);for(;;){const U=i(_);if(U&&U!==L)l(U);else break}}const D=i(_),T=o(_);return l(_),n(null,d,T,D,b,w,an(T),R),D},I=_=>{let d=0;for(;_;)if(_=i(_),_&&dn(_)&&(_.data==="["&&d++,_.data==="]")){if(d===0)return i(_);d--}return _};return[p,h]}const fe=mi;function sc(e){return Si(e)}function rc(e){return Si(e,nc)}function Si(e,t){const n=Fo();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:p,parentNode:h,nextSibling:g,setScopeId:E=ve,cloneNode:v,insertStaticContent:H}=e,I=(f,a,m,C=null,y=null,F=null,M=!1,A=null,P=!!a.dynamicChildren)=>{if(f===a)return;f&&!Re(f,a)&&(C=sn(f),$e(f,y,F,!0),f=null),a.patchFlag===-2&&(P=!1,a.dynamicChildren=null);const{type:x,ref:$,shapeFlag:S}=a;switch(x){case Qt:_(f,a,m,C);break;case he:d(f,a,m,C);break;case Tt:f==null&&b(a,m,C,M);break;case ue:q(f,a,m,C,y,F,M,A,P);break;default:S&1?B(f,a,m,C,y,F,M,A,P):S&6?k(f,a,m,C,y,F,M,A,P):(S&64||S&128)&&x.process(f,a,m,C,y,F,M,A,P,gt)}$!=null&&y&&An($,f&&f.ref,F,a||f,!a)},_=(f,a,m,C)=>{if(f==null)s(a.el=l(a.children),m,C);else{const y=a.el=f.el;a.children!==f.children&&u(y,a.children)}},d=(f,a,m,C)=>{f==null?s(a.el=c(a.children||""),m,C):a.el=f.el},b=(f,a,m,C)=>{[f.el,f.anchor]=H(f.children,a,m,C,f.el,f.anchor)},w=({el:f,anchor:a},m,C)=>{let y;for(;f&&f!==a;)y=g(f),s(f,m,C),f=y;s(a,m,C)},R=({el:f,anchor:a})=>{let m;for(;f&&f!==a;)m=g(f),r(f),f=m;r(a)},B=(f,a,m,C,y,F,M,A,P)=>{M=M||a.type==="svg",f==null?D(a,m,C,y,F,M,A,P):U(f,a,y,F,M,A,P)},D=(f,a,m,C,y,F,M,A)=>{let P,x;const{type:$,props:S,shapeFlag:j,transition:W,patchFlag:z,dirs:Q}=f;if(f.el&&v!==void 0&&z===-1)P=f.el=v(f.el);else{if(P=f.el=o(f.type,F,S&&S.is,S),j&8?p(P,f.children):j&16&&L(f.children,P,null,C,y,F&&$!=="foreignObject",M,A),Q&&Me(f,null,C,"created"),S){for(const te in S)te!=="value"&&!Ht(te)&&i(P,te,null,S[te],F,f.children,C,y,Se);"value"in S&&i(P,"value",null,S.value),(x=S.onVnodeBeforeMount)&&ge(x,C,f)}T(P,f,f.scopeId,M,C)}Q&&Me(f,null,C,"beforeMount");const G=(!y||y&&!y.pendingBranch)&&W&&!W.persisted;G&&W.beforeEnter(P),s(P,a,m),((x=S&&S.onVnodeMounted)||G||Q)&&fe(()=>{x&&ge(x,C,f),G&&W.enter(P),Q&&Me(f,null,C,"mounted")},y)},T=(f,a,m,C,y)=>{if(m&&E(f,m),C)for(let F=0;F{for(let x=P;x{const A=a.el=f.el;let{patchFlag:P,dynamicChildren:x,dirs:$}=a;P|=f.patchFlag&16;const S=f.props||X,j=a.props||X;let W;m&&tt(m,!1),(W=j.onVnodeBeforeUpdate)&&ge(W,m,a,f),$&&Me(a,f,m,"beforeUpdate"),m&&tt(m,!0);const z=y&&a.type!=="foreignObject";if(x?K(f.dynamicChildren,x,A,m,C,z,F):M||Ie(f,a,A,null,m,C,z,F,!1),P>0){if(P&16)O(A,a,S,j,m,C,y);else if(P&2&&S.class!==j.class&&i(A,"class",null,j.class,y),P&4&&i(A,"style",S.style,j.style,y),P&8){const Q=a.dynamicProps;for(let G=0;G{W&&ge(W,m,a,f),$&&Me(a,f,m,"updated")},C)},K=(f,a,m,C,y,F,M)=>{for(let A=0;A{if(m!==C){for(const A in C){if(Ht(A))continue;const P=C[A],x=m[A];P!==x&&A!=="value"&&i(f,A,x,P,M,a.children,y,F,Se)}if(m!==X)for(const A in m)!Ht(A)&&!(A in C)&&i(f,A,m[A],null,M,a.children,y,F,Se);"value"in C&&i(f,"value",m.value,C.value)}},q=(f,a,m,C,y,F,M,A,P)=>{const x=a.el=f?f.el:l(""),$=a.anchor=f?f.anchor:l("");let{patchFlag:S,dynamicChildren:j,slotScopeIds:W}=a;W&&(A=A?A.concat(W):W),f==null?(s(x,m,C),s($,m,C),L(a.children,m,$,y,F,M,A,P)):S>0&&S&64&&j&&f.dynamicChildren?(K(f.dynamicChildren,j,m,y,F,M,A),(a.key!=null||y&&a===y.subTree)&&js(f,a,!0)):Ie(f,a,m,$,y,F,M,A,P)},k=(f,a,m,C,y,F,M,A,P)=>{a.slotScopeIds=A,f==null?a.shapeFlag&512?y.ctx.activate(a,m,C,M,P):pe(a,m,C,y,F,M,P):Z(f,a,P)},pe=(f,a,m,C,y,F,M)=>{const A=f.component=Ui(f,C,y);if(nn(f)&&(A.ctx.renderer=gt),ji(A),A.asyncDep){if(y&&y.registerDep(A,re),!f.el){const P=A.subTree=ne(he);d(null,P,a,m)}return}re(A,f,a,m,y,F,M)},Z=(f,a,m)=>{const C=a.component=f.component;if(El(f,a,m))if(C.asyncDep&&!C.asyncResolved){ee(C,a,m);return}else C.next=a,gl(C.update),C.update();else a.el=f.el,C.vnode=a},re=(f,a,m,C,y,F,M)=>{const A=()=>{if(f.isMounted){let{next:$,bu:S,u:j,parent:W,vnode:z}=f,Q=$,G;tt(f,!1),$?($.el=z.el,ee(f,$,M)):$=z,S&&xt(S),(G=$.props&&$.props.onVnodeBeforeUpdate)&&ge(G,W,$,z),tt(f,!0);const te=mn(f),Ae=f.subTree;f.subTree=te,I(Ae,te,h(Ae.el),sn(Ae),f,y,F),$.el=te.el,Q===null&&Ss(f,te.el),j&&fe(j,y),(G=$.props&&$.props.onVnodeUpdated)&&fe(()=>ge(G,W,$,z),y)}else{let $;const{el:S,props:j}=a,{bm:W,m:z,parent:Q}=f,G=lt(a);if(tt(f,!1),W&&xt(W),!G&&($=j&&j.onVnodeBeforeMount)&&ge($,Q,a),tt(f,!0),S&&zn){const te=()=>{f.subTree=mn(f),zn(S,f.subTree,f,y,null)};G?a.type.__asyncLoader().then(()=>!f.isUnmounted&&te()):te()}else{const te=f.subTree=mn(f);I(null,te,m,C,f,y,F),a.el=te.el}if(z&&fe(z,y),!G&&($=j&&j.onVnodeMounted)){const te=a;fe(()=>ge($,Q,te),y)}(a.shapeFlag&256||Q&<(Q.vnode)&&Q.vnode.shapeFlag&256)&&f.a&&fe(f.a,y),f.isMounted=!0,a=m=C=null}},P=f.effect=new Nn(A,()=>Is(x),f.scope),x=f.update=()=>P.run();x.id=f.uid,tt(f,!0),x()},ee=(f,a,m)=>{a.component=f;const C=f.vnode.props;f.vnode=a,f.next=null,Xl(f,a.props,C,m),Gl(f,a.children,m),at(),Un(void 0,f.update),dt()},Ie=(f,a,m,C,y,F,M,A,P=!1)=>{const x=f&&f.children,$=f?f.shapeFlag:0,S=a.children,{patchFlag:j,shapeFlag:W}=a;if(j>0){if(j&128){Rt(x,S,m,C,y,F,M,A,P);return}else if(j&256){Jn(x,S,m,C,y,F,M,A,P);return}}W&8?($&16&&Se(x,y,F),S!==x&&p(m,S)):$&16?W&16?Rt(x,S,m,C,y,F,M,A,P):Se(x,y,F,!0):($&8&&p(m,""),W&16&&L(S,m,C,y,F,M,A,P))},Jn=(f,a,m,C,y,F,M,A,P)=>{f=f||yt,a=a||yt;const x=f.length,$=a.length,S=Math.min(x,$);let j;for(j=0;j$?Se(f,y,F,!0,!1,S):L(a,m,C,y,F,M,A,P,S)},Rt=(f,a,m,C,y,F,M,A,P)=>{let x=0;const $=a.length;let S=f.length-1,j=$-1;for(;x<=S&&x<=j;){const W=f[x],z=a[x]=P?Je(a[x]):ye(a[x]);if(Re(W,z))I(W,z,m,null,y,F,M,A,P);else break;x++}for(;x<=S&&x<=j;){const W=f[S],z=a[j]=P?Je(a[j]):ye(a[j]);if(Re(W,z))I(W,z,m,null,y,F,M,A,P);else break;S--,j--}if(x>S){if(x<=j){const W=j+1,z=W<$?a[W].el:C;for(;x<=j;)I(null,a[x]=P?Je(a[x]):ye(a[x]),m,z,y,F,M,A,P),x++}}else if(x>j)for(;x<=S;)$e(f[x],y,F,!0),x++;else{const W=x,z=x,Q=new Map;for(x=z;x<=j;x++){const _e=a[x]=P?Je(a[x]):ye(a[x]);_e.key!=null&&Q.set(_e.key,x)}let G,te=0;const Ae=j-z+1;let mt=!1,Ys=0;const Ot=new Array(Ae);for(x=0;x=Ae){$e(_e,y,F,!0);continue}let Pe;if(_e.key!=null)Pe=Q.get(_e.key);else for(G=z;G<=j;G++)if(Ot[G-z]===0&&Re(_e,a[G])){Pe=G;break}Pe===void 0?$e(_e,y,F,!0):(Ot[Pe-z]=x+1,Pe>=Ys?Ys=Pe:mt=!0,I(_e,a[Pe],m,null,y,F,M,A,P),te++)}const zs=mt?ic(Ot):yt;for(G=zs.length-1,x=Ae-1;x>=0;x--){const _e=z+x,Pe=a[_e],Xs=_e+1<$?a[_e+1].el:C;Ot[x]===0?I(null,Pe,m,Xs,y,F,M,A,P):mt&&(G<0||x!==zs[G]?pt(Pe,m,Xs,2):G--)}}},pt=(f,a,m,C,y=null)=>{const{el:F,type:M,transition:A,children:P,shapeFlag:x}=f;if(x&6){pt(f.component.subTree,a,m,C);return}if(x&128){f.suspense.move(a,m,C);return}if(x&64){M.move(f,a,m,gt);return}if(M===ue){s(F,a,m);for(let S=0;SA.enter(F),y);else{const{leave:S,delayLeave:j,afterLeave:W}=A,z=()=>s(F,a,m),Q=()=>{S(F,()=>{z(),W&&W()})};j?j(F,z,Q):Q()}else s(F,a,m)},$e=(f,a,m,C=!1,y=!1)=>{const{type:F,props:M,ref:A,children:P,dynamicChildren:x,shapeFlag:$,patchFlag:S,dirs:j}=f;if(A!=null&&An(A,null,m,f,!0),$&256){a.ctx.deactivate(f);return}const W=$&1&&j,z=!lt(f);let Q;if(z&&(Q=M&&M.onVnodeBeforeUnmount)&&ge(Q,a,f),$&6)uo(f.component,m,C);else{if($&128){f.suspense.unmount(m,C);return}W&&Me(f,null,a,"beforeUnmount"),$&64?f.type.remove(f,a,m,y,gt,C):x&&(F!==ue||S>0&&S&64)?Se(x,a,m,!1,!0):(F===ue&&S&384||!y&&$&16)&&Se(P,a,m),C&&qs(f)}(z&&(Q=M&&M.onVnodeUnmounted)||W)&&fe(()=>{Q&&ge(Q,a,f),W&&Me(f,null,a,"unmounted")},m)},qs=f=>{const{type:a,el:m,anchor:C,transition:y}=f;if(a===ue){fo(m,C);return}if(a===Tt){R(f);return}const F=()=>{r(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:M,delayLeave:A}=y,P=()=>M(m,F);A?A(f.el,F,P):P()}else F()},fo=(f,a)=>{let m;for(;f!==a;)m=g(f),r(f),f=m;r(a)},uo=(f,a,m)=>{const{bum:C,scope:y,update:F,subTree:M,um:A}=f;C&&xt(C),y.stop(),F&&(F.active=!1,$e(M,f,a,m)),A&&fe(A,a),fe(()=>{f.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Se=(f,a,m,C=!1,y=!1,F=0)=>{for(let M=F;Mf.shapeFlag&6?sn(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Js=(f,a,m)=>{f==null?a._vnode&&$e(a._vnode,null,null,!0):I(a._vnode||null,f,a,null,null,null,m),En(),a._vnode=f},gt={p:I,um:$e,m:pt,r:qs,mt:pe,mc:L,pc:Ie,pbc:K,n:sn,o:e};let Yn,zn;return t&&([Yn,zn]=t(gt)),{render:Js,hydrate:Yn,createApp:tc(Js,Yn)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function js(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const oc=e=>e.__isTeleport,jt=e=>e&&(e.disabled||e.disabled===""),_r=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,gs=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},lc={__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:p,pc:h,pbc:g,o:{insert:E,querySelector:v,createText:H,createComment:I}}=u,_=jt(t.props);let{shapeFlag:d,children:b,dynamicChildren:w}=t;if(e==null){const R=t.el=H(""),B=t.anchor=H("");E(R,n,s),E(B,n,s);const D=t.target=gs(t.props,v),T=t.targetAnchor=H("");D&&(E(T,D),o=o||_r(D));const L=(U,K)=>{d&16&&p(b,U,K,r,i,o,l,c)};_?L(n,B):D&&L(D,T)}else{t.el=e.el;const R=t.anchor=e.anchor,B=t.target=e.target,D=t.targetAnchor=e.targetAnchor,T=jt(e.props),L=T?n:B,U=T?R:D;if(o=o||_r(B),w?(g(e.dynamicChildren,w,L,r,i,o,l),js(e,t,!0)):c||h(e,t,L,U,r,i,o,l,!1),_)T||hn(t,n,R,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=gs(t.props,v);K&&hn(t,K,null,u,0)}else T&&hn(t,B,D,u,1)}},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:u,targetAnchor:p,target:h,props:g}=e;if(h&&i(p),(o||!jt(g))&&(i(u),l&16))for(let E=0;E0?me||yt:null,Ni(),ct>0&&me&&me.push(e),e}function Df(e,t,n,s,r,i){return Bi(Hi(e,t,n,s,r,i,!0))}function Li(e,t,n,s,r){return Bi(ne(e,t,n,s,r,!0))}function ft(e){return e?e.__v_isVNode===!0:!1}function Re(e,t){return e.type===t.type&&e.key===t.key}function Uf(e){}const Wn="__vInternal",ki=({key:e})=>e!=null?e:null,yn=({ref:e,ref_key:t,ref_for:n})=>e!=null?se(e)||ce(e)||V(e)?{i:ae,r:e,k:t,f:!!n}:e:null;function Hi(e,t=null,n=null,s=0,r=null,i=e===ue?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ki(t),ref:t&&yn(t),scopeId:jn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Vs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),ct>0&&!o&&me&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&me.push(c),c}const ne=fc;function fc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===wi)&&(e=he),ft(e)){const l=De(e,t,!0);return n&&Vs(l,n),ct>0&&!i&&me&&(l.shapeFlag&6?me[me.indexOf(e)]=l:me.push(l)),l.patchFlag|=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=uc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Rn(l)),oe(c)&&(ni(c)&&!N(c)&&(c=ie({},c)),t.style=Mn(c))}const o=se(e)?1:gi(e)?128:oc(e)?64:oe(e)?4:V(e)?2:0;return Hi(e,t,n,s,r,o,i,!0)}function uc(e){return e?ni(e)||Wn in e?ie({},e):e:null}function De(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?ac(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ki(l),ref:t&&t.ref?n&&r?N(r)?r.concat(yn(t)):[r,yn(t)]:yn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&De(e.ssContent),ssFallback:e.ssFallback&&De(e.ssFallback),el:e.el,anchor:e.anchor}}function Di(e=" ",t=0){return ne(Qt,null,e,t)}function $f(e,t){const n=ne(Tt,null,e);return n.staticCount=t,n}function jf(e="",t=!1){return t?(Ks(),Li(he,null,e)):ne(he,null,e)}function ye(e){return e==null||typeof e=="boolean"?ne(he):N(e)?ne(ue,null,e.slice()):typeof e=="object"?Je(e):ne(Qt,null,String(e))}function Je(e){return e.el===null||e.memo?e:De(e)}function Vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Wn in t)?t._ctx=ae:r===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:ae},n=32):(t=String(t),s&64?(n=16,t=[Di(t)]):n=8);e.children=t,e.shapeFlag|=n}function ac(...e){const t={};for(let n=0;nle||ae,Ge=e=>{le=e,e.scope.on()},ze=()=>{le&&le.scope.off(),le=null};function $i(e){return e.vnode.shapeFlag&4}let vt=!1;function ji(e,t=!1){vt=t;const{props:n,children:s}=e.vnode,r=$i(e);zl(e,n,r,t),Ql(e,s);const i=r?pc(e,t):void 0;return vt=!1,i}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=si(new Proxy(e.ctx,as));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Vi(e):null;Ge(e),at();const i=ke(s,e,0,[e.props,r]);if(dt(),ze(),Ts(i)){if(i.then(ze,ze),t)return i.then(o=>{ms(e,o,t)}).catch(o=>{Mt(o,e,0)});e.asyncDep=i}else ms(e,i,t)}else Ki(e,t)}function ms(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=ii(t)),Ki(e,n)}let Fn,_s;function Kf(e){Fn=e,_s=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Kl))}}const Vf=()=>!Fn;function Ki(e,t,n){const s=e.type;if(!e.render){if(!t&&Fn&&!s.render){const r=s.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=Fn(r,u)}}e.render=s.render||ve,_s&&_s(e)}Ge(e),at(),Vl(e),dt(),ze()}function gc(e){return new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}})}function Vi(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=gc(e))},slots:e.slots,emit:e.emit,expose:t}}function qn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ii(si(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wn)return wn[n](e)}}))}const mc=/(?:^|[-_])(\w)/g,_c=e=>e.replace(mc,t=>t.toUpperCase()).replace(/[-_]/g,"");function vn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Wi(e,t,n=!1){let s=vn(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=i=>{for(const o in i)if(i[o]===t)return o};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?_c(s):n?"App":"Anonymous"}function bc(e){return V(e)&&"__vccOpts"in e}const yc=(e,t)=>ll(e,t,vt);function Wf(){return null}function qf(){return null}function Jf(e){}function Yf(e,t){return null}function zf(){return qi().slots}function Xf(){return qi().attrs}function qi(){const e=ht();return e.setupContext||(e.setupContext=Vi(e))}function Zf(e,t){const n=N(e)?e.reduce((s,r)=>(s[r]={},s),{}):e;for(const s in t){const r=n[s];r?N(r)||V(r)?n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(n[s]={default:t[s]})}return n}function Qf(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Gf(e){const t=ht();let n=e();return ze(),Ts(n)&&(n=n.catch(s=>{throw Ge(t),s})),[n,()=>Ge(t)]}function Cc(e,t,n){const s=arguments.length;return s===2?oe(t)&&!N(t)?ft(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ft(n)&&(n=[n]),ne(e,t,n))}const xc=Symbol(""),eu=()=>{{const e=_n(xc);return e||cl("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function tu(){}function nu(e,t,n,s){const r=n[s];if(r&&Ec(r,e))return r;const i=t();return i.memo=e.slice(),n[s]=i}function Ec(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&me&&me.push(e),!0}const wc="3.2.37",Tc={createComponentInstance:Ui,setupComponent:ji,renderComponentRoot:mn,setCurrentRenderingInstance:zt,isVNode:ft,normalizeVNode:ye},su=Tc,ru=null,iu=null,Ac="http://www.w3.org/2000/svg",rt=typeof document!="undefined"?document:null,yr=rt&&rt.createElement("template"),Fc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?rt.createElementNS(Ac,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{yr.innerHTML=s?`${e}`:e;const l=yr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function vc(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Pc(e,t,n){const s=e.style,r=se(n);if(n&&!r){for(const i in n)bs(s,i,n[i]);if(t&&!se(t))for(const i in t)n[i]==null&&bs(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Cr=/\s*!important$/;function bs(e,t,n){if(N(n))n.forEach(s=>bs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Mc(e,t);Cr.test(n)?e.setProperty(Oe(s),n.replace(Cr,""),"important"):e[s]=n}}const xr=["Webkit","Moz","ms"],ts={};function Mc(e,t){const n=ts[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return ts[t]=s;s=Sn(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let ys=0;const Sc=Promise.resolve(),Nc=()=>{ys=0},Bc=()=>ys||(Sc.then(Nc),ys=Ji());function Le(e,t,n,s){e.addEventListener(t,n,s)}function Lc(e,t,n,s){e.removeEventListener(t,n,s)}function kc(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Hc(t);if(s){const u=i[t]=Dc(s,r);Le(e,l,u,c)}else o&&(Lc(e,l,o,c),i[t]=void 0)}}const wr=/(?:Once|Passive|Capture)$/;function Hc(e){let t;if(wr.test(e)){t={};let n;for(;n=e.match(wr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Oe(e.slice(2)),t]}function Dc(e,t){const n=s=>{const r=s.timeStamp||Ji();(Ic||r>=n.attached-1)&&we(Uc(s,n.value),t,5,[s])};return n.value=e,n.attached=Bc(),n}function Uc(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Tr=/^on[a-z]/,$c=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?vc(e,s,r):t==="style"?Pc(e,n,s):Gt(t)?Es(t)||kc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jc(e,t,s,r))?Oc(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Rc(e,t,s,r))};function jc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Tr.test(t)&&V(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Tr.test(t)&&se(n)?!1:t in e}function Kc(e,t){const n=xi(e);class s extends Ws{constructor(i){super(n,i,t)}}return s.def=n,s}const ou=e=>Kc(e,ff),Vc=typeof HTMLElement!="undefined"?HTMLElement:class{};class Ws extends Vc{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,ci(()=>{this._connected||(Br(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=s=>{const{props:r,styles:i}=s,o=!N(r),l=r?o?Object.keys(r):r:[];let c;if(o)for(const u in this._props){const p=r[u];(p===Number||p&&p.type===Number)&&(this._props[u]=Ze(this._props[u]),(c||(c=Object.create(null)))[u]=!0)}this._numberProps=c;for(const u of Object.keys(this))u[0]!=="_"&&this._setProp(u,this[u],!0,!1);for(const u of l.map(Te))Object.defineProperty(this,u,{get(){return this._getProp(u)},set(p){this._setProp(u,p)}});this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Ze(n)),this._setProp(Te(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Oe(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Oe(t),n+""):n||this.removeAttribute(Oe(t))))}_update(){Br(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ne(this._def,ie({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(r,...i)=>{this.dispatchEvent(new CustomEvent(r,{detail:i}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Ws){n.parent=s._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function lu(e="$style"){{const t=ht();if(!t)return X;const n=t.type.__cssModules;if(!n)return X;const s=n[e];return s||X}}function cu(e){const t=ht();if(!t)return;const n=()=>Cs(t.subTree,e(t.proxy));Ml(n),Vn(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),Hs(()=>s.disconnect())})}function Cs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Cs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ar(e.el,t);else if(e.type===ue)e.children.forEach(n=>Cs(n,t));else if(e.type===Tt){let{el:n,anchor:s}=e;for(;n&&(Ar(n,t),n!==s);)n=n.nextSibling}}function Ar(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Ve="transition",St="animation",Yi=(e,{slots:t})=>Cc(yi,Xi(e),t);Yi.displayName="Transition";const zi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wc=Yi.props=ie({},yi.props,zi),nt=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fr=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function Xi(e){const t={};for(const O in e)O in zi||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:p=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,v=qc(r),H=v&&v[0],I=v&&v[1],{onBeforeEnter:_,onEnter:d,onEnterCancelled:b,onLeave:w,onLeaveCancelled:R,onBeforeAppear:B=_,onAppear:D=d,onAppearCancelled:T=b}=t,L=(O,q,k)=>{qe(O,q?p:l),qe(O,q?u:o),k&&k()},U=(O,q)=>{O._isLeaving=!1,qe(O,h),qe(O,E),qe(O,g),q&&q()},K=O=>(q,k)=>{const pe=O?D:d,Z=()=>L(q,O,k);nt(pe,[q,Z]),vr(()=>{qe(q,O?c:i),Ne(q,O?p:l),Fr(pe)||Pr(q,s,H,Z)})};return ie(t,{onBeforeEnter(O){nt(_,[O]),Ne(O,i),Ne(O,o)},onBeforeAppear(O){nt(B,[O]),Ne(O,c),Ne(O,u)},onEnter:K(!1),onAppear:K(!0),onLeave(O,q){O._isLeaving=!0;const k=()=>U(O,q);Ne(O,h),Qi(),Ne(O,g),vr(()=>{!O._isLeaving||(qe(O,h),Ne(O,E),Fr(w)||Pr(O,s,I,k))}),nt(w,[O,k])},onEnterCancelled(O){L(O,!1),nt(b,[O])},onAppearCancelled(O){L(O,!0),nt(T,[O])},onLeaveCancelled(O){U(O),nt(R,[O])}})}function qc(e){if(e==null)return null;if(oe(e))return[ns(e.enter),ns(e.leave)];{const t=ns(e);return[t,t]}}function ns(e){return Ze(e)}function Ne(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function qe(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function vr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jc=0;function Pr(e,t,n,s){const r=e._endId=++Jc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Zi(e,t);if(!o)return s();const u=o+"end";let p=0;const h=()=>{e.removeEventListener(u,g),i()},g=E=>{E.target===e&&++p>=c&&h()};setTimeout(()=>{p(n[v]||"").split(", "),r=s(Ve+"Delay"),i=s(Ve+"Duration"),o=Mr(r,i),l=s(St+"Delay"),c=s(St+"Duration"),u=Mr(l,c);let p=null,h=0,g=0;t===Ve?o>0&&(p=Ve,h=o,g=i.length):t===St?u>0&&(p=St,h=u,g=c.length):(h=Math.max(o,u),p=h>0?o>u?Ve:St:null,g=p?p===Ve?i.length:c.length:0);const E=p===Ve&&/\b(transform|all)(,|$)/.test(n[Ve+"Property"]);return{type:p,timeout:h,propCount:g,hasTransform:E}}function Mr(e,t){for(;e.lengthRr(n)+Rr(e[s])))}function Rr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Qi(){return document.body.offsetHeight}const Gi=new WeakMap,eo=new WeakMap,Yc={name:"TransitionGroup",props:ie({},Wc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ht(),s=bi();let r,i;return Ls(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Qc(r[0].el,n.vnode.el,o))return;r.forEach(zc),r.forEach(Xc);const l=r.filter(Zc);Qi(),l.forEach(c=>{const u=c.el,p=u.style;Ne(u,o),p.transform=p.webkitTransform=p.transitionDuration="";const h=u._moveCb=g=>{g&&g.target!==u||(!g||/transform$/.test(g.propertyName))&&(u.removeEventListener("transitionend",h),u._moveCb=null,qe(u,o))};u.addEventListener("transitionend",h)})}),()=>{const o=Y(e),l=Xi(o);let c=o.tag||ue;r=i,i=t.default?Bs(t.default()):[];for(let u=0;u{o.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Zi(s);return r.removeChild(s),i}const et=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>xt(t,n):t};function Gc(e){e.target.composing=!0}function Or(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xs={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=et(r);const i=s||r.props&&r.props.type==="number";Le(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Ze(l)),e._assign(l)}),n&&Le(e,"change",()=>{e.value=e.value.trim()}),t||(Le(e,"compositionstart",Gc),Le(e,"compositionend",Or),Le(e,"change",Or))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=et(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Ze(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},to={deep:!0,created(e,t,n){e._assign=et(n),Le(e,"change",()=>{const s=e._modelValue,r=Pt(e),i=e.checked,o=e._assign;if(N(s)){const l=On(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const u=[...s];u.splice(l,1),o(u)}}else if(ut(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(so(e,i))})},mounted:Ir,beforeUpdate(e,t,n){e._assign=et(n),Ir(e,t,n)}};function Ir(e,{value:t,oldValue:n},s){e._modelValue=t,N(t)?e.checked=On(t,s.props.value)>-1:ut(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Xe(t,so(e,!0)))}const no={created(e,{value:t},n){e.checked=Xe(t,n.props.value),e._assign=et(n),Le(e,"change",()=>{e._assign(Pt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=et(s),t!==n&&(e.checked=Xe(t,s.props.value))}},ef={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=ut(t);Le(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ze(Pt(o)):Pt(o));e._assign(e.multiple?r?new Set(i):i:i[0])}),e._assign=et(s)},mounted(e,{value:t}){Sr(e,t)},beforeUpdate(e,t,n){e._assign=et(n)},updated(e,{value:t}){Sr(e,t)}};function Sr(e,t){const n=e.multiple;if(!(n&&!N(t)&&!ut(t))){for(let s=0,r=e.options.length;s-1:i.selected=t.has(o);else if(Xe(Pt(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Pt(e){return"_value"in e?e._value:e.value}function so(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const tf={created(e,t,n){pn(e,t,n,null,"created")},mounted(e,t,n){pn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){pn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){pn(e,t,n,s,"updated")}};function ro(e,t){switch(e){case"SELECT":return ef;case"TEXTAREA":return xs;default:switch(t){case"checkbox":return to;case"radio":return no;default:return xs}}}function pn(e,t,n,s,r){const o=ro(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function nf(){xs.getSSRProps=({value:e})=>({value:e}),no.getSSRProps=({value:e},t)=>{if(t.props&&Xe(t.props.value,e))return{checked:!0}},to.getSSRProps=({value:e},t)=>{if(N(e)){if(t.props&&On(e,t.props.value)>-1)return{checked:!0}}else if(ut(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},tf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=ro(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const sf=["ctrl","shift","alt","meta"],rf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>sf.some(n=>e[`${n}Key`]&&!t.includes(n))},uu=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=Oe(n.key);if(t.some(r=>r===s||of[r]===s))return e(n)},lf={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Nt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Nt(e,!0),s.enter(e)):s.leave(e,()=>{Nt(e,!1)}):Nt(e,t))},beforeUnmount(e,{value:t}){Nt(e,t)}};function Nt(e,t){e.style.display=t?e._vod:"none"}function cf(){lf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const io=ie({patchProp:$c},Fc);let Vt,Nr=!1;function oo(){return Vt||(Vt=sc(io))}function lo(){return Vt=Nr?Vt:rc(io),Nr=!0,Vt}const Br=(...e)=>{oo().render(...e)},ff=(...e)=>{lo().hydrate(...e)},du=(...e)=>{const t=oo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=co(s);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},hu=(...e)=>{const t=lo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=co(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function co(e){return se(e)?document.querySelector(e):e}let Lr=!1;const pu=()=>{Lr||(Lr=!0,nf(),cf())};export{Hi as $,yf as A,tl as B,Te as C,Sn as D,$r as E,Rn as F,uf as G,Mn as H,af as I,gn as J,yi as K,he as L,ue as M,Mf as N,Af as O,Hf as P,Qt as Q,Nn as R,Tt as S,Yi as T,we as U,ke as V,De as W,iu as X,yc as Y,jf as Z,Df as _,Cf as a,Ff as a$,rc as a0,Qf as a1,sc as a2,Bf as a3,$f as a4,Di as a5,ne as a6,Pf as a7,xi as a8,qf as a9,Hs as aA,Ls as aB,wf as aC,Pl as aD,Ef as aE,ai as aF,Kf as aG,Nf as aH,Of as aI,Sf as aJ,If as aK,ru as aL,Zt as aM,br as aN,_l as aO,Ft as aP,xc as aQ,su as aR,kf as aS,Uf as aT,Xf as aU,eu as aV,zf as aW,bi as aX,wc as aY,cl as aZ,bn as a_,Jf as aa,Wf as ab,It as ac,ht as ad,Bs as ae,uc as af,Cc as ag,Mt as ah,tu as ai,_n as aj,Ec as ak,Vf as al,ft as am,Zf as an,ac as ao,ci as ap,Sl as aq,Ll as ar,ks as as,kl as at,Nl as au,$l as av,Vn as aw,Ul as ax,Dl as ay,Hl as az,df as b,Ml as b0,vf as b1,Gf as b2,Yf as b3,Rf as b4,nu as b5,Tf as b6,fu as b7,Ws as b8,du as b9,hu as ba,Kc as bb,ou as bc,ff as bd,pu as be,Br as bf,lu as bg,cu as bh,to as bi,tf as bj,no as bk,ef as bl,xs as bm,lf as bn,au as bo,uu as bp,N as bq,Li as c,Et as d,gf as e,qt as f,hf as g,ce as h,ni as i,ls as j,pf as k,Ps as l,si as m,ti as n,Ks as o,ii as p,Xn as q,Lf as r,Go as s,_f as t,bf as u,mf as v,pi as w,Y as x,il as y,xf as z}; diff --git a/assets/earcut.17d42416.js b/assets/earcut.17d42416.js new file mode 100644 index 0000000..1dcae13 --- /dev/null +++ b/assets/earcut.17d42416.js @@ -0,0 +1 @@ +var N=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var x=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,x.get?x:{enumerable:!0,get:function(){return e[n]}})}),t}var E={exports:{}};E.exports=P;E.exports.default=P;function P(e,t,n){n=n||2;var x=t&&t.length,r=x?t[0]*n:e.length,u=A(e,0,r,n,!0),f=[];if(!u||u.next===u.prev)return f;var i,l,y,c,h,p,v;if(x&&(u=V(e,t,u,n)),e.length>80*n){i=y=e[0],l=c=e[1];for(var o=n;oy&&(y=h),p>c&&(c=p);v=Math.max(y-i,c-l),v=v!==0?1/v:0}return w(u,f,n,i,l,v),f}function A(e,t,n,x,r){var u,f;if(r===k(e,t,n,x)>0)for(u=t;u=t;u-=x)f=z(u,e[u],e[u+1],f);return f&&T(f,f.next)&&(M(f),f=f.next),f}function g(e,t){if(!e)return e;t||(t=e);var n=e,x;do if(x=!1,!n.steiner&&(T(n,n.next)||s(n.prev,n,n.next)===0)){if(M(n),n=t=n.prev,n===n.next)break;x=!0}else n=n.next;while(x||n!==t);return t}function w(e,t,n,x,r,u,f){if(!!e){!f&&u&&U(e,x,r,u);for(var i=e,l,y;e.prev!==e.next;){if(l=e.prev,y=e.next,u?B(e,x,r,u):D(e)){t.push(l.i/n),t.push(e.i/n),t.push(y.i/n),M(e),e=y.next,i=y.next;continue}if(e=y,e===i){f?f===1?(e=G(g(e),t,n),w(e,t,n,x,r,u,2)):f===2&&R(e,t,n,x,r,u):w(g(e),t,n,x,r,u,1);break}}}}function D(e){var t=e.prev,n=e,x=e.next;if(s(t,n,x)>=0)return!1;for(var r=e.next.next;r!==e.prev;){if(Z(t.x,t.y,n.x,n.y,x.x,x.y,r.x,r.y)&&s(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function B(e,t,n,x){var r=e.prev,u=e,f=e.next;if(s(r,u,f)>=0)return!1;for(var i=r.xu.x?r.x>f.x?r.x:f.x:u.x>f.x?u.x:f.x,c=r.y>u.y?r.y>f.y?r.y:f.y:u.y>f.y?u.y:f.y,h=H(i,l,t,n,x),p=H(y,c,t,n,x),v=e.prevZ,o=e.nextZ;v&&v.z>=h&&o&&o.z<=p;){if(v!==e.prev&&v!==e.next&&Z(r.x,r.y,u.x,u.y,f.x,f.y,v.x,v.y)&&s(v.prev,v,v.next)>=0||(v=v.prevZ,o!==e.prev&&o!==e.next&&Z(r.x,r.y,u.x,u.y,f.x,f.y,o.x,o.y)&&s(o.prev,o,o.next)>=0))return!1;o=o.nextZ}for(;v&&v.z>=h;){if(v!==e.prev&&v!==e.next&&Z(r.x,r.y,u.x,u.y,f.x,f.y,v.x,v.y)&&s(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;o&&o.z<=p;){if(o!==e.prev&&o!==e.next&&Z(r.x,r.y,u.x,u.y,f.x,f.y,o.x,o.y)&&s(o.prev,o,o.next)>=0)return!1;o=o.nextZ}return!0}function G(e,t,n){var x=e;do{var r=x.prev,u=x.next.next;!T(r,u)&&j(r,x,x.next,u)&&F(r,u)&&F(u,r)&&(t.push(r.i/n),t.push(x.i/n),t.push(u.i/n),M(x),M(x.next),x=e=u),x=x.next}while(x!==e);return g(x)}function R(e,t,n,x,r,u){var f=e;do{for(var i=f.next.next;i!==f.prev;){if(f.i!==i.i&&Y(f,i)){var l=C(f,i);f=g(f,f.next),l=g(l,l.next),w(f,t,n,x,r,u),w(l,t,n,x,r,u);return}i=i.next}f=f.next}while(f!==e)}function V(e,t,n,x){var r=[],u,f,i,l,y;for(u=0,f=t.length;u=n.next.y&&n.next.y!==n.y){var i=n.x+(r-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(i<=x&&i>u){if(u=i,i===x){if(r===n.y)return n;if(r===n.next.y)return n.next}f=n.x=n.x&&n.x>=y&&x!==n.x&&Z(rf.x||n.x===f.x&&Q(f,n)))&&(f=n,h=p)),n=n.next;while(n!==l);return f}function Q(e,t){return s(e.prev,e,t.prev)<0&&s(t.next,e,e.next)<0}function U(e,t,n,x){var r=e;do r.z===null&&(r.z=H(r.x,r.y,t,n,x)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==e);r.prevZ.nextZ=null,r.prevZ=null,W(r)}function W(e){var t,n,x,r,u,f,i,l,y=1;do{for(n=e,e=null,u=null,f=0;n;){for(f++,x=n,i=0,t=0;t0||l>0&&x;)i!==0&&(l===0||!x||n.z<=x.z)?(r=n,n=n.nextZ,i--):(r=x,x=x.nextZ,l--),u?u.nextZ=r:e=r,r.prevZ=u,u=r;n=x}u.nextZ=null,y*=2}while(f>1);return e}function H(e,t,n,x,r){return e=32767*(e-n)*r,t=32767*(t-x)*r,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function X(e){var t=e,n=e;do(t.x=0&&(e-f)*(x-i)-(n-f)*(t-i)>=0&&(n-f)*(u-i)-(r-f)*(x-i)>=0}function Y(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!I(e,t)&&(F(e,t)&&F(t,e)&&S(e,t)&&(s(e.prev,e,t.prev)||s(e,t.prev,t))||T(e,t)&&s(e.prev,e,e.next)>0&&s(t.prev,t,t.next)>0)}function s(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function T(e,t){return e.x===t.x&&e.y===t.y}function j(e,t,n,x){var r=L(s(e,t,n)),u=L(s(e,t,x)),f=L(s(n,x,e)),i=L(s(n,x,t));return!!(r!==u&&f!==i||r===0&&O(e,n,t)||u===0&&O(e,x,t)||f===0&&O(n,e,x)||i===0&&O(n,t,x))}function O(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function L(e){return e>0?1:e<0?-1:0}function I(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&j(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}function F(e,t){return s(e.prev,e,e.next)<0?s(e,t,e.next)>=0&&s(e,e.prev,t)>=0:s(e,t,e.prev)<0||s(e,e.next,t)<0}function S(e,t){var n=e,x=!1,r=(e.x+t.x)/2,u=(e.y+t.y)/2;do n.y>u!=n.next.y>u&&n.next.y!==n.y&&r<(n.next.x-n.x)*(u-n.y)/(n.next.y-n.y)+n.x&&(x=!x),n=n.next;while(n!==e);return x}function C(e,t){var n=new _(e.i,e.x,e.y),x=new _(t.i,t.x,t.y),r=e.next,u=t.prev;return e.next=t,t.prev=e,n.next=r,r.prev=n,x.next=n,n.prev=x,u.next=x,x.prev=u,x}function z(e,t,n,x){var r=new _(e,t,n);return x?(r.next=x.next,r.prev=x,x.next.prev=r,x.next=r):(r.prev=r,r.next=r),r}function M(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function _(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}P.deviation=function(e,t,n,x){var r=t&&t.length,u=r?t[0]*n:e.length,f=Math.abs(k(e,0,u,n));if(r)for(var i=0,l=t.length;i0&&(x+=e[r-1].length,n.holes.push(x))}return n};export{m as a,N as c,a as g}; diff --git a/assets/eventemitter3.dc5195d7.js b/assets/eventemitter3.dc5195d7.js new file mode 100644 index 0000000..036c893 --- /dev/null +++ b/assets/eventemitter3.dc5195d7.js @@ -0,0 +1 @@ +var w={exports:{}};(function(g){var m=Object.prototype.hasOwnProperty,u="~";function h(){}Object.create&&(h.prototype=Object.create(null),new h().__proto__||(u=!1));function b(s,t,n){this.fn=s,this.context=t,this.once=n||!1}function x(s,t,n,r,l){if(typeof n!="function")throw new TypeError("The listener must be a function");var c=new b(n,r||s,l),o=u?u+t:t;return s._events[o]?s._events[o].fn?s._events[o]=[s._events[o],c]:s._events[o].push(c):(s._events[o]=c,s._eventsCount++),s}function y(s,t){--s._eventsCount===0?s._events=new h:delete s._events[t]}function f(){this._events=new h,this._eventsCount=0}f.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)m.call(n,r)&&t.push(u?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t},f.prototype.listeners=function(t){var n=u?u+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var l=0,c=r.length,o=new Array(c);l{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}};gx();const yx="modulepreload",Xp={},bx="/",xu=function(e,r){return!r||r.length===0?e():Promise.all(r.map(n=>{if(n=`${bx}${n}`,n in Xp)return;Xp[n]=!0;const i=n.endsWith(".css"),o=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${o}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":yx,i||(a.as="script",a.crossOrigin=""),a.href=n,document.head.appendChild(a),i)return new Promise((s,l)=>{a.addEventListener("load",s),a.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>e())};function Zu(t,e){const r=Object.create(null),n=t.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const _x="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",xx=Zu(_x),Tx="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wx=Zu(Tx);function py(t){return!!t||t===""}function ce(t){if(Ct(t)){const e={};for(let r=0;r{if(r){const n=r.split(Ix);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Qt(t){let e="";if(Ke(t))e=t;else if(Ct(t))for(let r=0;rHi(r,e))}const re=t=>Ke(t)?t:t==null?"":Ct(t)||rr(t)&&(t.toString===gy||!zt(t.toString))?JSON.stringify(t,my,2):String(t),my=(t,e)=>e&&e.__v_isRef?my(t,e.value):ha(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:Fo(e)?{[`Set(${e.size})`]:[...e.values()]}:rr(e)&&!Ct(e)&&!yy(e)?String(e):e,Ee={},fa=[],xn=()=>{},Nx=()=>!1,Px=/^on[^a-z]/,qs=t=>Px.test(t),Td=t=>t.startsWith("onUpdate:"),er=Object.assign,wd=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},Sx=Object.prototype.hasOwnProperty,me=(t,e)=>Sx.call(t,e),Ct=Array.isArray,ha=t=>Js(t)==="[object Map]",Fo=t=>Js(t)==="[object Set]",zp=t=>Js(t)==="[object Date]",zt=t=>typeof t=="function",Ke=t=>typeof t=="string",Es=t=>typeof t=="symbol",rr=t=>t!==null&&typeof t=="object",Ed=t=>rr(t)&&zt(t.then)&&zt(t.catch),gy=Object.prototype.toString,Js=t=>gy.call(t),Ax=t=>Js(t).slice(8,-1),yy=t=>Js(t)==="[object Object]",Id=t=>Ke(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,as=Zu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ju=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},Ox=/-(\w)/g,Kr=Ju(t=>t.replace(Ox,(e,r)=>r?r.toUpperCase():"")),Ux=/\B([A-Z])/g,Mn=Ju(t=>t.replace(Ux,"-$1").toLowerCase()),Qs=Ju(t=>t.charAt(0).toUpperCase()+t.slice(1)),ss=Ju(t=>t?`on${Qs(t)}`:""),ba=(t,e)=>!Object.is(t,e),da=(t,e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},Vi=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Wp;const Fx=()=>Wp||(Wp=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Vr;class Cd{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Vr&&(this.parent=Vr,this.index=(Vr.scopes||(Vr.scopes=[])).push(this)-1)}run(e){if(this.active){const r=Vr;try{return Vr=this,e()}finally{Vr=r}}}on(){Vr=this}off(){Vr=this.parent}stop(e){if(this.active){let r,n;for(r=0,n=this.effects.length;r{const e=new Set(t);return e.w=0,e.n=0,e},_y=t=>(t.w&$i)>0,xy=t=>(t.n&$i)>0,kx=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let r=0;for(let n=0;n{(u==="length"||u>=n)&&s.push(l)});else switch(r!==void 0&&s.push(a.get(r)),e){case"add":Ct(t)?Id(r)&&s.push(a.get("length")):(s.push(a.get(Eo)),ha(t)&&s.push(a.get(jf)));break;case"delete":Ct(t)||(s.push(a.get(Eo)),ha(t)&&s.push(a.get(jf)));break;case"set":ha(t)&&s.push(a.get(Eo));break}if(s.length===1)s[0]&&Xf(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);Xf(Rd(l))}}function Xf(t,e){const r=Ct(t)?t:[...t];for(const n of r)n.computed&&Kp(n);for(const n of r)n.computed||Kp(n)}function Kp(t,e){(t!==yn||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Vx=Zu("__proto__,__v_isRef,__isVue"),Ey=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Es)),$x=Qu(),jx=Qu(!1,!0),Xx=Qu(!0),zx=Qu(!0,!0),Zp=Wx();function Wx(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=ue(this);for(let o=0,a=this.length;o{t[e]=function(...r){Lo();const n=ue(this)[e].apply(this,r);return Mo(),n}}),t}function Qu(t=!1,e=!1){return function(n,i,o){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&o===(t?e?Ay:Sy:e?Py:Ny).get(n))return n;const a=Ct(n);if(!t&&a&&me(Zp,i))return Reflect.get(Zp,i,o);const s=Reflect.get(n,i,o);return(Es(i)?Ey.has(i):Vx(i))||(t||Zr(n,"get",i),e)?s:oe(s)?a&&Id(i)?s:s.value:rr(s)?t?Pd(s):zn(s):s}}const Yx=Iy(),Kx=Iy(!0);function Iy(t=!1){return function(r,n,i,o){let a=r[n];if(_a(a)&&oe(a)&&!oe(i))return!1;if(!t&&!_a(i)&&(wu(i)||(i=ue(i),a=ue(a)),!Ct(r)&&oe(a)&&!oe(i)))return a.value=i,!0;const s=Ct(r)&&Id(n)?Number(n)t,tc=t=>Reflect.getPrototypeOf(t);function vl(t,e,r=!1,n=!1){t=t.__v_raw;const i=ue(t),o=ue(e);r||(e!==o&&Zr(i,"get",e),Zr(i,"get",o));const{has:a}=tc(i),s=n?Nd:r?Od:Is;if(a.call(i,e))return s(t.get(e));if(a.call(i,o))return s(t.get(o));t!==i&&t.get(e)}function ml(t,e=!1){const r=this.__v_raw,n=ue(r),i=ue(t);return e||(t!==i&&Zr(n,"has",t),Zr(n,"has",i)),t===i?r.has(t):r.has(t)||r.has(i)}function gl(t,e=!1){return t=t.__v_raw,!e&&Zr(ue(t),"iterate",Eo),Reflect.get(t,"size",t)}function qp(t){t=ue(t);const e=ue(this);return tc(e).has.call(e,t)||(e.add(t),fi(e,"add",t,t)),this}function Jp(t,e){e=ue(e);const r=ue(this),{has:n,get:i}=tc(r);let o=n.call(r,t);o||(t=ue(t),o=n.call(r,t));const a=i.call(r,t);return r.set(t,e),o?ba(e,a)&&fi(r,"set",t,e):fi(r,"add",t,e),this}function Qp(t){const e=ue(this),{has:r,get:n}=tc(e);let i=r.call(e,t);i||(t=ue(t),i=r.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return i&&fi(e,"delete",t,void 0),o}function tv(){const t=ue(this),e=t.size!==0,r=t.clear();return e&&fi(t,"clear",void 0,void 0),r}function yl(t,e){return function(n,i){const o=this,a=o.__v_raw,s=ue(a),l=e?Nd:t?Od:Is;return!t&&Zr(s,"iterate",Eo),a.forEach((u,c)=>n.call(i,l(u),l(c),o))}}function bl(t,e,r){return function(...n){const i=this.__v_raw,o=ue(i),a=ha(o),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,u=i[t](...n),c=r?Nd:e?Od:Is;return!e&&Zr(o,"iterate",l?jf:Eo),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:s?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function xi(t){return function(...e){return t==="delete"?!1:this}}function eT(){const t={get(o){return vl(this,o)},get size(){return gl(this)},has:ml,add:qp,set:Jp,delete:Qp,clear:tv,forEach:yl(!1,!1)},e={get(o){return vl(this,o,!1,!0)},get size(){return gl(this)},has:ml,add:qp,set:Jp,delete:Qp,clear:tv,forEach:yl(!1,!0)},r={get(o){return vl(this,o,!0)},get size(){return gl(this,!0)},has(o){return ml.call(this,o,!0)},add:xi("add"),set:xi("set"),delete:xi("delete"),clear:xi("clear"),forEach:yl(!0,!1)},n={get(o){return vl(this,o,!0,!0)},get size(){return gl(this,!0)},has(o){return ml.call(this,o,!0)},add:xi("add"),set:xi("set"),delete:xi("delete"),clear:xi("clear"),forEach:yl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=bl(o,!1,!1),r[o]=bl(o,!0,!1),e[o]=bl(o,!1,!0),n[o]=bl(o,!0,!0)}),[t,r,e,n]}const[rT,nT,iT,oT]=eT();function ec(t,e){const r=e?t?oT:iT:t?nT:rT;return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(me(r,i)&&i in n?r:n,i,o)}const aT={get:ec(!1,!1)},sT={get:ec(!1,!0)},lT={get:ec(!0,!1)},uT={get:ec(!0,!0)},Ny=new WeakMap,Py=new WeakMap,Sy=new WeakMap,Ay=new WeakMap;function cT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fT(t){return t.__v_skip||!Object.isExtensible(t)?0:cT(Ax(t))}function zn(t){return _a(t)?t:rc(t,!1,Cy,aT,Ny)}function Sa(t){return rc(t,!1,Qx,sT,Py)}function Pd(t){return rc(t,!0,Ry,lT,Sy)}function hT(t){return rc(t,!0,tT,uT,Ay)}function rc(t,e,r,n,i){if(!rr(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const a=fT(t);if(a===0)return t;const s=new Proxy(t,a===2?n:r);return i.set(t,s),s}function ki(t){return _a(t)?ki(t.__v_raw):!!(t&&t.__v_isReactive)}function _a(t){return!!(t&&t.__v_isReadonly)}function wu(t){return!!(t&&t.__v_isShallow)}function Sd(t){return ki(t)||_a(t)}function ue(t){const e=t&&t.__v_raw;return e?ue(e):t}function Ad(t){return Tu(t,"__v_skip",!0),t}const Is=t=>rr(t)?zn(t):t,Od=t=>rr(t)?Pd(t):t;function Ud(t){Bi&&yn&&(t=ue(t),wy(t.dep||(t.dep=Rd())))}function nc(t,e){t=ue(t),t.dep&&Xf(t.dep)}function oe(t){return!!(t&&t.__v_isRef===!0)}function It(t){return Oy(t,!1)}function Gr(t){return Oy(t,!0)}function Oy(t,e){return oe(t)?t:new dT(t,e)}class dT{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:ue(e),this._value=r?e:Is(e)}get value(){return Ud(this),this._value}set value(e){e=this.__v_isShallow?e:ue(e),ba(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Is(e),nc(this))}}function pT(t){nc(t)}function E(t){return oe(t)?t.value:t}const vT={get:(t,e,r)=>E(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return oe(i)&&!oe(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function Fd(t){return ki(t)?t:new Proxy(t,vT)}class mT{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=e(()=>Ud(this),()=>nc(this));this._get=r,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function gT(t){return new mT(t)}function Ae(t){const e=Ct(t)?new Array(t.length):{};for(const r in t)e[r]=Mr(t,r);return e}class yT{constructor(e,r,n){this._object=e,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Mr(t,e,r){const n=t[e];return oe(n)?n:new yT(t,e,r)}class bT{constructor(e,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new tl(e,()=>{this._dirty||(this._dirty=!0,nc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=ue(this);return Ud(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function _T(t,e,r=!1){let n,i;const o=zt(t);return o?(n=t,i=xn):(n=t.get,i=t.set),new bT(n,i,o||!i,r)}const ls=[];function Uy(t,...e){Lo();const r=ls.length?ls[ls.length-1].component:null,n=r&&r.appContext.config.warnHandler,i=xT();if(n)Bn(n,r,11,[t+e.join(""),r&&r.proxy,i.map(({vnode:o})=>`at <${Ib(r,o.type)}>`).join(` -`),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(` -`,...TT(i)),console.warn(...o)}Mo()}function xT(){let t=ls[ls.length-1];if(!t)return[];const e=[];for(;t;){const r=e[0];r&&r.vnode===t?r.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function TT(t){const e=[];return t.forEach((r,n)=>{e.push(...n===0?[]:[` -`],...wT(r))}),e}function wT({vnode:t,recurseCount:e}){const r=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Ib(t.component,t.type,n)}`,o=">"+r;return t.props?[i,...ET(t.props),o]:[i+o]}function ET(t){const e=[],r=Object.keys(t);return r.slice(0,3).forEach(n=>{e.push(...Fy(n,t[n]))}),r.length>3&&e.push(" ..."),e}function Fy(t,e,r){return Ke(e)?(e=JSON.stringify(e),r?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?r?e:[`${t}=${e}`]:oe(e)?(e=Fy(t,ue(e.value),!0),r?e:[`${t}=Ref<`,e,">"]):zt(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ue(e),r?e:[`${t}=`,e])}function Bn(t,e,r,n){let i;try{i=n?t(...n):t()}catch(o){Bo(o,e,r)}return i}function Yr(t,e,r,n){if(zt(t)){const o=Bn(t,e,r,n);return o&&Ed(o)&&o.catch(a=>{Bo(a,e,r)}),o}const i=[];for(let o=0;o>>1;Cs(jr[n])ei&&jr.splice(e,1)}function By(t,e,r,n){Ct(t)?r.push(...t):(!e||!e.includes(t,t.allowRecurse?n+1:n))&&r.push(t),My()}function NT(t){By(t,Qa,us,Zo)}function Bd(t){By(t,Ci,cs,qo)}function ic(t,e=null){if(us.length){for(Wf=e,Qa=[...new Set(us)],us.length=0,Zo=0;ZoCs(r)-Cs(n)),qo=0;qot.id==null?1/0:t.id;function ky(t){zf=!1,Eu=!0,ic(t),jr.sort((r,n)=>Cs(r)-Cs(n));const e=xn;try{for(ei=0;eiJo.emit(i,...o)),_l=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((n=(r=window.navigator)===null||r===void 0?void 0:r.userAgent)===null||n===void 0)&&n.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Gy(o,e)}),setTimeout(()=>{Jo||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_l=[])},3e3)):_l=[]}function PT(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||Ee;let i=r;const o=e.startsWith("update:"),a=o&&e.slice(7);if(a&&a in n){const c=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:h}=n[c]||Ee;h&&(i=r.map(d=>d.trim())),f&&(i=r.map(Vi))}let s,l=n[s=ss(e)]||n[s=ss(Kr(e))];!l&&o&&(l=n[s=ss(Mn(e))]),l&&Yr(l,t,6,i);const u=n[s+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,Yr(u,t,6,i)}}function Dy(t,e,r=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let a={},s=!1;if(!zt(t)){const l=u=>{const c=Dy(u,e,!0);c&&(s=!0,er(a,c))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!s?(n.set(t,null),null):(Ct(o)?o.forEach(l=>a[l]=null):er(a,o),n.set(t,a),a)}function oc(t,e){return!t||!qs(e)?!1:(e=e.slice(2).replace(/Once$/,""),me(t,e[0].toLowerCase()+e.slice(1))||me(t,Mn(e))||me(t,e))}let Ir=null,ac=null;function Rs(t){const e=Ir;return Ir=t,ac=t&&t.type.__scopeId||null,e}function Cn(t){ac=t}function Rn(){ac=null}const ST=t=>Bt;function Bt(t,e=Ir,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&th(-1);const o=Rs(e),a=t(...i);return Rs(o),n._d&&th(1),a};return n._n=!0,n._c=!0,n._d=!0,n}function lu(t){const{type:e,vnode:r,proxy:n,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:f,data:h,setupState:d,ctx:p,inheritAttrs:v}=t;let m,y;const g=Rs(t);try{if(r.shapeFlag&4){const T=i||n;m=$r(c.call(T,T,f,o,d,h,p)),y=l}else{const T=e;m=$r(T.length>1?T(o,{attrs:l,slots:s,emit:u}):T(o,null)),y=e.props?l:OT(l)}}catch(T){hs.length=0,Bo(T,t,1),m=P(Rr)}let b=m;if(y&&v!==!1){const T=Object.keys(y),{shapeFlag:w}=b;T.length&&w&7&&(a&&T.some(Td)&&(y=UT(y,a)),b=Vn(b,y))}return r.dirs&&(b=Vn(b),b.dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&(b.transition=r.transition),m=b,Rs(g),m}function AT(t){let e;for(let r=0;r{let e;for(const r in t)(r==="class"||r==="style"||qs(r))&&((e||(e={}))[r]=t[r]);return e},UT=(t,e)=>{const r={};for(const n in t)(!Td(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function FT(t,e,r){const{props:n,children:i,component:o}=t,{props:a,children:s,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?ev(n,a,u):!!a;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense,LT={name:"Suspense",__isSuspense:!0,process(t,e,r,n,i,o,a,s,l,u){t==null?BT(e,r,n,i,o,a,s,l,u):kT(t,e,r,n,i,a,s,l,u)},hydrate:GT,create:Gd,normalize:DT},MT=LT;function Ns(t,e){const r=t.props&&t.props[e];zt(r)&&r()}function BT(t,e,r,n,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=t.suspense=Gd(t,i,n,e,f,r,o,a,s,l);u(null,h.pendingBranch=t.ssContent,f,null,n,h,o,a),h.deps>0?(Ns(t,"onPending"),Ns(t,"onFallback"),u(null,t.ssFallback,e,r,n,null,o,a),pa(h,t.ssFallback)):h.resolve()}function kT(t,e,r,n,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const h=e.ssContent,d=e.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:m,isHydrating:y}=f;if(v)f.pendingBranch=h,Sn(h,v)?(l(v,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():m&&(l(p,d,r,n,i,null,o,a,s),pa(f,d))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=v):u(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),m?(l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(p,d,r,n,i,null,o,a,s),pa(f,d))):p&&Sn(h,p)?(l(p,h,r,n,i,f,o,a,s),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(p&&Sn(h,p))l(p,h,r,n,i,f,o,a,s),pa(f,h);else if(Ns(e,"onPending"),f.pendingBranch=h,f.pendingId++,l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:b}=f;g>0?setTimeout(()=>{f.pendingId===b&&f.fallback(d)},g):g===0&&f.fallback(d)}}function Gd(t,e,r,n,i,o,a,s,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:v,remove:m}}=u,y=Vi(t.props&&t.props.timeout),g={vnode:t,parent:e,parentComponent:r,isSVG:a,container:n,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(b=!1){const{vnode:T,activeBranch:w,pendingBranch:x,pendingId:R,effects:I,parentComponent:C,container:S}=g;if(g.isHydrating)g.isHydrating=!1;else if(!b){const G=w&&x.transition&&x.transition.mode==="out-in";G&&(w.transition.afterLeave=()=>{R===g.pendingId&&h(x,S,k,0)});let{anchor:k}=g;w&&(k=p(w),d(w,C,g,!0)),G||h(x,S,k,0)}pa(g,x),g.pendingBranch=null,g.isInFallback=!1;let L=g.parent,H=!1;for(;L;){if(L.pendingBranch){L.effects.push(...I),H=!0;break}L=L.parent}H||Bd(I),g.effects=[],Ns(T,"onResolve")},fallback(b){if(!g.pendingBranch)return;const{vnode:T,activeBranch:w,parentComponent:x,container:R,isSVG:I}=g;Ns(T,"onFallback");const C=p(w),S=()=>{!g.isInFallback||(f(null,b,R,C,x,null,I,s,l),pa(g,b))},L=b.transition&&b.transition.mode==="out-in";L&&(w.transition.afterLeave=S),g.isInFallback=!0,d(w,x,null,!0),L||S()},move(b,T,w){g.activeBranch&&h(g.activeBranch,b,T,w),g.container=b},next(){return g.activeBranch&&p(g.activeBranch)},registerDep(b,T){const w=!!g.pendingBranch;w&&g.deps++;const x=b.vnode.el;b.asyncDep.catch(R=>{Bo(R,b,0)}).then(R=>{if(b.isUnmounted||g.isUnmounted||g.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:I}=b;eh(b,R,!1),x&&(I.el=x);const C=!x&&b.subTree.el;T(b,I,v(x||b.subTree.el),x?null:p(b.subTree),g,a,l),C&&m(C),kd(b,I.el),w&&--g.deps===0&&g.resolve()})},unmount(b,T){g.isUnmounted=!0,g.activeBranch&&d(g.activeBranch,r,b,T),g.pendingBranch&&d(g.pendingBranch,r,b,T)}};return g}function GT(t,e,r,n,i,o,a,s,l){const u=e.suspense=Gd(e,n,r,t.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(t,u.pendingBranch=e.ssContent,r,u,o,a);return u.deps===0&&u.resolve(),c}function DT(t){const{shapeFlag:e,children:r}=t,n=e&32;t.ssContent=rv(n?r.default:r),t.ssFallback=n?rv(r.fallback):P(Rr)}function rv(t){let e;if(zt(t)){const r=Ao&&t._c;r&&(t._d=!1,B()),t=t(),r&&(t._d=!0,e=Br,mb())}return Ct(t)&&(t=AT(t)),t=$r(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(r=>r!==t)),t}function Vy(t,e){e&&e.pendingBranch?Ct(t)?e.effects.push(...t):e.effects.push(t):Bd(t)}function pa(t,e){t.activeBranch=e;const{vnode:r,parentComponent:n}=t,i=r.el=e.el;n&&n.subTree===r&&(n.vnode.el=i,kd(n,i))}function _o(t,e){if(dr){let r=dr.provides;const n=dr.parent&&dr.parent.provides;n===r&&(r=dr.provides=Object.create(n)),r[t]=e}}function en(t,e,r=!1){const n=dr||Ir;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return r&&zt(e)?e.call(n.proxy):e}}function Xe(t,e){return el(t,null,e)}function $y(t,e){return el(t,null,{flush:"post"})}function HT(t,e){return el(t,null,{flush:"sync"})}const nv={};function ze(t,e,r){return el(t,e,r)}function el(t,e,{immediate:r,deep:n,flush:i,onTrack:o,onTrigger:a}=Ee){const s=dr;let l,u=!1,c=!1;if(oe(t)?(l=()=>t.value,u=wu(t)):ki(t)?(l=()=>t,n=!0):Ct(t)?(c=!0,u=t.some(y=>ki(y)||wu(y)),l=()=>t.map(y=>{if(oe(y))return y.value;if(ki(y))return xo(y);if(zt(y))return Bn(y,s,2)})):zt(t)?e?l=()=>Bn(t,s,2):l=()=>{if(!(s&&s.isUnmounted))return f&&f(),Yr(t,s,3,[h])}:l=xn,e&&n){const y=l;l=()=>xo(y())}let f,h=y=>{f=m.onStop=()=>{Bn(y,s,4)}};if(wa)return h=xn,e?r&&Yr(e,s,3,[l(),c?[]:void 0,h]):l(),xn;let d=c?[]:nv;const p=()=>{if(!!m.active)if(e){const y=m.run();(n||u||(c?y.some((g,b)=>ba(g,d[b])):ba(y,d)))&&(f&&f(),Yr(e,s,3,[y,d===nv?void 0:d,h]),d=y)}else m.run()};p.allowRecurse=!!e;let v;i==="sync"?v=p:i==="post"?v=()=>_r(p,s&&s.suspense):v=()=>NT(p);const m=new tl(l,v);return e?r?p():d=m.run():i==="post"?_r(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&wd(s.scope.effects,m)}}function VT(t,e,r){const n=this.proxy,i=Ke(t)?t.includes(".")?jy(n,t):()=>n[t]:t.bind(n,n);let o;zt(e)?o=e:(o=e.handler,r=e);const a=dr;ji(this);const s=el(i,o.bind(n),r);return a?ji(a):Gi(),s}function jy(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i{xo(r,e)});else if(yy(t))for(const r in t)xo(t[r],e);return t}function Dd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wn(()=>{t.isMounted=!0}),il(()=>{t.isUnmounting=!0}),t}const Jr=[Function,Array],$T={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jr,onEnter:Jr,onAfterEnter:Jr,onEnterCancelled:Jr,onBeforeLeave:Jr,onLeave:Jr,onAfterLeave:Jr,onLeaveCancelled:Jr,onBeforeAppear:Jr,onAppear:Jr,onAfterAppear:Jr,onAppearCancelled:Jr},setup(t,{slots:e}){const r=Yn(),n=Dd();let i;return()=>{const o=e.default&&sc(e.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const v of o)if(v.type!==Rr){a=v;break}}const s=ue(t),{mode:l}=s;if(n.isLeaving)return Sc(a);const u=iv(a);if(!u)return Sc(a);const c=xa(u,s,n,r);So(u,c);const f=r.subTree,h=f&&iv(f);let d=!1;const{getTransitionKey:p}=u.type;if(p){const v=p();i===void 0?i=v:v!==i&&(i=v,d=!0)}if(h&&h.type!==Rr&&(!Sn(u,h)||d)){const v=xa(h,s,n,r);if(So(h,v),l==="out-in")return n.isLeaving=!0,v.afterLeave=()=>{n.isLeaving=!1,r.update()},Sc(a);l==="in-out"&&u.type!==Rr&&(v.delayLeave=(m,y,g)=>{const b=Xy(n,h);b[String(h.key)]=h,m._leaveCb=()=>{y(),m._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=g})}return a}}},Hd=$T;function Xy(t,e){const{leavingVNodes:r}=t;let n=r.get(e.type);return n||(n=Object.create(null),r.set(e.type,n)),n}function xa(t,e,r,n){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:g}=e,b=String(t.key),T=Xy(r,t),w=(I,C)=>{I&&Yr(I,n,9,C)},x=(I,C)=>{const S=C[1];w(I,C),Ct(I)?I.every(L=>L.length<=1)&&S():I.length<=1&&S()},R={mode:o,persisted:a,beforeEnter(I){let C=s;if(!r.isMounted)if(i)C=v||s;else return;I._leaveCb&&I._leaveCb(!0);const S=T[b];S&&Sn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),w(C,[I])},enter(I){let C=l,S=u,L=c;if(!r.isMounted)if(i)C=m||l,S=y||u,L=g||c;else return;let H=!1;const G=I._enterCb=k=>{H||(H=!0,k?w(L,[I]):w(S,[I]),R.delayedLeave&&R.delayedLeave(),I._enterCb=void 0)};C?x(C,[I,G]):G()},leave(I,C){const S=String(t.key);if(I._enterCb&&I._enterCb(!0),r.isUnmounting)return C();w(f,[I]);let L=!1;const H=I._leaveCb=G=>{L||(L=!0,C(),G?w(p,[I]):w(d,[I]),I._leaveCb=void 0,T[S]===t&&delete T[S])};T[S]=t,h?x(h,[I,H]):H()},clone(I){return xa(I,e,r,n)}};return R}function Sc(t){if(rl(t))return t=Vn(t),t.children=null,t}function iv(t){return rl(t)?t.children?t.children[0]:void 0:t}function So(t,e){t.shapeFlag&6&&t.component?So(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function sc(t,e=!1,r){let n=[],i=0;for(let o=0;o1)for(let o=0;o!!t.type.__asyncLoader;function jT(t){zt(t)&&(t={loader:t});const{loader:e,loadingComponent:r,errorComponent:n,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=t;let l=null,u,c=0;const f=()=>(c++,l=null,h()),h=()=>{let d;return l||(d=l=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,m)=>{s(p,()=>v(f()),()=>m(p),c+1)});throw p}).then(p=>d!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Pt({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const d=dr;if(u)return()=>Ac(u,d);const p=g=>{l=null,Bo(g,d,13,!n)};if(a&&d.suspense||wa)return h().then(g=>()=>Ac(g,d)).catch(g=>(p(g),()=>n?P(n,{error:g}):null));const v=It(!1),m=It(),y=It(!!i);return i&&setTimeout(()=>{y.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!m.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),m.value=g}},o),h().then(()=>{v.value=!0,d.parent&&rl(d.parent.vnode)&&Md(d.parent.update)}).catch(g=>{p(g),m.value=g}),()=>{if(v.value&&u)return Ac(u,d);if(m.value&&n)return P(n,{error:m.value});if(r&&!y.value)return P(r)}}})}function Ac(t,{vnode:{ref:e,props:r,children:n,shapeFlag:i},parent:o}){const a=P(t,r,n);return a.ref=e,a}const rl=t=>t.type.__isKeepAlive,XT={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const r=Yn(),n=r.ctx;if(!n.renderer)return()=>{const g=e.default&&e.default();return g&&g.length===1?g[0]:g};const i=new Map,o=new Set;let a=null;const s=r.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=n,h=f("div");n.activate=(g,b,T,w,x)=>{const R=g.component;u(g,b,T,0,s),l(R.vnode,g,b,T,R,s,w,g.slotScopeIds,x),_r(()=>{R.isDeactivated=!1,R.a&&da(R.a);const I=g.props&&g.props.onVnodeMounted;I&&Lr(I,R.parent,g)},s)},n.deactivate=g=>{const b=g.component;u(g,h,null,1,s),_r(()=>{b.da&&da(b.da);const T=g.props&&g.props.onVnodeUnmounted;T&&Lr(T,b.parent,g),b.isDeactivated=!0},s)};function d(g){Oc(g),c(g,r,s,!0)}function p(g){i.forEach((b,T)=>{const w=Su(b.type);w&&(!g||!g(w))&&v(T)})}function v(g){const b=i.get(g);!a||b.type!==a.type?d(b):a&&Oc(a),i.delete(g),o.delete(g)}ze(()=>[t.include,t.exclude],([g,b])=>{g&&p(T=>ts(g,T)),b&&p(T=>!ts(b,T))},{flush:"post",deep:!0});let m=null;const y=()=>{m!=null&&i.set(m,Uc(r.subTree))};return Wn(y),nl(y),il(()=>{i.forEach(g=>{const{subTree:b,suspense:T}=r,w=Uc(b);if(g.type===w.type){Oc(w);const x=w.component.da;x&&_r(x,T);return}d(g)})}),()=>{if(m=null,!e.default)return null;const g=e.default(),b=g[0];if(g.length>1)return a=null,g;if(!wn(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return a=null,b;let T=Uc(b);const w=T.type,x=Su(Io(T)?T.type.__asyncResolved||{}:w),{include:R,exclude:I,max:C}=t;if(R&&(!x||!ts(R,x))||I&&x&&ts(I,x))return a=T,b;const S=T.key==null?w:T.key,L=i.get(S);return T.el&&(T=Vn(T),b.shapeFlag&128&&(b.ssContent=T)),m=S,L?(T.el=L.el,T.component=L.component,T.transition&&So(T,T.transition),T.shapeFlag|=512,o.delete(S),o.add(S)):(o.add(S),C&&o.size>parseInt(C,10)&&v(o.values().next().value)),T.shapeFlag|=256,a=T,Hy(b.type)?b:T}}},zT=XT;function ts(t,e){return Ct(t)?t.some(r=>ts(r,e)):Ke(t)?t.split(",").includes(e):t.test?t.test(e):!1}function zy(t,e){Yy(t,"a",e)}function Wy(t,e){Yy(t,"da",e)}function Yy(t,e,r=dr){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(lc(e,n,r),r){let i=r.parent;for(;i&&i.parent;)rl(i.parent.vnode)&&WT(n,e,r,i),i=i.parent}}function WT(t,e,r,n){const i=lc(e,t,n,!0);Aa(()=>{wd(n[e],i)},r)}function Oc(t){let e=t.shapeFlag;e&256&&(e-=256),e&512&&(e-=512),t.shapeFlag=e}function Uc(t){return t.shapeFlag&128?t.ssContent:t}function lc(t,e,r=dr,n=!1){if(r){const i=r[t]||(r[t]=[]),o=e.__weh||(e.__weh=(...a)=>{if(r.isUnmounted)return;Lo(),ji(r);const s=Yr(e,r,t,a);return Gi(),Mo(),s});return n?i.unshift(o):i.push(o),o}}const mi=t=>(e,r=dr)=>(!wa||t==="sp")&&lc(t,e,r),Ky=mi("bm"),Wn=mi("m"),Zy=mi("bu"),nl=mi("u"),il=mi("bum"),Aa=mi("um"),qy=mi("sp"),Jy=mi("rtg"),Qy=mi("rtc");function tb(t,e=dr){lc("ec",t,e)}function Oa(t,e){const r=Ir;if(r===null)return t;const n=cc(r)||r.proxy,i=t.dirs||(t.dirs=[]);for(let o=0;oe(a,s,void 0,o&&o[s]));else{const a=Object.keys(t);i=new Array(a.length);for(let s=0,l=a.length;swn(e)?!(e.type===Rr||e.type===Ot&&!rb(e.children)):!0)?t:null}function nb(t){const e={};for(const r in t)e[ss(r)]=t[r];return e}const Yf=t=>t?xb(t)?cc(t)||t.proxy:Yf(t.parent):null,Cu=er(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Yf(t.parent),$root:t=>Yf(t.root),$emit:t=>t.emit,$options:t=>ob(t),$forceUpdate:t=>t.f||(t.f=()=>Md(t.update)),$nextTick:t=>t.n||(t.n=cr.bind(t.proxy)),$watch:t=>VT.bind(t)}),Kf={get({_:t},e){const{ctx:r,setupState:n,data:i,props:o,accessCache:a,type:s,appContext:l}=t;let u;if(e[0]!=="$"){const d=a[e];if(d!==void 0)switch(d){case 1:return n[e];case 2:return i[e];case 4:return r[e];case 3:return o[e]}else{if(n!==Ee&&me(n,e))return a[e]=1,n[e];if(i!==Ee&&me(i,e))return a[e]=2,i[e];if((u=t.propsOptions[0])&&me(u,e))return a[e]=3,o[e];if(r!==Ee&&me(r,e))return a[e]=4,r[e];Zf&&(a[e]=0)}}const c=Cu[e];let f,h;if(c)return e==="$attrs"&&Zr(t,"get",e),c(t);if((f=s.__cssModules)&&(f=f[e]))return f;if(r!==Ee&&me(r,e))return a[e]=4,r[e];if(h=l.config.globalProperties,me(h,e))return h[e]},set({_:t},e,r){const{data:n,setupState:i,ctx:o}=t;return i!==Ee&&me(i,e)?(i[e]=r,!0):n!==Ee&&me(n,e)?(n[e]=r,!0):me(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:i,propsOptions:o}},a){let s;return!!r[a]||t!==Ee&&me(t,a)||e!==Ee&&me(e,a)||(s=o[0])&&me(s,a)||me(n,a)||me(Cu,a)||me(i.config.globalProperties,a)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:me(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}},qT=er({},Kf,{get(t,e){if(e!==Symbol.unscopables)return Kf.get(t,e,t)},has(t,e){return e[0]!=="_"&&!xx(e)}});let Zf=!0;function JT(t){const e=ob(t),r=t.proxy,n=t.ctx;Zf=!1,e.beforeCreate&&av(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:v,deactivated:m,beforeDestroy:y,beforeUnmount:g,destroyed:b,unmounted:T,render:w,renderTracked:x,renderTriggered:R,errorCaptured:I,serverPrefetch:C,expose:S,inheritAttrs:L,components:H,directives:G,filters:k}=e;if(u&&QT(u,n,null,t.appContext.config.unwrapInjectedRef),a)for(const K in a){const ht=a[K];zt(ht)&&(n[K]=ht.bind(r))}if(i){const K=i.call(r,r);rr(K)&&(t.data=zn(K))}if(Zf=!0,o)for(const K in o){const ht=o[K],bt=zt(ht)?ht.bind(r,r):zt(ht.get)?ht.get.bind(r,r):xn,W=!zt(ht)&&zt(ht.set)?ht.set.bind(r):xn,ft=tt({get:bt,set:W});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>ft.value,set:gt=>ft.value=gt})}if(s)for(const K in s)ib(s[K],n,r,K);if(l){const K=zt(l)?l.call(r):l;Reflect.ownKeys(K).forEach(ht=>{_o(ht,K[ht])})}c&&av(c,t,"c");function D(K,ht){Ct(ht)?ht.forEach(bt=>K(bt.bind(r))):ht&&K(ht.bind(r))}if(D(Ky,f),D(Wn,h),D(Zy,d),D(nl,p),D(zy,v),D(Wy,m),D(tb,I),D(Qy,x),D(Jy,R),D(il,g),D(Aa,T),D(qy,C),Ct(S))if(S.length){const K=t.exposed||(t.exposed={});S.forEach(ht=>{Object.defineProperty(K,ht,{get:()=>r[ht],set:bt=>r[ht]=bt})})}else t.exposed||(t.exposed={});w&&t.render===xn&&(t.render=w),L!=null&&(t.inheritAttrs=L),H&&(t.components=H),G&&(t.directives=G)}function QT(t,e,r=xn,n=!1){Ct(t)&&(t=qf(t));for(const i in t){const o=t[i];let a;rr(o)?"default"in o?a=en(o.from||i,o.default,!0):a=en(o.from||i):a=en(o),oe(a)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):e[i]=a}}function av(t,e,r){Yr(Ct(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function ib(t,e,r,n){const i=n.includes(".")?jy(r,n):()=>r[n];if(Ke(t)){const o=e[t];zt(o)&&ze(i,o)}else if(zt(t))ze(i,t.bind(r));else if(rr(t))if(Ct(t))t.forEach(o=>ib(o,e,r,n));else{const o=zt(t.handler)?t.handler.bind(r):e[t.handler];zt(o)&&ze(i,o,t)}}function ob(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(e);let l;return s?l=s:!i.length&&!r&&!n?l=e:(l={},i.length&&i.forEach(u=>Ru(l,u,a,!0)),Ru(l,e,a)),o.set(e,l),l}function Ru(t,e,r,n=!1){const{mixins:i,extends:o}=e;o&&Ru(t,o,r,!0),i&&i.forEach(a=>Ru(t,a,r,!0));for(const a in e)if(!(n&&a==="expose")){const s=t2[a]||r&&r[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const t2={data:sv,props:co,emits:co,methods:co,computed:co,beforeCreate:Nr,created:Nr,beforeMount:Nr,mounted:Nr,beforeUpdate:Nr,updated:Nr,beforeDestroy:Nr,beforeUnmount:Nr,destroyed:Nr,unmounted:Nr,activated:Nr,deactivated:Nr,errorCaptured:Nr,serverPrefetch:Nr,components:co,directives:co,watch:r2,provide:sv,inject:e2};function sv(t,e){return e?t?function(){return er(zt(t)?t.call(this,this):t,zt(e)?e.call(this,this):e)}:e:t}function e2(t,e){return co(qf(t),qf(e))}function qf(t){if(Ct(t)){const e={};for(let r=0;r0)&&!(a&16)){if(a&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=sb(f,e,!0);er(a,h),d&&s.push(...d)};!r&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return n.set(t,fa),fa;if(Ct(o))for(let c=0;c-1,d[1]=v<0||p-1||me(d,"default"))&&s.push(f)}}}const u=[a,s];return n.set(t,u),u}function lv(t){return t[0]!=="$"}function uv(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function cv(t,e){return uv(t)===uv(e)}function fv(t,e){return Ct(e)?e.findIndex(r=>cv(r,t)):zt(e)&&cv(e,t)?0:-1}const lb=t=>t[0]==="_"||t==="$stable",jd=t=>Ct(t)?t.map($r):[$r(t)],o2=(t,e,r)=>{if(e._n)return e;const n=Bt((...i)=>jd(e(...i)),r);return n._c=!1,n},ub=(t,e,r)=>{const n=t._ctx;for(const i in t){if(lb(i))continue;const o=t[i];if(zt(o))e[i]=o2(i,o,n);else if(o!=null){const a=jd(o);e[i]=()=>a}}},cb=(t,e)=>{const r=jd(e);t.slots.default=()=>r},a2=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=ue(e),Tu(e,"_",r)):ub(e,t.slots={})}else t.slots={},e&&cb(t,e);Tu(t.slots,uc,1)},s2=(t,e,r)=>{const{vnode:n,slots:i}=t;let o=!0,a=Ee;if(n.shapeFlag&32){const s=e._;s?r&&s===1?o=!1:(er(i,e),!r&&s===1&&delete i._):(o=!e.$stable,ub(e,i)),a=e}else e&&(cb(t,e),a={default:1});if(o)for(const s in i)!lb(s)&&!(s in a)&&delete i[s]};function fb(){return{app:null,config:{isNativeTag:Nx,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let l2=0;function u2(t,e){return function(n,i=null){zt(n)||(n=Object.assign({},n)),i!=null&&!rr(i)&&(i=null);const o=fb(),a=new Set;let s=!1;const l=o.app={_uid:l2++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:Sb,get config(){return o.config},set config(u){},use(u,...c){return a.has(u)||(u&&zt(u.install)?(a.add(u),u.install(l,...c)):zt(u)&&(a.add(u),u(l,...c))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,c){return c?(o.components[u]=c,l):o.components[u]},directive(u,c){return c?(o.directives[u]=c,l):o.directives[u]},mount(u,c,f){if(!s){const h=P(n,i);return h.appContext=o,c&&e?e(h,u):t(h,u,f),s=!0,l._container=u,u.__vue_app__=l,cc(h.component)||h.component.proxy}},unmount(){s&&(t(null,l._container),delete l._container.__vue_app__)},provide(u,c){return o.provides[u]=c,l}};return l}}function Nu(t,e,r,n,i=!1){if(Ct(t)){t.forEach((h,d)=>Nu(h,e&&(Ct(e)?e[d]:e),r,n,i));return}if(Io(n)&&!i)return;const o=n.shapeFlag&4?cc(n.component)||n.component.proxy:n.el,a=i?null:o,{i:s,r:l}=t,u=e&&e.r,c=s.refs===Ee?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Ke(u)?(c[u]=null,me(f,u)&&(f[u]=null)):oe(u)&&(u.value=null)),zt(l))Bn(l,s,12,[a,c]);else{const h=Ke(l),d=oe(l);if(h||d){const p=()=>{if(t.f){const v=h?c[l]:l.value;i?Ct(v)&&wd(v,o):Ct(v)?v.includes(o)||v.push(o):h?(c[l]=[o],me(f,l)&&(f[l]=c[l])):(l.value=[o],t.k&&(c[t.k]=l.value))}else h?(c[l]=a,me(f,l)&&(f[l]=a)):d&&(l.value=a,t.k&&(c[t.k]=a))};a?(p.id=-1,_r(p,r)):p()}}}let Ti=!1;const xl=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Tl=t=>t.nodeType===8;function c2(t){const{mt:e,p:r,o:{patchProp:n,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=t,c=(y,g)=>{if(!g.hasChildNodes()){r(null,y,g),Iu(),g._vnode=y;return}Ti=!1,f(g.firstChild,y,null,null,null),Iu(),g._vnode=y,Ti&&console.error("Hydration completed but contains mismatches.")},f=(y,g,b,T,w,x=!1)=>{const R=Tl(y)&&y.data==="[",I=()=>v(y,g,b,T,w,R),{type:C,ref:S,shapeFlag:L,patchFlag:H}=g,G=y.nodeType;g.el=y,H===-2&&(x=!1,g.dynamicChildren=null);let k=null;switch(C){case Ta:G!==3?g.children===""?(l(g.el=i(""),a(y),y),k=y):k=I():(y.data!==g.children&&(Ti=!0,y.data=g.children),k=o(y));break;case Rr:G!==8||R?k=I():k=o(y);break;case Co:if(G!==1&&G!==3)k=I();else{k=y;const Y=!g.children.length;for(let D=0;D{x=x||!!g.dynamicChildren;const{type:R,props:I,patchFlag:C,shapeFlag:S,dirs:L}=g,H=R==="input"&&L||R==="option";if(H||C!==-1){if(L&&Nn(g,null,b,"created"),I)if(H||!x||C&48)for(const k in I)(H&&k.endsWith("value")||qs(k)&&!as(k))&&n(y,k,null,I[k],!1,void 0,b);else I.onClick&&n(y,"onClick",null,I.onClick,!1,void 0,b);let G;if((G=I&&I.onVnodeBeforeMount)&&Lr(G,b,g),L&&Nn(g,null,b,"beforeMount"),((G=I&&I.onVnodeMounted)||L)&&Vy(()=>{G&&Lr(G,b,g),L&&Nn(g,null,b,"mounted")},T),S&16&&!(I&&(I.innerHTML||I.textContent))){let k=d(y.firstChild,g,y,b,T,w,x);for(;k;){Ti=!0;const Y=k;k=k.nextSibling,s(Y)}}else S&8&&y.textContent!==g.children&&(Ti=!0,y.textContent=g.children)}return y.nextSibling},d=(y,g,b,T,w,x,R)=>{R=R||!!g.dynamicChildren;const I=g.children,C=I.length;for(let S=0;S{const{slotScopeIds:R}=g;R&&(w=w?w.concat(R):R);const I=a(y),C=d(o(y),g,I,b,T,w,x);return C&&Tl(C)&&C.data==="]"?o(g.anchor=C):(Ti=!0,l(g.anchor=u("]"),I,C),C)},v=(y,g,b,T,w,x)=>{if(Ti=!0,g.el=null,x){const C=m(y);for(;;){const S=o(y);if(S&&S!==C)s(S);else break}}const R=o(y),I=a(y);return s(y),r(null,g,I,R,b,T,xl(I),w),R},m=y=>{let g=0;for(;y;)if(y=o(y),y&&Tl(y)&&(y.data==="["&&g++,y.data==="]")){if(g===0)return o(y);g--}return y};return[c,f]}const _r=Vy;function hb(t){return pb(t)}function db(t){return pb(t,c2)}function pb(t,e){const r=Fx();r.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=xn,cloneNode:p,insertStaticContent:v}=t,m=(N,A,$,j=null,q=null,st=null,mt=!1,at=null,ct=!!A.dynamicChildren)=>{if(N===A)return;N&&!Sn(N,A)&&(j=Gt(N),_t(N,q,st,!0),N=null),A.patchFlag===-2&&(ct=!1,A.dynamicChildren=null);const{type:rt,ref:Et,shapeFlag:xt}=A;switch(rt){case Ta:y(N,A,$,j);break;case Rr:g(N,A,$,j);break;case Co:N==null&&b(A,$,j,mt);break;case Ot:G(N,A,$,j,q,st,mt,at,ct);break;default:xt&1?x(N,A,$,j,q,st,mt,at,ct):xt&6?k(N,A,$,j,q,st,mt,at,ct):(xt&64||xt&128)&&rt.process(N,A,$,j,q,st,mt,at,ct,kt)}Et!=null&&q&&Nu(Et,N&&N.ref,st,A||N,!A)},y=(N,A,$,j)=>{if(N==null)n(A.el=s(A.children),$,j);else{const q=A.el=N.el;A.children!==N.children&&u(q,A.children)}},g=(N,A,$,j)=>{N==null?n(A.el=l(A.children||""),$,j):A.el=N.el},b=(N,A,$,j)=>{[N.el,N.anchor]=v(N.children,A,$,j,N.el,N.anchor)},T=({el:N,anchor:A},$,j)=>{let q;for(;N&&N!==A;)q=h(N),n(N,$,j),N=q;n(A,$,j)},w=({el:N,anchor:A})=>{let $;for(;N&&N!==A;)$=h(N),i(N),N=$;i(A)},x=(N,A,$,j,q,st,mt,at,ct)=>{mt=mt||A.type==="svg",N==null?R(A,$,j,q,st,mt,at,ct):S(N,A,q,st,mt,at,ct)},R=(N,A,$,j,q,st,mt,at)=>{let ct,rt;const{type:Et,props:xt,shapeFlag:St,transition:Dt,patchFlag:ie,dirs:ye}=N;if(N.el&&p!==void 0&&ie===-1)ct=N.el=p(N.el);else{if(ct=N.el=a(N.type,st,xt&&xt.is,xt),St&8?c(ct,N.children):St&16&&C(N.children,ct,null,j,q,st&&Et!=="foreignObject",mt,at),ye&&Nn(N,null,j,"created"),xt){for(const M in xt)M!=="value"&&!as(M)&&o(ct,M,null,xt[M],st,N.children,j,q,ut);"value"in xt&&o(ct,"value",null,xt.value),(rt=xt.onVnodeBeforeMount)&&Lr(rt,j,N)}I(ct,N,N.scopeId,mt,j)}ye&&Nn(N,null,j,"beforeMount");const F=(!q||q&&!q.pendingBranch)&&Dt&&!Dt.persisted;F&&Dt.beforeEnter(ct),n(ct,A,$),((rt=xt&&xt.onVnodeMounted)||F||ye)&&_r(()=>{rt&&Lr(rt,j,N),F&&Dt.enter(ct),ye&&Nn(N,null,j,"mounted")},q)},I=(N,A,$,j,q)=>{if($&&d(N,$),j)for(let st=0;st{for(let rt=ct;rt{const at=A.el=N.el;let{patchFlag:ct,dynamicChildren:rt,dirs:Et}=A;ct|=N.patchFlag&16;const xt=N.props||Ee,St=A.props||Ee;let Dt;$&&Ji($,!1),(Dt=St.onVnodeBeforeUpdate)&&Lr(Dt,$,A,N),Et&&Nn(A,N,$,"beforeUpdate"),$&&Ji($,!0);const ie=q&&A.type!=="foreignObject";if(rt?L(N.dynamicChildren,rt,at,$,j,ie,st):mt||bt(N,A,at,null,$,j,ie,st,!1),ct>0){if(ct&16)H(at,A,xt,St,$,j,q);else if(ct&2&&xt.class!==St.class&&o(at,"class",null,St.class,q),ct&4&&o(at,"style",xt.style,St.style,q),ct&8){const ye=A.dynamicProps;for(let F=0;F{Dt&&Lr(Dt,$,A,N),Et&&Nn(A,N,$,"updated")},j)},L=(N,A,$,j,q,st,mt)=>{for(let at=0;at{if($!==j){for(const at in j){if(as(at))continue;const ct=j[at],rt=$[at];ct!==rt&&at!=="value"&&o(N,at,rt,ct,mt,A.children,q,st,ut)}if($!==Ee)for(const at in $)!as(at)&&!(at in j)&&o(N,at,$[at],null,mt,A.children,q,st,ut);"value"in j&&o(N,"value",$.value,j.value)}},G=(N,A,$,j,q,st,mt,at,ct)=>{const rt=A.el=N?N.el:s(""),Et=A.anchor=N?N.anchor:s("");let{patchFlag:xt,dynamicChildren:St,slotScopeIds:Dt}=A;Dt&&(at=at?at.concat(Dt):Dt),N==null?(n(rt,$,j),n(Et,$,j),C(A.children,$,Et,q,st,mt,at,ct)):xt>0&&xt&64&&St&&N.dynamicChildren?(L(N.dynamicChildren,St,$,q,st,mt,at),(A.key!=null||q&&A===q.subTree)&&Xd(N,A,!0)):bt(N,A,$,Et,q,st,mt,at,ct)},k=(N,A,$,j,q,st,mt,at,ct)=>{A.slotScopeIds=at,N==null?A.shapeFlag&512?q.ctx.activate(A,$,j,mt,ct):Y(A,$,j,q,st,mt,ct):D(N,A,ct)},Y=(N,A,$,j,q,st,mt)=>{const at=N.component=_b(N,j,q);if(rl(N)&&(at.ctx.renderer=kt),Tb(at),at.asyncDep){if(q&&q.registerDep(at,K),!N.el){const ct=at.subTree=P(Rr);g(null,ct,A,$)}return}K(at,N,A,$,q,st,mt)},D=(N,A,$)=>{const j=A.component=N.component;if(FT(N,A,$))if(j.asyncDep&&!j.asyncResolved){ht(j,A,$);return}else j.next=A,RT(j.update),j.update();else A.el=N.el,j.vnode=A},K=(N,A,$,j,q,st,mt)=>{const at=()=>{if(N.isMounted){let{next:Et,bu:xt,u:St,parent:Dt,vnode:ie}=N,ye=Et,F;Ji(N,!1),Et?(Et.el=ie.el,ht(N,Et,mt)):Et=ie,xt&&da(xt),(F=Et.props&&Et.props.onVnodeBeforeUpdate)&&Lr(F,Dt,Et,ie),Ji(N,!0);const M=lu(N),z=N.subTree;N.subTree=M,m(z,M,f(z.el),Gt(z),N,q,st),Et.el=M.el,ye===null&&kd(N,M.el),St&&_r(St,q),(F=Et.props&&Et.props.onVnodeUpdated)&&_r(()=>Lr(F,Dt,Et,ie),q)}else{let Et;const{el:xt,props:St}=A,{bm:Dt,m:ie,parent:ye}=N,F=Io(A);if(Ji(N,!1),Dt&&da(Dt),!F&&(Et=St&&St.onVnodeBeforeMount)&&Lr(Et,ye,A),Ji(N,!0),xt&&Xt){const M=()=>{N.subTree=lu(N),Xt(xt,N.subTree,N,q,null)};F?A.type.__asyncLoader().then(()=>!N.isUnmounted&&M()):M()}else{const M=N.subTree=lu(N);m(null,M,$,j,N,q,st),A.el=M.el}if(ie&&_r(ie,q),!F&&(Et=St&&St.onVnodeMounted)){const M=A;_r(()=>Lr(Et,ye,M),q)}(A.shapeFlag&256||ye&&Io(ye.vnode)&&ye.vnode.shapeFlag&256)&&N.a&&_r(N.a,q),N.isMounted=!0,A=$=j=null}},ct=N.effect=new tl(at,()=>Md(rt),N.scope),rt=N.update=()=>ct.run();rt.id=N.uid,Ji(N,!0),rt()},ht=(N,A,$)=>{A.component=N;const j=N.vnode.props;N.vnode=A,N.next=null,i2(N,A.props,j,$),s2(N,A.children,$),Lo(),ic(void 0,N.update),Mo()},bt=(N,A,$,j,q,st,mt,at,ct=!1)=>{const rt=N&&N.children,Et=N?N.shapeFlag:0,xt=A.children,{patchFlag:St,shapeFlag:Dt}=A;if(St>0){if(St&128){ft(rt,xt,$,j,q,st,mt,at,ct);return}else if(St&256){W(rt,xt,$,j,q,st,mt,at,ct);return}}Dt&8?(Et&16&&ut(rt,q,st),xt!==rt&&c($,xt)):Et&16?Dt&16?ft(rt,xt,$,j,q,st,mt,at,ct):ut(rt,q,st,!0):(Et&8&&c($,""),Dt&16&&C(xt,$,j,q,st,mt,at,ct))},W=(N,A,$,j,q,st,mt,at,ct)=>{N=N||fa,A=A||fa;const rt=N.length,Et=A.length,xt=Math.min(rt,Et);let St;for(St=0;StEt?ut(N,q,st,!0,!1,xt):C(A,$,j,q,st,mt,at,ct,xt)},ft=(N,A,$,j,q,st,mt,at,ct)=>{let rt=0;const Et=A.length;let xt=N.length-1,St=Et-1;for(;rt<=xt&&rt<=St;){const Dt=N[rt],ie=A[rt]=ct?Ni(A[rt]):$r(A[rt]);if(Sn(Dt,ie))m(Dt,ie,$,null,q,st,mt,at,ct);else break;rt++}for(;rt<=xt&&rt<=St;){const Dt=N[xt],ie=A[St]=ct?Ni(A[St]):$r(A[St]);if(Sn(Dt,ie))m(Dt,ie,$,null,q,st,mt,at,ct);else break;xt--,St--}if(rt>xt){if(rt<=St){const Dt=St+1,ie=DtSt)for(;rt<=xt;)_t(N[rt],q,st,!0),rt++;else{const Dt=rt,ie=rt,ye=new Map;for(rt=ie;rt<=St;rt++){const Yt=A[rt]=ct?Ni(A[rt]):$r(A[rt]);Yt.key!=null&&ye.set(Yt.key,rt)}let F,M=0;const z=St-ie+1;let ot=!1,Tt=0;const Lt=new Array(z);for(rt=0;rt=z){_t(Yt,q,st,!0);continue}let xe;if(Yt.key!=null)xe=ye.get(Yt.key);else for(F=ie;F<=St;F++)if(Lt[F-ie]===0&&Sn(Yt,A[F])){xe=F;break}xe===void 0?_t(Yt,q,st,!0):(Lt[xe-ie]=rt+1,xe>=Tt?Tt=xe:ot=!0,m(Yt,A[xe],$,null,q,st,mt,at,ct),M++)}const Kt=ot?f2(Lt):fa;for(F=Kt.length-1,rt=z-1;rt>=0;rt--){const Yt=ie+rt,xe=A[Yt],$t=Yt+1{const{el:st,type:mt,transition:at,children:ct,shapeFlag:rt}=N;if(rt&6){gt(N.component.subTree,A,$,j);return}if(rt&128){N.suspense.move(A,$,j);return}if(rt&64){mt.move(N,A,$,kt);return}if(mt===Ot){n(st,A,$);for(let xt=0;xtat.enter(st),q);else{const{leave:xt,delayLeave:St,afterLeave:Dt}=at,ie=()=>n(st,A,$),ye=()=>{xt(st,()=>{ie(),Dt&&Dt()})};St?St(st,ie,ye):ye()}else n(st,A,$)},_t=(N,A,$,j=!1,q=!1)=>{const{type:st,props:mt,ref:at,children:ct,dynamicChildren:rt,shapeFlag:Et,patchFlag:xt,dirs:St}=N;if(at!=null&&Nu(at,null,$,N,!0),Et&256){A.ctx.deactivate(N);return}const Dt=Et&1&&St,ie=!Io(N);let ye;if(ie&&(ye=mt&&mt.onVnodeBeforeUnmount)&&Lr(ye,A,N),Et&6)lt(N.component,$,j);else{if(Et&128){N.suspense.unmount($,j);return}Dt&&Nn(N,null,A,"beforeUnmount"),Et&64?N.type.remove(N,A,$,q,kt,j):rt&&(st!==Ot||xt>0&&xt&64)?ut(rt,A,$,!1,!0):(st===Ot&&xt&384||!q&&Et&16)&&ut(ct,A,$),j&&V(N)}(ie&&(ye=mt&&mt.onVnodeUnmounted)||Dt)&&_r(()=>{ye&&Lr(ye,A,N),Dt&&Nn(N,null,A,"unmounted")},$)},V=N=>{const{type:A,el:$,anchor:j,transition:q}=N;if(A===Ot){Z($,j);return}if(A===Co){w(N);return}const st=()=>{i($),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(N.shapeFlag&1&&q&&!q.persisted){const{leave:mt,delayLeave:at}=q,ct=()=>mt($,st);at?at(N.el,st,ct):ct()}else st()},Z=(N,A)=>{let $;for(;N!==A;)$=h(N),i(N),N=$;i(A)},lt=(N,A,$)=>{const{bum:j,scope:q,update:st,subTree:mt,um:at}=N;j&&da(j),q.stop(),st&&(st.active=!1,_t(mt,N,A,$)),at&&_r(at,A),_r(()=>{N.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},ut=(N,A,$,j=!1,q=!1,st=0)=>{for(let mt=st;mtN.shapeFlag&6?Gt(N.component.subTree):N.shapeFlag&128?N.suspense.next():h(N.anchor||N.el),it=(N,A,$)=>{N==null?A._vnode&&_t(A._vnode,null,null,!0):m(A._vnode||null,N,A,null,null,null,$),Iu(),A._vnode=N},kt={p:m,um:_t,m:gt,r:V,mt:Y,mc:C,pc:bt,pbc:L,n:Gt,o:t};let Vt,Xt;return e&&([Vt,Xt]=e(kt)),{render:it,hydrate:Vt,createApp:u2(it,Vt)}}function Ji({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function Xd(t,e,r=!1){const n=t.children,i=e.children;if(Ct(n)&&Ct(i))for(let o=0;o>1,t[r[s]]0&&(e[n]=r[o-1]),r[o]=n)}}for(o=r.length,a=r[o-1];o-- >0;)r[o]=a,a=e[a];return r}const h2=t=>t.__isTeleport,fs=t=>t&&(t.disabled||t.disabled===""),hv=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,Qf=(t,e)=>{const r=t&&t.to;return Ke(r)?e?e(r):null:r},d2={__isTeleport:!0,process(t,e,r,n,i,o,a,s,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:v,createComment:m}}=u,y=fs(e.props);let{shapeFlag:g,children:b,dynamicChildren:T}=e;if(t==null){const w=e.el=v(""),x=e.anchor=v("");d(w,r,n),d(x,r,n);const R=e.target=Qf(e.props,p),I=e.targetAnchor=v("");R&&(d(I,R),a=a||hv(R));const C=(S,L)=>{g&16&&c(b,S,L,i,o,a,s,l)};y?C(r,x):R&&C(R,I)}else{e.el=t.el;const w=e.anchor=t.anchor,x=e.target=t.target,R=e.targetAnchor=t.targetAnchor,I=fs(t.props),C=I?r:x,S=I?w:R;if(a=a||hv(x),T?(h(t.dynamicChildren,T,C,i,o,a,s),Xd(t,e,!0)):l||f(t,e,C,S,i,o,a,s,!1),y)I||wl(e,r,w,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const L=e.target=Qf(e.props,p);L&&wl(e,L,null,u,0)}else I&&wl(e,x,R,u,1)}},remove(t,e,r,n,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:f,props:h}=t;if(f&&o(c),(a||!fs(h))&&(o(u),s&16))for(let d=0;d0?Br||fa:null,mb(),Ao>0&&Br&&Br.push(t),t}function Q(t,e,r,n,i,o){return gb(U(t,e,r,n,i,o,!0))}function Rt(t,e,r,n,i){return gb(P(t,e,r,n,i,!0))}function wn(t){return t?t.__v_isVNode===!0:!1}function Sn(t,e){return t.type===e.type&&t.key===e.key}function v2(t){}const uc="__vInternal",yb=({key:t})=>t!=null?t:null,uu=({ref:t,ref_key:e,ref_for:r})=>t!=null?Ke(t)||oe(t)||zt(t)?{i:Ir,r:t,k:e,f:!!r}:t:null;function U(t,e=null,r=null,n=0,i=null,o=t===Ot?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&yb(e),ref:e&&uu(e),scopeId:ac,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(zd(l,r),o&128&&t.normalize(l)):r&&(l.shapeFlag|=Ke(r)?8:16),Ao>0&&!a&&Br&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Br.push(l),l}const P=m2;function m2(t,e=null,r=null,n=0,i=null,o=!1){if((!t||t===eb)&&(t=Rr),wn(t)){const s=Vn(t,e,!0);return r&&zd(s,r),Ao>0&&!o&&Br&&(s.shapeFlag&6?Br[Br.indexOf(t)]=s:Br.push(s)),s.patchFlag|=-2,s}if(C2(t)&&(t=t.__vccOpts),e){e=bb(e);let{class:s,style:l}=e;s&&!Ke(s)&&(e.class=Qt(s)),rr(l)&&(Sd(l)&&!Ct(l)&&(l=er({},l)),e.style=ce(l))}const a=Ke(t)?1:Hy(t)?128:h2(t)?64:rr(t)?4:zt(t)?2:0;return U(t,e,r,n,i,a,o,!0)}function bb(t){return t?Sd(t)||uc in t?er({},t):t:null}function Vn(t,e,r=!1){const{props:n,ref:i,patchFlag:o,children:a}=t,s=e?yr(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&yb(s),ref:e&&e.ref?r&&i?Ct(i)?i.concat(uu(e)):[i,uu(e)]:uu(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ot?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Vn(t.ssContent),ssFallback:t.ssFallback&&Vn(t.ssFallback),el:t.el,anchor:t.anchor}}function dt(t=" ",e=0){return P(Ta,null,t,e)}function g2(t,e){const r=P(Co,null,t);return r.staticCount=e,r}function yt(t="",e=!1){return e?(B(),Rt(Rr,null,t)):P(Rr,null,t)}function $r(t){return t==null||typeof t=="boolean"?P(Rr):Ct(t)?P(Ot,null,t.slice()):typeof t=="object"?Ni(t):P(Ta,null,String(t))}function Ni(t){return t.el===null||t.memo?t:Vn(t)}function zd(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(Ct(e))r=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),zd(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!(uc in e)?e._ctx=Ir:i===3&&Ir&&(Ir.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else zt(e)?(e={default:e,_ctx:Ir},r=32):(e=String(e),n&64?(r=16,e=[dt(e)]):r=8);t.children=e,t.shapeFlag|=r}function yr(...t){const e={};for(let r=0;rdr||Ir,ji=t=>{dr=t,t.scope.on()},Gi=()=>{dr&&dr.scope.off(),dr=null};function xb(t){return t.vnode.shapeFlag&4}let wa=!1;function Tb(t,e=!1){wa=e;const{props:r,children:n}=t.vnode,i=xb(t);n2(t,r,i,e),a2(t,n);const o=i?_2(t,e):void 0;return wa=!1,o}function _2(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=Ad(new Proxy(t.ctx,Kf));const{setup:n}=r;if(n){const i=t.setupContext=n.length>1?Eb(t):null;ji(t),Lo();const o=Bn(n,t,0,[t.props,i]);if(Mo(),Gi(),Ed(o)){if(o.then(Gi,Gi),e)return o.then(a=>{eh(t,a,e)}).catch(a=>{Bo(a,t,0)});t.asyncDep=o}else eh(t,o,e)}else wb(t,e)}function eh(t,e,r){zt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:rr(e)&&(t.setupState=Fd(e)),wb(t,r)}let Pu,rh;function x2(t){Pu=t,rh=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,qT))}}const T2=()=>!Pu;function wb(t,e,r){const n=t.type;if(!t.render){if(!e&&Pu&&!n.render){const i=n.template;if(i){const{isCustomElement:o,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:l}=n,u=er(er({isCustomElement:o,delimiters:s},a),l);n.render=Pu(i,u)}}t.render=n.render||xn,rh&&rh(t)}ji(t),Lo(),JT(t),Mo(),Gi()}function w2(t){return new Proxy(t.attrs,{get(e,r){return Zr(t,"get","$attrs"),e[r]}})}function Eb(t){const e=n=>{t.exposed=n||{}};let r;return{get attrs(){return r||(r=w2(t))},slots:t.slots,emit:t.emit,expose:e}}function cc(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Fd(Ad(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Cu)return Cu[r](t)}}))}const E2=/(?:^|[-_])(\w)/g,I2=t=>t.replace(E2,e=>e.toUpperCase()).replace(/[-_]/g,"");function Su(t,e=!0){return zt(t)?t.displayName||t.name:t.name||e&&t.__name}function Ib(t,e,r=!1){let n=Su(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t&&t.parent){const i=o=>{for(const a in o)if(o[a]===e)return a};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?I2(n):r?"App":"Anonymous"}function C2(t){return zt(t)&&"__vccOpts"in t}const tt=(t,e)=>_T(t,e,wa);function R2(){return null}function N2(){return null}function P2(t){}function S2(t,e){return null}function A2(){return Cb().slots}function O2(){return Cb().attrs}function Cb(){const t=Yn();return t.setupContext||(t.setupContext=Eb(t))}function U2(t,e){const r=Ct(t)?t.reduce((n,i)=>(n[i]={},n),{}):t;for(const n in e){const i=r[n];i?Ct(i)||zt(i)?r[n]={type:i,default:e[n]}:i.default=e[n]:i===null&&(r[n]={default:e[n]})}return r}function F2(t,e){const r={};for(const n in t)e.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>t[n]});return r}function L2(t){const e=Yn();let r=t();return Gi(),Ed(r)&&(r=r.catch(n=>{throw ji(e),n})),[r,()=>ji(e)]}function Rb(t,e,r){const n=arguments.length;return n===2?rr(e)&&!Ct(e)?wn(e)?P(t,null,[e]):P(t,e):P(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&wn(r)&&(r=[r]),P(t,e,r))}const Nb=Symbol(""),M2=()=>{{const t=en(Nb);return t||Uy("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function B2(){}function k2(t,e,r,n){const i=r[n];if(i&&Pb(i,t))return i;const o=e();return o.memo=t.slice(),r[n]=o}function Pb(t,e){const r=t.memo;if(r.length!=e.length)return!1;for(let n=0;n0&&Br&&Br.push(t),!0}const Sb="3.2.37",G2={createComponentInstance:_b,setupComponent:Tb,renderComponentRoot:lu,setCurrentRenderingInstance:Rs,isVNode:wn,normalizeVNode:$r},D2=G2,H2=null,V2=null,$2="http://www.w3.org/2000/svg",go=typeof document!="undefined"?document:null,dv=go&&go.createElement("template"),j2={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const i=e?go.createElementNS($2,t):go.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>go.createTextNode(t),createComment:t=>go.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>go.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,r,n,i,o){const a=r?r.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===o||!(i=i.nextSibling)););else{dv.innerHTML=n?`${t}`:t;const s=dv.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}e.insertBefore(s,r)}return[a?a.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function X2(t,e,r){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}function z2(t,e,r){const n=t.style,i=Ke(r);if(r&&!i){for(const o in r)nh(n,o,r[o]);if(e&&!Ke(e))for(const o in e)r[o]==null&&nh(n,o,"")}else{const o=n.display;i?e!==r&&(n.cssText=r):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=o)}}const pv=/\s*!important$/;function nh(t,e,r){if(Ct(r))r.forEach(n=>nh(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=W2(t,e);pv.test(r)?t.setProperty(Mn(n),r.replace(pv,""),"important"):t[n]=r}}const vv=["Webkit","Moz","ms"],Fc={};function W2(t,e){const r=Fc[e];if(r)return r;let n=Kr(e);if(n!=="filter"&&n in t)return Fc[e]=n;n=Qs(n);for(let i=0;i{let t=Date.now,e=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(t=performance.now.bind(performance));const r=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(r&&Number(r[1])<=53)}return[t,e]})();let ih=0;const q2=Promise.resolve(),J2=()=>{ih=0},Q2=()=>ih||(q2.then(J2),ih=Ab());function ri(t,e,r,n){t.addEventListener(e,r,n)}function tw(t,e,r,n){t.removeEventListener(e,r,n)}function ew(t,e,r,n,i=null){const o=t._vei||(t._vei={}),a=o[e];if(n&&a)a.value=n;else{const[s,l]=rw(e);if(n){const u=o[e]=nw(n,i);ri(t,s,u,l)}else a&&(tw(t,s,a,l),o[e]=void 0)}}const gv=/(?:Once|Passive|Capture)$/;function rw(t){let e;if(gv.test(t)){e={};let r;for(;r=t.match(gv);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[Mn(t.slice(2)),e]}function nw(t,e){const r=n=>{const i=n.timeStamp||Ab();(Z2||i>=r.attached-1)&&Yr(iw(n,r.value),e,5,[n])};return r.value=t,r.attached=Q2(),r}function iw(t,e){if(Ct(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const yv=/^on[a-z]/,ow=(t,e,r,n,i=!1,o,a,s,l)=>{e==="class"?X2(t,n,i):e==="style"?z2(t,r,n):qs(e)?Td(e)||ew(t,e,r,n,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):aw(t,e,n,i))?K2(t,e,n,o,a,s,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Y2(t,e,n,i))};function aw(t,e,r,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&yv.test(e)&&zt(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||yv.test(e)&&Ke(r)?!1:e in t}function Ob(t,e){const r=Pt(t);class n extends fc{constructor(o){super(r,o,e)}}return n.def=r,n}const sw=t=>Ob(t,Wb),lw=typeof HTMLElement!="undefined"?HTMLElement:class{};class fc extends lw{constructor(e,r={},n){super(),this._def=e,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,cr(()=>{this._connected||(ah(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let n=0;n{for(const i of n)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const e=n=>{const{props:i,styles:o}=n,a=!Ct(i),s=i?a?Object.keys(i):i:[];let l;if(a)for(const u in this._props){const c=i[u];(c===Number||c&&c.type===Number)&&(this._props[u]=Vi(this._props[u]),(l||(l=Object.create(null)))[u]=!0)}this._numberProps=l;for(const u of Object.keys(this))u[0]!=="_"&&this._setProp(u,this[u],!0,!1);for(const u of s.map(Kr))Object.defineProperty(this,u,{get(){return this._getProp(u)},set(c){this._setProp(u,c)}});this._applyStyles(o),this._update()},r=this._def.__asyncLoader;r?r().then(e):e(this._def)}_setAttr(e){let r=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(r=Vi(r)),this._setProp(Kr(e),r,!1)}_getProp(e){return this._props[e]}_setProp(e,r,n=!0,i=!0){r!==this._props[e]&&(this._props[e]=r,i&&this._instance&&this._update(),n&&(r===!0?this.setAttribute(Mn(e),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Mn(e),r+""):r||this.removeAttribute(Mn(e))))}_update(){ah(this._createVNode(),this.shadowRoot)}_createVNode(){const e=P(this._def,er({},this._props));return this._instance||(e.ce=r=>{this._instance=r,r.isCE=!0,r.emit=(i,...o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof fc){r.parent=n._instance;break}}),e}_applyStyles(e){e&&e.forEach(r=>{const n=document.createElement("style");n.textContent=r,this.shadowRoot.appendChild(n)})}}function uw(t="$style"){{const e=Yn();if(!e)return Ee;const r=e.type.__cssModules;if(!r)return Ee;const n=r[t];return n||Ee}}function cw(t){const e=Yn();if(!e)return;const r=()=>oh(e.subTree,t(e.proxy));$y(r),Wn(()=>{const n=new MutationObserver(r);n.observe(e.subTree.el.parentNode,{childList:!0}),Aa(()=>n.disconnect())})}function oh(t,e){if(t.shapeFlag&128){const r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{oh(r.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)bv(t.el,e);else if(t.type===Ot)t.children.forEach(r=>oh(r,e));else if(t.type===Co){let{el:r,anchor:n}=t;for(;r&&(bv(r,e),r!==n);)r=r.nextSibling}}function bv(t,e){if(t.nodeType===1){const r=t.style;for(const n in e)r.setProperty(`--${n}`,e[n])}}const wi="transition",Ba="animation",Yi=(t,{slots:e})=>Rb(Hd,Fb(t),e);Yi.displayName="Transition";const Ub={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fw=Yi.props=er({},Hd.props,Ub),Qi=(t,e=[])=>{Ct(t)?t.forEach(r=>r(...e)):t&&t(...e)},_v=t=>t?Ct(t)?t.some(e=>e.length>1):t.length>1:!1;function Fb(t){const e={};for(const H in t)H in Ub||(e[H]=t[H]);if(t.css===!1)return e;const{name:r="v",type:n,duration:i,enterFromClass:o=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=t,p=hw(i),v=p&&p[0],m=p&&p[1],{onBeforeEnter:y,onEnter:g,onEnterCancelled:b,onLeave:T,onLeaveCancelled:w,onBeforeAppear:x=y,onAppear:R=g,onAppearCancelled:I=b}=e,C=(H,G,k)=>{Ri(H,G?c:s),Ri(H,G?u:a),k&&k()},S=(H,G)=>{H._isLeaving=!1,Ri(H,f),Ri(H,d),Ri(H,h),G&&G()},L=H=>(G,k)=>{const Y=H?R:g,D=()=>C(G,H,k);Qi(Y,[G,D]),xv(()=>{Ri(G,H?l:o),Qn(G,H?c:s),_v(Y)||Tv(G,n,v,D)})};return er(e,{onBeforeEnter(H){Qi(y,[H]),Qn(H,o),Qn(H,a)},onBeforeAppear(H){Qi(x,[H]),Qn(H,l),Qn(H,u)},onEnter:L(!1),onAppear:L(!0),onLeave(H,G){H._isLeaving=!0;const k=()=>S(H,G);Qn(H,f),Mb(),Qn(H,h),xv(()=>{!H._isLeaving||(Ri(H,f),Qn(H,d),_v(T)||Tv(H,n,m,k))}),Qi(T,[H,k])},onEnterCancelled(H){C(H,!1),Qi(b,[H])},onAppearCancelled(H){C(H,!0),Qi(I,[H])},onLeaveCancelled(H){S(H),Qi(w,[H])}})}function hw(t){if(t==null)return null;if(rr(t))return[Lc(t.enter),Lc(t.leave)];{const e=Lc(t);return[e,e]}}function Lc(t){return Vi(t)}function Qn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t._vtc||(t._vtc=new Set)).add(e)}function Ri(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const{_vtc:r}=t;r&&(r.delete(e),r.size||(t._vtc=void 0))}function xv(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let dw=0;function Tv(t,e,r,n){const i=t._endId=++dw,o=()=>{i===t._endId&&n()};if(r)return setTimeout(o,r);const{type:a,timeout:s,propCount:l}=Lb(t,e);if(!a)return n();const u=a+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=d=>{d.target===t&&++c>=l&&f()};setTimeout(()=>{c(r[p]||"").split(", "),i=n(wi+"Delay"),o=n(wi+"Duration"),a=wv(i,o),s=n(Ba+"Delay"),l=n(Ba+"Duration"),u=wv(s,l);let c=null,f=0,h=0;e===wi?a>0&&(c=wi,f=a,h=o.length):e===Ba?u>0&&(c=Ba,f=u,h=l.length):(f=Math.max(a,u),c=f>0?a>u?wi:Ba:null,h=c?c===wi?o.length:l.length:0);const d=c===wi&&/\b(transform|all)(,|$)/.test(r[wi+"Property"]);return{type:c,timeout:f,propCount:h,hasTransform:d}}function wv(t,e){for(;t.lengthEv(r)+Ev(t[n])))}function Ev(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Mb(){return document.body.offsetHeight}const Bb=new WeakMap,kb=new WeakMap,pw={name:"TransitionGroup",props:er({},fw,{tag:String,moveClass:String}),setup(t,{slots:e}){const r=Yn(),n=Dd();let i,o;return nl(()=>{if(!i.length)return;const a=t.moveClass||`${t.name||"v"}-move`;if(!yw(i[0].el,r.vnode.el,a))return;i.forEach(vw),i.forEach(mw);const s=i.filter(gw);Mb(),s.forEach(l=>{const u=l.el,c=u.style;Qn(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,Ri(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=ue(t),s=Fb(a);let l=a.tag||Ot;i=o,o=e.default?sc(e.default()):[];for(let u=0;u{a.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(n);const{hasTransform:o}=Lb(n);return i.removeChild(n),o}const Xi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ct(e)?r=>da(e,r):e};function bw(t){t.target.composing=!0}function Iv(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ea={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t._assign=Xi(i);const o=n||i.props&&i.props.type==="number";ri(t,e?"change":"input",a=>{if(a.target.composing)return;let s=t.value;r&&(s=s.trim()),o&&(s=Vi(s)),t._assign(s)}),r&&ri(t,"change",()=>{t.value=t.value.trim()}),e||(ri(t,"compositionstart",bw),ri(t,"compositionend",Iv),ri(t,"change",Iv))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:r,trim:n,number:i}},o){if(t._assign=Xi(o),t.composing||document.activeElement===t&&t.type!=="range"&&(r||n&&t.value.trim()===e||(i||t.type==="number")&&Vi(t.value)===e))return;const a=e==null?"":e;t.value!==a&&(t.value=a)}},hc={deep:!0,created(t,e,r){t._assign=Xi(r),ri(t,"change",()=>{const n=t._modelValue,i=Ia(t),o=t.checked,a=t._assign;if(Ct(n)){const s=qu(n,i),l=s!==-1;if(o&&!l)a(n.concat(i));else if(!o&&l){const u=[...n];u.splice(s,1),a(u)}}else if(Fo(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(Hb(t,o))})},mounted:Cv,beforeUpdate(t,e,r){t._assign=Xi(r),Cv(t,e,r)}};function Cv(t,{value:e,oldValue:r},n){t._modelValue=e,Ct(e)?t.checked=qu(e,n.props.value)>-1:Fo(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=Hi(e,Hb(t,!0)))}const Wd={created(t,{value:e},r){t.checked=Hi(e,r.props.value),t._assign=Xi(r),ri(t,"change",()=>{t._assign(Ia(t))})},beforeUpdate(t,{value:e,oldValue:r},n){t._assign=Xi(n),e!==r&&(t.checked=Hi(e,n.props.value))}},Db={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const i=Fo(e);ri(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>r?Vi(Ia(a)):Ia(a));t._assign(t.multiple?i?new Set(o):o:o[0])}),t._assign=Xi(n)},mounted(t,{value:e}){Rv(t,e)},beforeUpdate(t,e,r){t._assign=Xi(r)},updated(t,{value:e}){Rv(t,e)}};function Rv(t,e){const r=t.multiple;if(!(r&&!Ct(e)&&!Fo(e))){for(let n=0,i=t.options.length;n-1:o.selected=e.has(a);else if(Hi(Ia(o),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ia(t){return"_value"in t?t._value:t.value}function Hb(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const Vb={created(t,e,r){El(t,e,r,null,"created")},mounted(t,e,r){El(t,e,r,null,"mounted")},beforeUpdate(t,e,r,n){El(t,e,r,n,"beforeUpdate")},updated(t,e,r,n){El(t,e,r,n,"updated")}};function $b(t,e){switch(t){case"SELECT":return Db;case"TEXTAREA":return Ea;default:switch(e){case"checkbox":return hc;case"radio":return Wd;default:return Ea}}}function El(t,e,r,n,i){const a=$b(t.tagName,r.props&&r.props.type)[i];a&&a(t,e,r,n)}function _w(){Ea.getSSRProps=({value:t})=>({value:t}),Wd.getSSRProps=({value:t},e)=>{if(e.props&&Hi(e.props.value,t))return{checked:!0}},hc.getSSRProps=({value:t},e)=>{if(Ct(t)){if(e.props&&qu(t,e.props.value)>-1)return{checked:!0}}else if(Fo(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},Vb.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const r=$b(e.type.toUpperCase(),e.props&&e.props.type);if(r.getSSRProps)return r.getSSRProps(t,e)}}const xw=["ctrl","shift","alt","meta"],Tw={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>xw.some(r=>t[`${r}Key`]&&!e.includes(r))},mr=(t,e)=>(r,...n)=>{for(let i=0;ir=>{if(!("key"in r))return;const n=Mn(r.key);if(e.some(i=>i===n||ww[i]===n))return t(r)},dc={beforeMount(t,{value:e},{transition:r}){t._vod=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):ka(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),ka(t,!0),n.enter(t)):n.leave(t,()=>{ka(t,!1)}):ka(t,e))},beforeUnmount(t,{value:e}){ka(t,e)}};function ka(t,e){t.style.display=e?t._vod:"none"}function Ew(){dc.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const jb=er({patchProp:ow},j2);let ds,Nv=!1;function Xb(){return ds||(ds=hb(jb))}function zb(){return ds=Nv?ds:db(jb),Nv=!0,ds}const ah=(...t)=>{Xb().render(...t)},Wb=(...t)=>{zb().hydrate(...t)},Yd=(...t)=>{const e=Xb().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=Yb(n);if(!i)return;const o=e._component;!zt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e},Iw=(...t)=>{const e=zb().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=Yb(n);if(i)return r(i,!0,i instanceof SVGElement)},e};function Yb(t){return Ke(t)?document.querySelector(t):t}let Pv=!1;const Cw=()=>{Pv||(Pv=!0,_w(),Ew())},Rw=()=>{};var Nw=Object.freeze(Object.defineProperty({__proto__:null,compile:Rw,EffectScope:Cd,ReactiveEffect:tl,customRef:gT,effect:Dx,effectScope:Lx,getCurrentScope:Mx,isProxy:Sd,isReactive:ki,isReadonly:_a,isRef:oe,isShallow:wu,markRaw:Ad,onScopeDispose:Bx,proxyRefs:Fd,reactive:zn,readonly:Pd,ref:It,shallowReactive:Sa,shallowReadonly:hT,shallowRef:Gr,stop:Hx,toRaw:ue,toRef:Mr,toRefs:Ae,triggerRef:pT,unref:E,camelize:Kr,capitalize:Qs,normalizeClass:Qt,normalizeProps:vy,normalizeStyle:ce,toDisplayString:re,toHandlerKey:ss,BaseTransition:Hd,Comment:Rr,Fragment:Ot,KeepAlive:zT,Static:Co,Suspense:MT,Teleport:vb,Text:Ta,callWithAsyncErrorHandling:Yr,callWithErrorHandling:Bn,cloneVNode:Vn,compatUtils:V2,computed:tt,createBlock:Rt,createCommentVNode:yt,createElementBlock:Q,createElementVNode:U,createHydrationRenderer:db,createPropsRestProxy:F2,createRenderer:hb,createSlots:ZT,createStaticVNode:g2,createTextVNode:dt,createVNode:P,defineAsyncComponent:jT,defineComponent:Pt,defineEmits:N2,defineExpose:P2,defineProps:R2,get devtools(){return Jo},getCurrentInstance:Yn,getTransitionRawChildren:sc,guardReactiveProps:bb,h:Rb,handleError:Bo,initCustomFormatter:B2,inject:en,isMemoSame:Pb,isRuntimeOnly:T2,isVNode:wn,mergeDefaults:U2,mergeProps:yr,nextTick:cr,onActivated:zy,onBeforeMount:Ky,onBeforeUnmount:il,onBeforeUpdate:Zy,onDeactivated:Wy,onErrorCaptured:tb,onMounted:Wn,onRenderTracked:Qy,onRenderTriggered:Jy,onServerPrefetch:qy,onUnmounted:Aa,onUpdated:nl,openBlock:B,popScopeId:Rn,provide:_o,pushScopeId:Cn,queuePostFlushCb:Bd,registerRuntimeCompiler:x2,renderList:Hn,renderSlot:He,resolveComponent:Re,resolveDirective:KT,resolveDynamicComponent:Te,resolveFilter:H2,resolveTransitionHooks:xa,setBlockTracking:th,setDevtoolsHook:Gy,setTransitionHooks:So,ssrContextKey:Nb,ssrUtils:D2,toHandlers:nb,transformVNodeArgs:v2,useAttrs:O2,useSSRContext:M2,useSlots:A2,useTransitionState:Dd,version:Sb,warn:Uy,watch:ze,watchEffect:Xe,watchPostEffect:$y,watchSyncEffect:HT,withAsyncContext:L2,withCtx:Bt,withDefaults:S2,withDirectives:Oa,withMemo:k2,withScopeId:ST,Transition:Yi,TransitionGroup:Gb,VueElement:fc,createApp:Yd,createSSRApp:Iw,defineCustomElement:Ob,defineSSRCustomElement:sw,hydrate:Wb,initDirectivesForSSR:Cw,render:ah,useCssModule:uw,useCssVars:cw,vModelCheckbox:hc,vModelDynamic:Vb,vModelRadio:Wd,vModelSelect:Db,vModelText:Ea,vShow:dc,withKeys:yo,withModifiers:mr},Symbol.toStringTag,{value:"Module"}));const Pw="Profectus Demo",Sw="A demo project made in Profectus",Aw="profectus-demo",Ow="",Uw="",Fw="",Lw="0.0",Mw="Initial Commit",Bw=!0,kw=!1,Gw=2,Dw=!0,Hw=null,Vw="Logo.png",$w=["main","c"],jw=3600,Xw=1,zw=!0,Ww="base64";var Ie={title:Pw,description:Sw,id:Aw,author:Ow,discordName:Uw,discordLink:Fw,versionNumber:Lw,versionTitle:Mw,allowGoBack:Bw,defaultShowSmall:kw,defaultDecimalsShown:Gw,useHeader:Dw,banner:Hw,logo:Vw,initialTabs:$w,maxTickLength:jw,offlineLimit:Xw,enablePausing:zw,exportEncoding:Ww};const Mc=17,Yw=9e15,Kw=Math.log10(9e15),Zw=1/9e15,qw=308,Jw=-324,Sv=5,Qw=function(){const t=[];for(let r=Jw+1;r<=qw;r++)t.push(Number("1e"+r));const e=323;return function(r){return t[r+e]}}(),to=[2,Math.E,3,4,5,6,7,8,9,10],tE=[[1,1.0891168053867777,1.1789745164521264,1.2701428397304229,1.3632066654400328,1.4587804913784246,1.557523817412741,1.660158301473385,1.767487542936873,1.8804205225512542,2],[1,1.1121114330934,1.23103892493161,1.35838369631113,1.49605193039935,1.64635423375119,1.81213853570186,1.99697132461829,2.20538955455724,2.44325744833852,Math.E],[1,1.1187738849693603,1.2464963939368214,1.38527004705667,1.5376664685821402,1.7068895236551784,1.897001227148399,2.1132403089001035,2.362480153784171,2.6539010333870774,3],[1,1.1367350847096405,1.2889510672956703,1.4606478703324786,1.6570295196661111,1.8850062585672889,2.1539465047453485,2.476829779693097,2.872061932789197,3.3664204535587183,4],[1,1.1494592900767588,1.319708228183931,1.5166291280087583,1.748171114438024,2.0253263297298045,2.3636668498288547,2.7858359149579424,3.3257226212448145,4.035730287722532,5],[1,1.159225940787673,1.343712473580932,1.5611293155111927,1.8221199554561318,2.14183924486326,2.542468319282638,3.0574682501653316,3.7390572020926873,4.6719550537360774,6],[1,1.1670905356972596,1.3632807444991446,1.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.18422737399915,1.4066113788546144,1.680911177655277,2.027492094355525,2.4775152854601967,3.080455730250329,3.918234505962507,5.1332705696484595,6.9878696918072905,10]],eE=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]],X=function(e){return O.fromValue_noAlloc(e)},qt=function(t,e,r){return O.fromComponents(t,e,r)},he=function(e,r,n){return O.fromComponents_noNormalize(e,r,n)},Ei=function(e,r){const n=r+1,i=Math.ceil(Math.log10(Math.abs(e))),o=Math.round(e*Math.pow(10,n-i))*Math.pow(10,i-n);return parseFloat(o.toFixed(Math.max(n-i,0)))},Bc=function(t){return Math.sign(t)*Math.log10(Math.abs(t))},rE=function(t){if(!isFinite(t))return t;if(t<-50)return t===Math.trunc(t)?Number.NEGATIVE_INFINITY:0;let e=1;for(;t<10;)e=e*t,++t;t-=1;let r=.9189385332046727;r=r+(t+.5)*Math.log(t),r=r-t;const n=t*t;let i=t;return r=r+1/(12*i),i=i*n,r=r+1/(360*i),i=i*n,r=r+1/(1260*i),i=i*n,r=r+1/(1680*i),i=i*n,r=r+1/(1188*i),i=i*n,r=r+691/(360360*i),i=i*n,r=r+7/(1092*i),i=i*n,r=r+3617/(122400*i),Math.exp(r)/e},Kb=.5671432904097838,Av=function(t,e=1e-10){let r,n;if(!Number.isFinite(t)||t===0)return t;if(t===1)return Kb;t<10?r=0:r=Math.log(t)-Math.log(Math.log(t));for(let i=0;i<100;++i){if(n=(t*Math.exp(-r)+r*r)/(r+1),Math.abs(n-r).5?1:-1;if(Math.random()*20<1)return he(e,0,1);const r=Math.floor(Math.random()*(t+1));let n=r===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let i=Math.pow(10,n);return Math.random()>.9&&(i=Math.trunc(i)),qt(e,r,i)}static affordGeometricSeries_core(t,e,r,n){const i=e.mul(r.pow(n));return et.floor(t.div(i).mul(r.sub(1)).add(1).log10().div(r.log10()))}static sumGeometricSeries_core(t,e,r,n){return e.mul(r.pow(n)).mul(et.sub(1,r.pow(t))).div(et.sub(1,r))}static affordArithmeticSeries_core(t,e,r,n){const o=e.add(n.mul(r)).sub(r.div(2)),a=o.pow(2);return o.neg().add(a.add(r.mul(t).mul(2)).sqrt()).div(r).floor()}static sumArithmeticSeries_core(t,e,r,n){const i=e.add(n.mul(r));return t.div(2).mul(i.mul(2).plus(t.sub(1).mul(r)))}static efficiencyOfPurchase_core(t,e,r){return t.div(e).add(t.div(r))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=Yw)return this.layer+=1,this.mag=e*Math.log10(t),this;for(;t0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=e*Math.pow(10,t),t=Math.abs(this.mag),e=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(t,e,r){return this.sign=t,this.layer=e,this.mag=r,this.normalize(),this}fromComponents_noNormalize(t,e,r){return this.sign=t,this.layer=e,this.mag=r,this}fromMantissaExponent(t,e){return this.layer=1,this.sign=Math.sign(t),t=Math.abs(t),this.mag=e+Math.log10(t),this.normalize(),this}fromMantissaExponent_noNormalize(t,e){return this.fromMantissaExponent(t,e),this}fromDecimal(t){return this.sign=t.sign,this.layer=t.layer,this.mag=t.mag,this}fromNumber(t){return this.mag=Math.abs(t),this.sign=Math.sign(t),this.layer=0,this.normalize(),this}fromString(t){t=t.replace(",","");const e=t.split("^^^");if(e.length===2){const h=parseFloat(e[0]),d=parseFloat(e[1]),p=e[1].split(";");let v=1;if(p.length===2&&(v=parseFloat(p[1]),isFinite(v)||(v=1)),isFinite(h)&&isFinite(d)){const m=et.pentate(h,d,v);return this.sign=m.sign,this.layer=m.layer,this.mag=m.mag,this}}const r=t.split("^^");if(r.length===2){const h=parseFloat(r[0]),d=parseFloat(r[1]),p=r[1].split(";");let v=1;if(p.length===2&&(v=parseFloat(p[1]),isFinite(v)||(v=1)),isFinite(h)&&isFinite(d)){const m=et.tetrate(h,d,v);return this.sign=m.sign,this.layer=m.layer,this.mag=m.mag,this}}const n=t.split("^");if(n.length===2){const h=parseFloat(n[0]),d=parseFloat(n[1]);if(isFinite(h)&&isFinite(d)){const p=et.pow(h,d);return this.sign=p.sign,this.layer=p.layer,this.mag=p.mag,this}}t=t.trim().toLowerCase();let i,o,a=t.split("pt");if(a.length===2){i=10,o=parseFloat(a[0]),a[1]=a[1].replace("(",""),a[1]=a[1].replace(")","");let h=parseFloat(a[1]);if(isFinite(h)||(h=1),isFinite(i)&&isFinite(o)){const d=et.tetrate(i,o,h);return this.sign=d.sign,this.layer=d.layer,this.mag=d.mag,this}}if(a=t.split("p"),a.length===2){i=10,o=parseFloat(a[0]),a[1]=a[1].replace("(",""),a[1]=a[1].replace(")","");let h=parseFloat(a[1]);if(isFinite(h)||(h=1),isFinite(i)&&isFinite(o)){const d=et.tetrate(i,o,h);return this.sign=d.sign,this.layer=d.layer,this.mag=d.mag,this}}const s=t.split("e"),l=s.length-1;if(l===0){const h=parseFloat(t);if(isFinite(h))return this.fromNumber(h)}else if(l===1){const h=parseFloat(t);if(isFinite(h)&&h!==0)return this.fromNumber(h)}const u=t.split("e^");if(u.length===2){this.sign=1,u[0].charAt(0)=="-"&&(this.sign=-1);let h="";for(let d=0;d=43&&p<=57||p===101)h+=u[1].charAt(d);else return this.layer=parseFloat(h),this.mag=parseFloat(u[1].substr(d+1)),this.normalize(),this}}if(l<1)return this.sign=0,this.layer=0,this.mag=0,this;const c=parseFloat(s[0]);if(c===0)return this.sign=0,this.layer=0,this.mag=0,this;let f=parseFloat(s[s.length-1]);if(l>=2){const h=parseFloat(s[s.length-2]);isFinite(h)&&(f*=Math.sign(h),f+=Bc(h))}if(!isFinite(c))this.sign=s[0]==="-"?-1:1,this.layer=l,this.mag=f;else if(l===1)this.sign=Math.sign(c),this.layer=1,this.mag=f+Math.log10(Math.abs(c));else if(this.sign=Math.sign(c),this.layer=l,l===2){const h=et.mul(qt(1,2,f),X(c));return this.sign=h.sign,this.layer=h.layer,this.mag=h.mag,this}else this.mag=f;return this.normalize(),this}fromValue(t){return t instanceof et||t!=null&&typeof t=="object"&&"sign"in t&&"mag"in t&&"layer"in t?this.fromDecimal(t):typeof t=="number"?this.fromNumber(t):typeof t=="string"?this.fromString(t):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(t){return isNaN(this.m)?Number.NaN:this.m===0?0:Ei(this.m,t)}magnitudeWithDecimalPlaces(t){return isNaN(this.mag)?Number.NaN:this.mag===0?0:Ei(this.mag,t)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=Sv?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(t){return this.layer===0?(this.sign*this.mag).toExponential(t):this.toStringWithDecimalPlaces(t)}toFixed(t){return this.layer===0?(this.sign*this.mag).toFixed(t):this.toStringWithDecimalPlaces(t)}toPrecision(t){return this.e<=-7?this.toExponential(t-1):t>this.e?this.toFixed(t-this.exponent-1):this.toExponential(t-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(t){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(t):Ei(this.m,t)+"e"+Ei(this.e,t):this.layer===1?Ei(this.m,t)+"e"+Ei(this.e,t):this.layer<=Sv?(this.sign===-1?"-":"")+"e".repeat(this.layer)+Ei(this.mag,t):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+Ei(this.mag,t)}abs(){return he(this.sign===0?0:1,this.layer,this.mag)}neg(){return he(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?et.dZero:this.layer===0?qt(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?et.dZero:this.layer===0?qt(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?et.dZero:this.layer===0?qt(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?et.dZero:this.layer===0?qt(this.sign,0,Math.trunc(this.mag)):this}add(t){const e=X(t);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(e.layer)||this.sign===0)return e;if(e.sign===0)return this;if(this.sign===-e.sign&&this.layer===e.layer&&this.mag===e.mag)return he(0,0,0);let r,n;if(this.layer>=2||e.layer>=2)return this.maxabs(e);if(et.cmpabs(this,e)>0?(r=this,n=e):(r=e,n=this),r.layer===0&&n.layer===0)return X(r.sign*r.mag+n.sign*n.mag);const i=r.layer*Math.sign(r.mag),o=n.layer*Math.sign(n.mag);if(i-o>=2)return r;if(i===0&&o===-1){if(Math.abs(n.mag-Math.log10(r.mag))>Mc)return r;{const a=Math.pow(10,Math.log10(r.mag)-n.mag),s=n.sign+r.sign*a;return qt(Math.sign(s),1,n.mag+Math.log10(Math.abs(s)))}}if(i===1&&o===0){if(Math.abs(r.mag-Math.log10(n.mag))>Mc)return r;{const a=Math.pow(10,r.mag-Math.log10(n.mag)),s=n.sign+r.sign*a;return qt(Math.sign(s),1,Math.log10(n.mag)+Math.log10(Math.abs(s)))}}if(Math.abs(r.mag-n.mag)>Mc)return r;{const a=Math.pow(10,r.mag-n.mag),s=n.sign+r.sign*a;return qt(Math.sign(s),1,n.mag+Math.log10(Math.abs(s)))}}plus(t){return this.add(t)}sub(t){return this.add(X(t).neg())}subtract(t){return this.sub(t)}minus(t){return this.sub(t)}mul(t){const e=X(t);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(e.layer))return e;if(this.sign===0||e.sign===0)return he(0,0,0);if(this.layer===e.layer&&this.mag===-e.mag)return he(this.sign*e.sign,0,1);let r,n;if(this.layer>e.layer||this.layer==e.layer&&Math.abs(this.mag)>Math.abs(e.mag)?(r=this,n=e):(r=e,n=this),r.layer===0&&n.layer===0)return X(r.sign*n.sign*r.mag*n.mag);if(r.layer>=3||r.layer-n.layer>=2)return qt(r.sign*n.sign,r.layer,r.mag);if(r.layer===1&&n.layer===0)return qt(r.sign*n.sign,1,r.mag+Math.log10(n.mag));if(r.layer===1&&n.layer===1)return qt(r.sign*n.sign,1,r.mag+n.mag);if(r.layer===2&&n.layer===1){const i=qt(Math.sign(r.mag),r.layer-1,Math.abs(r.mag)).add(qt(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return qt(r.sign*n.sign,i.layer+1,i.sign*i.mag)}if(r.layer===2&&n.layer===2){const i=qt(Math.sign(r.mag),r.layer-1,Math.abs(r.mag)).add(qt(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return qt(r.sign*n.sign,i.layer+1,i.sign*i.mag)}throw Error("Bad arguments to mul: "+this+", "+t)}multiply(t){return this.mul(t)}times(t){return this.mul(t)}div(t){const e=X(t);return this.mul(e.recip())}divide(t){return this.div(t)}divideBy(t){return this.div(t)}dividedBy(t){return this.div(t)}recip(){return this.mag===0?et.dNaN:this.layer===0?qt(this.sign,0,1/this.mag):qt(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(t){const e=X(t);return this.sign>e.sign?1:this.sign0?this.layer:-this.layer,n=e.mag>0?e.layer:-e.layer;return r>n?1:re.mag?1:this.mag0?e:this}clamp(t,e){return this.max(t).min(e)}clampMin(t){return this.max(t)}clampMax(t){return this.min(t)}cmp_tolerance(t,e){const r=X(t);return this.eq_tolerance(r,e)?0:this.cmp(r)}compare_tolerance(t,e){return this.cmp_tolerance(t,e)}eq_tolerance(t,e){const r=X(t);if(e==null&&(e=1e-7),this.sign!==r.sign||Math.abs(this.layer-r.layer)>1)return!1;let n=this.mag,i=r.mag;return this.layer>r.layer&&(i=Bc(i)),this.layer0?qt(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):qt(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?et.dNaN:this.layer>0?qt(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):qt(this.sign,0,Math.log10(this.mag))}log(t){return t=X(t),this.sign<=0||t.sign<=0||t.sign===1&&t.layer===0&&t.mag===1?et.dNaN:this.layer===0&&t.layer===0?qt(this.sign,0,Math.log(this.mag)/Math.log(t.mag)):et.div(this.log10(),t.log10())}log2(){return this.sign<=0?et.dNaN:this.layer===0?qt(this.sign,0,Math.log2(this.mag)):this.layer===1?qt(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?qt(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):qt(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?et.dNaN:this.layer===0?qt(this.sign,0,Math.log(this.mag)):this.layer===1?qt(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?qt(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):qt(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(t){return this.log(t)}pow(t){const e=X(t),r=this,n=e;if(r.sign===0)return n.eq(0)?he(1,0,1):r;if(r.sign===1&&r.layer===0&&r.mag===1)return r;if(n.sign===0)return he(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return r;const i=r.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?i.neg():Math.abs(n.toNumber()%2)%2===0?i:et.dNaN:i}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return et.dNaN;let t=this;if(t.layer===0){const e=Math.pow(10,t.sign*t.mag);if(Number.isFinite(e)&&Math.abs(e)>=.1)return qt(1,0,e);if(t.sign===0)return et.dOne;t=he(t.sign,t.layer+1,Math.log10(t.mag))}return t.sign>0&&t.mag>=0?qt(t.sign,t.layer+1,t.mag):t.sign<0&&t.mag>=0?qt(-t.sign,t.layer+1,-t.mag):et.dOne}pow_base(t){return X(t).pow(this)}root(t){const e=X(t);return this.pow(e.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?et.exp(et.mul(this,et.ln(this).sub(1))):et.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(he(1,0,24)))return X(rE(this.sign*this.mag));const t=this.mag-1;let e=.9189385332046727;e=e+(t+.5)*Math.log(t),e=e-t;const r=t*t;let n=t,i=12*n,o=1/i,a=e+o;if(a===e||(e=a,n=n*r,i=360*n,o=1/i,a=e-o,a===e))return et.exp(e);e=a,n=n*r,i=1260*n;let s=1/i;return e=e+s,n=n*r,i=1680*n,s=1/i,e=e-s,et.exp(e)}else return this.layer===1?et.exp(et.mul(this,et.ln(this).sub(1))):et.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?et.dOne:this.layer===0&&this.mag<=709.7?X(Math.exp(this.sign*this.mag)):this.layer===0?qt(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?qt(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):qt(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return X(Math.sqrt(this.sign*this.mag));if(this.layer===1)return qt(1,2,Math.log10(this.mag)-.3010299956639812);{const t=et.div(he(this.sign,this.layer-1,this.mag),he(1,0,2));return t.layer+=1,t.normalize(),t}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(t=2,e=he(1,0,1)){if(t===1)return et.pow(this,e);if(t===0)return new et(e);if(this.eq(et.dOne))return et.dOne;if(this.eq(-1))return et.pow(this,e);if(t===Number.POSITIVE_INFINITY){const i=this.toNumber();if(i<=1.444667861009766&&i>=.06598803584531254){if(i>1.444667861009099)return new et(Math.E);const o=et.ln(this).neg();return o.lambertw().div(o)}else return i>1.444667861009766?new et(Number.POSITIVE_INFINITY):et.dNaN}if(this.eq(et.dZero)){let i=Math.abs((t+1)%2);return i>1&&(i=2-i),new et(i)}if(t<0)return et.iteratedlog(e,this,-t);e=X(e);const r=t;t=Math.trunc(t);const n=r-t;if(this.gt(et.dZero)&&this.lte(1.444667861009766)){t=Math.min(1e4,t);for(let i=0;i3)return he(e.sign,e.layer+(t-i-1),e.mag);if(i>1e4)return e}return e}iteratedexp(t=2,e=he(1,0,1)){return this.tetrate(t,e)}iteratedlog(t=10,e=1){if(e<0)return et.tetrate(t,-e,this);t=X(t);let r=X(this);const n=e;e=Math.trunc(e);const i=n-e;if(r.layer-t.layer>3){const o=Math.min(e,r.layer-t.layer-3);e-=o,r.layer-=o}for(let o=0;o1e4)return r}return i>0&&i<1&&(t.eq(10)?r=r.layeradd10(-i):r=r.layeradd(-i,t)),r}slog(t=10){if(t=X(t),t.lte(et.dZero)||t.eq(et.dOne))return et.dNaN;if(t.lt(et.dOne))return this.eq(et.dOne)?et.dZero:this.eq(et.dZero)?et.dNegOne:et.dNaN;if(this.mag<0||this.eq(et.dZero))return et.dNegOne;let e=0,r=X(this);if(r.layer-t.layer>3){const n=r.layer-t.layer-3;e+=n,r.layer-=n}for(let n=0;n<100;++n)if(r.lt(et.dZero))r=et.pow(t,r),e-=1;else{if(r.lte(et.dOne))return X(e+et.slog_critical(t.toNumber(),r.toNumber()));e+=1,r=et.log(r,t)}return X(e)}static slog_critical(t,e){return t>10?e-1:et.critical_section(t,e,eE)}static tetrate_critical(t,e){return et.critical_section(t,e,tE)}static critical_section(t,e,r){e*=10,e<0&&(e=0),e>10&&(e=10),t<2&&(t=2),t>10&&(t=10);let n=0,i=0;for(let s=0;st){const l=(t-to[s])/(to[s+1]-to[s]);n=r[s][Math.floor(e)]*(1-l)+r[s+1][Math.floor(e)]*l,i=r[s][Math.ceil(e)]*(1-l)+r[s+1][Math.ceil(e)]*l;break}const o=e-Math.floor(e);return n*(1-o)+i*o}layeradd10(t){t=et.fromValue_noAlloc(t).toNumber();const e=X(this);if(t>=1){e.mag<0&&e.layer>0?(e.sign=0,e.mag=0,e.layer=0):e.sign===-1&&e.layer==0&&(e.sign=1,e.mag=-e.mag);const r=Math.trunc(t);t-=r,e.layer+=r}if(t<=-1){const r=Math.trunc(t);if(t-=r,e.layer+=r,e.layer<0)for(let n=0;n<100;++n){if(e.layer++,e.mag=Math.log10(e.mag),!isFinite(e.mag))return e.sign===0&&(e.sign=1),e.layer<0&&(e.layer=0),e.normalize();if(e.layer>=0)break}}for(;e.layer<0;)e.layer++,e.mag=Math.log10(e.mag);return e.sign===0&&(e.sign=1,e.mag===0&&e.layer>=1&&(e.layer-=1,e.mag=1)),e.normalize(),t!==0?e.layeradd(t,10):e}layeradd(t,e){const n=this.slog(e).toNumber()+t;return n>=0?et.tetrate(e,n):Number.isFinite(n)?n>=-1?et.log(et.tetrate(e,n+1),e):et.log(et.log(et.tetrate(e,n+2),e),e):et.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return X(Av(this.toNumber()));if(this.layer===0)return X(Av(this.sign*this.mag));if(this.layer===1)return Ov(this);if(this.layer===2)return Ov(this);if(this.layer>=3)return he(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return he(this.sign,this.layer-1,this.mag);const t=this.ln();return t.div(t.lambertw())}pentate(t=2,e=he(1,0,1)){e=X(e);const r=t;t=Math.trunc(t);const n=r-t;n!==0&&(e.eq(et.dOne)?(++t,e=new et(n)):this.eq(10)?e=e.layeradd10(n):e=e.layeradd(n,this));for(let i=0;i10)return e}return e}sin(){return this.mag<0?this:this.layer===0?X(Math.sin(this.sign*this.mag)):he(0,0,0)}cos(){return this.mag<0?et.dOne:this.layer===0?X(Math.cos(this.sign*this.mag)):he(0,0,0)}tan(){return this.mag<0?this:this.layer===0?X(Math.tan(this.sign*this.mag)):he(0,0,0)}asin(){return this.mag<0?this:this.layer===0?X(Math.asin(this.sign*this.mag)):he(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?X(Math.acos(this.toNumber())):this.layer===0?X(Math.acos(this.sign*this.mag)):he(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?X(Math.atan(this.sign*this.mag)):X(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return et.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return et.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?he(Number.NaN,Number.NaN,Number.NaN):et.ln(this.add(1).div(X(1).sub(this))).div(2)}ascensionPenalty(t){return t===0?this:this.root(et.pow(10,t))}egg(){return this.add(9)}lessThanOrEqualTo(t){return this.cmp(t)<1}lessThan(t){return this.cmp(t)<0}greaterThanOrEqualTo(t){return this.cmp(t)>-1}greaterThan(t){return this.cmp(t)>0}};let O=et;O.dZero=he(0,0,0);O.dOne=he(1,0,1);O.dNegOne=he(-1,0,1);O.dTwo=he(1,0,2);O.dTen=he(1,0,10);O.dNaN=he(Number.NaN,Number.NaN,Number.NaN);O.dInf=he(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);O.dNegInf=he(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);O.dNumberMax=qt(1,0,Number.MAX_VALUE);O.dNumberMin=qt(1,0,Number.MIN_VALUE);const nE=new O(1);function es(t,e,r=!0){let n=O.log10(t).floor(),i=O.div(t,O.pow(10,n));i.toStringWithDecimalPlaces(e)==="10"&&(i=nE,n=n.add(1));const o=n.gte(1e9)?rn(n,Math.max(Math.max(e,3),Ie.defaultDecimalsShown)):n.gte(1e4)?Au(n,0):n.toStringWithDecimalPlaces(0);return r?i.toStringWithDecimalPlaces(e)+"e"+o:"e"+o}function Au(t,e){if(t==null)return"NaN";if(t=new O(t),t.mag<.001)return 0 .toFixed(e);const n=t.toStringWithDecimalPlaces(e).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function Zb(t,e){return t==null?"NaN":(t=new O(t),t.mag<1e-4?0 .toFixed(e):(t.mag<.1&&e!==0&&(e=Math.max(Math.max(e,t.log10().negate().ceil().toNumber()),Ie.defaultDecimalsShown)),t.toStringWithDecimalPlaces(e)))}const iE=new O("eeee1000"),oE=new O("e100000"),Uv=new O("e1000"),qb=new O(1e9),aE=new O(1e6),sE=new O(1e3),lE=new O(.98),uE=new O(.001),Jb=new O(0);function rn(t,e,r){if(e==null&&(e=Ie.defaultDecimalsShown),r=r!=null?r:Ie.defaultShowSmall,t=new O(t),isNaN(t.sign)||isNaN(t.layer)||isNaN(t.mag))return"NaN";if(t.sign<0)return"-"+rn(t.neg(),e);if(t.mag===Number.POSITIVE_INFINITY)return"Infinity";if(t.gte(iE)){const n=t.slog();return n.gte(aE)?"F"+rn(n.floor()):O.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+Au(n.floor(),0)}else{if(t.gte(oE))return es(t,0,!1);if(t.gte(Uv))return es(t,0);if(t.gte(qb))return es(t,e);if(t.gte(sE))return Au(t,0);if(t.gte(uE)||!r)return Zb(t,e);if(t.eq(Jb))return 0 .toFixed(e)}return t=t_(t),t.lt(Uv)?es(t,e).replace(/([^(?:e|F)]*)$/,"-$1"):rn(t,e)+"\u207B\xB9"}function tn(t){return t=new O(t),t.sign<0?"-"+tn(t.neg()):t.gte(qb)||t.lte(lE)&&!t.eq(Jb)?rn(t):rn(t,0)}function Qb(t){return O.lt(t,0)?"-"+Qb(O.neg(t)):O.gt(t,2**51)?rn(O.div(t,31536e3))+"y":(t=new O(t).toNumber(),t<60?rn(t)+"s":t<3600?tn(Math.floor(t/60))+"m "+rn(t%60)+"s":t<86400?tn(Math.floor(t/3600))+"h "+tn(Math.floor(t/60)%60)+"m "+tn(t%60)+"s":t<31536e3?tn(Math.floor(t/84600)%365)+"d "+tn(Math.floor(t/3600)%24)+"h "+tn(Math.floor(t/60)%60)+"m":tn(Math.floor(t/31536e3))+"y "+tn(Math.floor(t/84600)%365)+"d "+tn(Math.floor(t/3600)%24)+"h")}function cE(t,e,r){t=new O(t);let n=t.toStringWithDecimalPlaces(e);return new O(n).gte(r)&&(n=O.sub(r,Math.pow(.1,e)).toStringWithDecimalPlaces(e)),n}function fE(t,e){return rn(t,e,!0)}function t_(t){let e=O.log10(t).ceil();const r=O.div(t,O.pow(10,e));return e=e.neg(),t=new O(10).pow(e).times(r),t}var hE=Object.freeze(Object.defineProperty({__proto__:null,default:O,exponentialFormat:es,commaFormat:Au,regularFormat:Zb,format:rn,formatWhole:tn,formatTime:Qb,toPlaces:cE,formatSmall:fE,invertOOM:t_},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:dE,commaFormat:pE,regularFormat:vE,format:je,formatWhole:Cr,formatTime:pc,toPlaces:mE,formatSmall:gE,invertOOM:yE}=hE;window.Decimal=O;window.exponentialFormat=dE;window.commaFormat=pE;window.regularFormat=vE;window.format=je;window.formatWhole=Cr;window.formatTime=pc;window.toPlaces=mE;window.formatSmall=gE;window.invertOOM=yE;function e_(t){let e=t.replace(/([A-Z])/g," $1");return e=e.charAt(0).toUpperCase()+e.slice(1),e}function na(t){return typeof t=="function"}var Ne=(t=>(t.Up="Up",t.Down="Down",t.Left="Left",t.Right="Right",t.Default="Up",t))(Ne||{});const vc=Symbol("DoNotCache");function J(t,e){const r=t[e];na(r)&&r.length===0&&!r[vc]&&(t[e]=tt(r.bind(t)))}function nn(t){return na(t)&&!t[vc]&&(t=tt(t)),t}const ir=Symbol("Component"),fr=Symbol("GatherProps");let bE=0;function Sr(t="feature-"){return t+bE++}var ae=(t=>(t[t.Visible=0]="Visible",t[t.Hidden=1]="Hidden",t[t.None=2]="None",t))(ae||{});function le(t){return t[vc]=!0,t}function Ga(t,e=2){return t?0:e}function ve(t,e,r){t[e]===void 0&&r!=null&&(t[e]=r)}function r_(t,...e){const r=[],n=i=>{Object.keys(i).forEach(o=>{const a=i[o];a&&typeof a=="object"&&(e.includes(a.type)?r.push(a):!(a instanceof O)&&!oe(a)&&n(a))})};return n(t),r}const eo={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var Kd=(t=>(t.Classic="classic",t.Paper="paper",t.Nordic="nordic",t.Aqua="aqua",t))(Kd||{}),gi={classic:eo,paper:{...eo,variables:{...eo.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...eo,variables:{...eo.variables,"--foreground":"#D8DEE9","--background":"#2E3440","--feature-foreground":"#000","--raised-background":"#3B4252","--points":"#E5E9F0","--locked":"#4c566a","--highlighted":"#434c5e","--bought":"#8FBCBB","--danger":"#D08770","--link":"#88C0D0","--outline":"#3B4252","--accent1":"#B48EAD","--accent2":"#A3BE8C","--accent3":"#EBCB8B","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...eo,variables:{...eo.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */function Fv(t){return Object.prototype.toString.call(t)==="[object Object]"}function _E(t){var e,r;return Fv(t)===!1?!1:(e=t.constructor,e===void 0?!0:(r=e.prototype,!(Fv(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}const lr=Symbol("ProxyState"),Qo=Symbol("ProxyPath");function pr(t,e={}){const r=e;let n=!1;function i(){return n||(Object.assign(r,t(r)),n=!0),r}return new Proxy(r,{get(o,a){return a===lr?i():i()[a]},set(o,a,s){return i()[a]=s,!0},has(o,a){return a===lr?!0:Reflect.has(i(),a)},ownKeys(){return Reflect.ownKeys(i())},getOwnPropertyDescriptor(o,a){return n||(Object.assign(r,t(r)),n=!0),Object.getOwnPropertyDescriptor(o,a)}})}var Le=window.state=Sa({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const n_=zn({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});function i_(t){return JSON.stringify(t,(e,r)=>E(r))}const o_={get(t,e){var n;if(e===lr||e===Qo)return t[e];const r=t[lr][e];if(e!=="value"&&(_E(r)||Array.isArray(r))){if(r!==((n=t[e])==null?void 0:n[lr])){const i=[...t[Qo],e];t[e]=new Proxy({[lr]:r,[Qo]:i},o_)}return t[e]}return r},set(t,e,r,n){if(!Le.hasNaN&&(typeof r=="number"&&isNaN(r)||r instanceof O&&(isNaN(r.sign)||isNaN(r.layer)||isNaN(r.mag)))){const i=t[lr][e];if(!(typeof i=="number"&&isNaN(i)||i instanceof O&&(isNaN(i.sign)||isNaN(i.layer)||isNaN(i.mag))))throw n_.autosave=!1,Le.hasNaN=!0,Le.NaNPath=[...t[Qo],e],Le.NaNReceiver=n,console.error("Attempted to set NaN value",[...t[Qo],e],t[lr]),"Attempted to set NaN value. See above for details"}return t[lr][e]=r,!0},ownKeys(t){return Reflect.ownKeys(t[lr])},has(t,e){return Reflect.has(t[lr],e)},getOwnPropertyDescriptor(t,e){return Object.getOwnPropertyDescriptor(t[lr],e)}};var wt=window.player=new Proxy({[lr]:n_,[Qo]:["player"]},o_);let a_=()=>({events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}});const vr=a_();let ta=null,ps=null;function Ou(){const t=Date.now();let e=(t-wt.time)/1e3;wt.time=t;const r=e;if(Le.lastTenTicks.push(r),Le.lastTenTicks.length>10&&(Le.lastTenTicks=Le.lastTenTicks.slice(1)),!((ps==null?void 0:ps.value)&&!wt.keepGoing)&&!Le.hasNaN&&(e=Math.max(e,0),wt.devSpeed!==0)){if(wt.offlineTime!=null){if(O.gt(wt.offlineTime,Ie.offlineLimit*3600)&&(wt.offlineTime=Ie.offlineLimit*3600),O.gt(wt.offlineTime,0)&&wt.devSpeed!==0){const n=Math.max(wt.offlineTime/10,e);wt.offlineTime=wt.offlineTime-n,e+=n}else wt.devSpeed===0&&(wt.offlineTime+=e);(!wt.offlineProd||O.lt(wt.offlineTime,0))&&(wt.offlineTime=null)}e=Math.min(e,Ie.maxTickLength),wt.devSpeed!=null&&(e*=wt.devSpeed),Number.isFinite(e)||(e=1e308),!O.eq(e,0)&&(wt.timePlayed+=e,Number.isFinite(wt.timePlayed)||(wt.timePlayed=1e308),vr.emit("update",e,r),Pe.unthrottled?(requestAnimationFrame(Ou),ta!=null&&(clearInterval(ta),ta=null)):ta==null&&(ta=setInterval(Ou,50)))}}async function xE(){ps=(await xu(()=>Promise.resolve().then(function(){return vx}),void 0)).hasWon,ze(ps,t=>{t&&vr.emit("gameWon")}),Pe.unthrottled?requestAnimationFrame(Ou):ta=setInterval(Ou,50)}var TE=Object.freeze(Object.defineProperty({__proto__:null,globalBus:vr,startGameLoop:xE},Symbol.toStringTag,{value:"Module"})),cu=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function wE(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function s_(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}),e}var l_={exports:{}};(function(t){var e=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function a(l,u){if(!o[l]){o[l]={};for(var c=0;c>>8,c[f*2+1]=d%256}return c},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),c=0,f=u.length;c>1}else{for(h=1,f=0;f>1}g--,g==0&&(g=Math.pow(2,T),T++),delete p[y]}else for(h=d[y],f=0;f>1;g--,g==0&&(g=Math.pow(2,T),T++),d[m]=b++,y=String(v)}if(y!==""){if(Object.prototype.hasOwnProperty.call(p,y)){if(y.charCodeAt(0)<256){for(f=0;f>1}else{for(h=1,f=0;f>1}g--,g==0&&(g=Math.pow(2,T),T++),delete p[y]}else for(h=d[y],f=0;f>1;g--,g==0&&(g=Math.pow(2,T),T++)}for(h=2,f=0;f>1;for(;;)if(x=x<<1,R==u-1){w.push(c(x));break}else R++;return w.join("")},decompress:function(l){return l==null?"":l==""?null:s._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var f=[],h=4,d=4,p=3,v="",m=[],y,g,b,T,w,x,R,I={val:c(0),position:u,index:1};for(y=0;y<3;y+=1)f[y]=y;for(b=0,w=Math.pow(2,2),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;switch(b){case 0:for(b=0,w=Math.pow(2,8),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;R=r(b);break;case 1:for(b=0,w=Math.pow(2,16),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;R=r(b);break;case 2:return""}for(f[3]=R,g=R,m.push(R);;){if(I.index>l)return"";for(b=0,w=Math.pow(2,p),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;switch(R=b){case 0:for(b=0,w=Math.pow(2,8),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;f[d++]=r(b),R=d-1,h--;break;case 1:for(b=0,w=Math.pow(2,16),x=1;x!=w;)T=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),b|=(T>0?1:0)*x,x<<=1;f[d++]=r(b),R=d-1,h--;break;case 2:return m.join("")}if(h==0&&(h=Math.pow(2,p),p++),f[R])v=f[R];else if(R===d)v=g+g.charAt(0);else return null;m.push(v),f[d++]=g+v.charAt(0),h--,g=v,h==0&&(h=Math.pow(2,p),p++)}}};return s}();t!=null&&(t.exports=e)})(l_);var Oi=l_.exports;function u_(t={}){return Object.assign({id:`${Ie.id}-0`,name:"Default Save",tabs:Ie.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:Ie.id,modVersion:Ie.versionNumber,layers:{}},t)}function pn(t){const e=Oi.compressToUTF16(i_(t!=null?t:wt[lr]));return localStorage.setItem((t!=null?t:wt[lr]).id,e),e}async function EE(){CE();try{let t=localStorage.getItem(Pe.active);if(t==null){await To(va());return}if(t[0]!=="{")if(t[0]==="e")t=decodeURIComponent(escape(atob(t)));else if(t[0]==="\u1BE1")t=Oi.decompressFromUTF16(t);else throw"Unable to determine save encoding";const e=JSON.parse(t);if(e.modID!==Ie.id){await To(va());return}e.id=Pe.active,await To(e)}catch(t){console.error(`Failed to load save. Falling back to new save. -`,t),await To(va())}}function va(){const t=fu(),e=u_({id:t});return pn(e),Pe.saves.push(t),e}function fu(){let t,e=0;do t=`${Ie.id}-${e++}`;while(localStorage.getItem(t));return t}async function To(t){console.info("Loading save",t);const{layers:e,removeLayer:r,addLayer:n}=await xu(()=>Promise.resolve().then(function(){return zE}),void 0),{fixOldSave:i,getInitialLayers:o}=await xu(()=>Promise.resolve().then(function(){return vx}),void 0);for(const a in e){const s=e[a];s&&r(s)}o(t).forEach(a=>n(a,t)),t=u_(t),t.offlineProd&&t.time&&(t.offlineTime==null&&(t.offlineTime=0),t.offlineTime+=(Date.now()-t.time)/1e3),t.time=Date.now(),t.modVersion!==Ie.versionNumber&&i(t.modVersion,t),Object.assign(wt,t),Pe.active=wt.id}setInterval(()=>{wt.autosave&&pn()},1e3);window.onbeforeunload=()=>{wt.autosave&&pn()};window.save=pn;const IE=window.hardReset=async()=>{await To(va())},Ps=zn({active:"",saves:[],showTPS:!0,theme:Kd.Nordic,unthrottled:!1});ze(Ps,t=>{const e=Oi.compressToUTF16(JSON.stringify(t));localStorage.setItem(Ie.id,e)},{deep:!0});var Pe=window.settings=Ps;function CE(){try{let t=localStorage.getItem(Ie.id);if(t!=null&&t!==""){if(t[0]!=="{")if(t[0]==="e")t=decodeURIComponent(escape(atob(t)));else if(t[0]==="\u1BE1")t=Oi.decompressFromUTF16(t);else{console.warn("Unable to determine settings encoding",t);return}const e=JSON.parse(t);typeof e=="object"&&Object.assign(Ps,e)}vr.emit("loadSettings",Ps)}catch{}}window.hardResetSettings=()=>{const t={active:"",saves:[],showTPS:!0,theme:Kd.Nordic};vr.emit("loadSettings",t),Object.assign(Ps,t),IE()};const c_=zn([]);function f_(t){c_.push(t)}const h_=zn([]);function RE(t){h_.push(t)}const NE=zn([]),PE={class:"table"},hu=Pt({__name:"Column",setup(t){const e=tt(()=>gi[Pe.theme].mergeAdjacent);return(r,n)=>(B(),Q("div",PE,[U("div",{class:Qt(["col",{mergeAdjacent:E(e)}])},[He(r.$slots,"default")],2)]))}}),SE={class:"table"},vs=Pt({__name:"Row",setup(t){const e=tt(()=>gi[Pe.theme].mergeAdjacent);return(r,n)=>(B(),Q("div",SE,[U("div",{class:Qt(["row",{mergeAdjacent:E(e)}])},[He(r.$slots,"default")],2)]))}});function d_(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!wn(t)}function te(t,e="span"){return typeof t=="function"?Pt({render:t}):typeof t=="string"?t.length>0?(t=t.trim(),t.charAt(0)!=="<"&&(t=`<${e}>${t}`),Pt({template:t})):Pt({render:()=>({})}):t}function Ge(t){if(on(t))return typeof t=="function"?t():te(t);const e=t[ir];return P(e,t[fr](),null)}function hn(...t){let e;return P(vs,null,d_(e=t.map(Ge))?e:{default:()=>[e]})}function AE(...t){let e;return P(hu,null,d_(e=t.map(Ge))?e:{default:()=>[e]})}function oi(t){if(on(t))return typeof t=="function"?t():typeof t=="string"?P(Ot,null,[t]):P(t,null,null);const e=t[ir];return P(e,t[fr](),null)}function on(t){return typeof t=="string"?!0:typeof t=="object"?t==null?!1:"render"in t||"component"in t:typeof t=="function"&&t[vc]===!0}function Zd(t,e){const r=It(null),n=It(void 0);function i(s){r.value||(r.value=setInterval(a,250)),n.value=s}function o(){r.value&&(clearInterval(r.value),r.value=null)}function a(){e&&e.value?e.value():t&&t.value&&t.value(n.value)}return Aa(o),{start:i,stop:o,handleHolding:a}}function Ca(t,e="div"){const r=Gr();return Xe(()=>{r.value=te(Be(t),e)}),r}function ko(t,e="div"){const r=Gr(null);return Xe(()=>{const n=Be(t);r.value=n==null?null:te(n,e)}),r}function OE(t){return tt(()=>Be(t))}function Be(t){return E(E(t))}function nt(...t){return t.includes(Object)||t.push(Object),t}var ne=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};const UE=Pt({__name:"Context",emits:["updateNodes"],setup(t,{emit:e}){var c;const r=It({}),n=new ResizeObserver(s),i=It(null);Wn(()=>{const f=i.value;f!=null&&n.observe(f)});let o=!0,a=It((c=i.value)==null?void 0:c.getBoundingClientRect());function s(){i.value!=null&&o&&(o=!1,cr(()=>{var f;a.value=(f=i.value)==null?void 0:f.getBoundingClientRect(),Object.values(r.value).filter(h=>h).forEach(h=>h.rect=h.element.getBoundingClientRect()),e("updateNodes",r.value),o=!0}))}document.fonts.ready.then(s);const l={attributes:!1,childList:!0,subtree:!1};_o(qd,(f,h)=>{const d=new MutationObserver(()=>u(f));d.observe(h,l),r.value[f]={element:h,observer:d,rect:h.getBoundingClientRect()},e("updateNodes",r.value),cr(()=>u(f))}),_o(Jd,f=>{var h;(h=r.value[f])==null||h.observer.disconnect(),r.value[f]=void 0,e("updateNodes",r.value)}),_o(Qd,r),_o(tp,a);function u(f){const h=r.value[f];h!=null&&(h.rect=h.element.getBoundingClientRect(),e("updateNodes",r.value))}return(f,h)=>(B(),Q(Ot,null,[He(f.$slots,"default",{},void 0,!0),U("div",{ref_key:"resizeListener",ref:i,class:"resize-listener"},null,512)],64))}});var p_=ne(UE,[["__scopeId","data-v-6a08ac80"]]);const FE=["onPointerdown"],LE={class:"modal-wrapper"},ME={class:"modal-container"},BE={class:"modal-header"},kE=dt(" default header "),GE={class:"modal-body"},DE=dt(" default body "),HE={class:"modal-footer"},VE=U("div",{class:"modal-default-flex-grow"},null,-1),Ki=Pt({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{expose:e,emit:r}){const i=Ae(t),o=tt(()=>i.modelValue||s.value);function a(){r("update:modelValue",!1)}const s=It(!1),l=It(null),u=tt(()=>{var c,f;return(f=(c=l.value)==null?void 0:c.nodes)!=null?f:null});return e({isOpen:o,nodes:u}),(c,f)=>(B(),Rt(vb,{to:"#modal-root"},[P(Yi,{name:"modal",onBeforeEnter:f[0]||(f[0]=h=>s.value=!0),onAfterLeave:f[1]||(f[1]=h=>s.value=!1)},{default:Bt(()=>[Oa(U("div",yr({class:"modal-mask",onPointerdown:mr(a,["self"])},c.$attrs),[U("div",LE,[U("div",ME,[U("div",BE,[He(c.$slots,"header",{shown:E(o)},()=>[kE])]),U("div",GE,[P(p_,{ref_key:"contextRef",ref:l},{default:Bt(()=>[He(c.$slots,"body",{shown:E(o)},()=>[DE])]),_:3},512)]),U("div",HE,[He(c.$slots,"footer",{shown:E(o)},()=>[U("div",{class:"modal-default-footer"},[VE,U("button",{class:"button modal-default-button",onClick:a}," Close ")])])])])])],16,FE),[[dc,t.modelValue]])]),_:3})]))}}),Ss=Symbol("PersistentState"),As=Symbol("DefaultValue"),Uu=Symbol("StackTrace"),v_=Symbol("Deleted");function $E(){var t;return((t=new Error().stack)==null?void 0:t.split(` -`).slice(3,5).map(e=>e.trim()).join(` -`))||""}function nr(t){const e=oe(t)?t:It(t);return e[Ss]=e,e[As]=oe(t)?t.value:t,e[Uu]=$E(),e[v_]=!1,vn.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",e,` -Created at: -`+e[Uu]):ma[vn[vn.length-1]].add(e),e}vr.on("addLayer",(t,e)=>{const r=[],n=(i,o=[])=>{let a=!1;return Object.keys(i).forEach(s=>{const l=i[s];if(l&&typeof l=="object")if(Ss in l){if(a=!0,l[v_]){console.warn("Deleted persistent ref present in returned object. Ignoring...",l,` -Created at: -`+l[Uu]);return}ma[t.id].delete(lr in l?l[lr]:l);const u=o.reduce((f,h)=>(h in f||(f[h]={}),f[h]),e),c=u[s];u[s]=l[Ss],ki(u)?c!=null?u[s]=c:u[s]=l[As]:c!=null?u[s].value=c:u[s].value=l[As]}else!(l instanceof O)&&!oe(l)&&!r.includes(l)&&(typeof l.type=="symbol"&&r.push(l),n(l,[...o,s])&&(Ct(l)&&!Ct(i)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",lr in i?i[lr]:i,s):a=!0))}),a};n(t),ma[t.id].forEach(i=>{console.error(`Created persistent ref in ${t.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,i,` -Created at: -`+i[Uu])}),ma[t.id].clear()});const qd=Symbol("RegisterNode"),Jd=Symbol("UnregisterNode"),Qd=Symbol("Nodes"),tp=Symbol("Bounds"),kr=Sa({});window.layers=kr;const ma={},vn=[];function ol(t,e){return pr(()=>{const r={},n=r.emitter=a_();if(r.on=n.on.bind(n),r.emit=n.emit.bind(n),r.nodes=It({}),r.id=t,vn.push(t),ma[t]=new Set,r.minimized=nr(!1),Object.assign(r,e.call(r)),vn[vn.length-1]==null||vn[vn.length-1]!==t)throw`Adding layers stack in invalid state. This should not happen -Stack: ${vn} -Trying to pop ${r.id}`;return vn.pop(),J(r,"color"),J(r,"display"),J(r,"name"),ve(r,"name",r.id),J(r,"minWidth"),ve(r,"minWidth",600),J(r,"minimizable"),ve(r,"minimizable",!0),r})}function m_(t,e){if(console.info("Adding layer",t.id),kr[t.id]){console.error("Attempted to add layer with same ID as existing layer",t.id,kr[t.id]);return}ve(e,"layers",{}),e.layers[t.id]==null&&(e.layers[t.id]={}),kr[t.id]=t,vr.emit("addLayer",t,e.layers[t.id])}function jE(t){return kr[t]}function g_(t){console.info("Removing layer",t.id),vr.emit("removeLayer",t),kr[t.id]=void 0}function XE(t){g_(t),m_(t,wt)}function y_(t){const e=It(!1);return{openModal:()=>e.value=!0,modal:le(()=>P(Ki,{modelValue:e.value,"onUpdate:modelValue":r=>e.value=r},{header:()=>P("h2",null,[E(t.name)]),body:E(t.display)}))}}vr.on("update",function(e){Object.values(kr).forEach(r=>{r==null||r.emit("preUpdate",e)}),Object.values(kr).forEach(r=>{r==null||r.emit("update",e)}),Object.values(kr).forEach(r=>{r==null||r.emit("postUpdate",e)})});var zE=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:qd,UnregisterNodeInjectionKey:Jd,NodesInjectionKey:Qd,BoundsInjectionKey:tp,layers:kr,persistentRefs:ma,addingLayers:vn,createLayer:ol,addLayer:m_,getLayer:jE,removeLayer:g_,reloadLayer:XE,setupLayerModal:y_},Symbol.toStringTag,{value:"Module"}));const WE=Pt({components:{Context:p_},props:{index:{type:Number,required:!0},tab:{type:Function,required:!0},display:{type:nt(Object,String,Function),required:!0},minimized:{type:Object,required:!0},minWidth:{type:nt(Number,String),required:!0},name:{type:nt(String),required:!0},color:nt(String),minimizable:nt(Boolean),nodes:{type:Object,required:!0}},setup(t){const{display:e,index:r,minimized:n,minWidth:i,tab:o}=Ae(t),a=Ca(e),s=tt(()=>Ie.allowGoBack&&r.value>0&&!n.value);function l(){wt.tabs.splice(E(t.index),1/0)}cr(()=>c(n.value,E(i.value))),ze([n,OE(i)],([f,h])=>c(f,h));function u(f){t.nodes.value=f}function c(f,h){const d=typeof h=="number"||Number.isNaN(parseInt(h))?h+"px":h,p=o.value();p!=null&&(f?(p.style.flexGrow="0",p.style.flexShrink="0",p.style.width="60px",p.style.minWidth=p.style.flexBasis="",p.style.margin="0"):(p.style.flexGrow="",p.style.flexShrink="",p.style.width="",p.style.minWidth=p.style.flexBasis=d,p.style.margin=""))}return{component:a,showGoBack:s,updateNodes:u,unref:E,goBack:l}}});function YE(t,e,r,n,i,o){const a=Re("Context");return B(),Q("div",{class:"layer-container",style:ce({"--layer-color":t.unref(t.color)})},[t.showGoBack?(B(),Q("button",{key:0,class:"goBack",onClick:e[0]||(e[0]=(...s)=>t.goBack&&t.goBack(...s))},"\u2190")):yt("",!0),t.minimized.value?(B(),Q("button",{key:1,class:"layer-tab minimized",onClick:e[1]||(e[1]=s=>t.minimized.value=!1)},[U("div",null,re(t.unref(t.name)),1)])):(B(),Q("div",{key:2,class:Qt(["layer-tab",{showGoBack:t.showGoBack}])},[P(a,{onUpdateNodes:t.updateNodes},{default:Bt(()=>[(B(),Rt(Te(t.component)))]),_:1},8,["onUpdateNodes"])],2)),t.unref(t.minimizable)?(B(),Q("button",{key:3,class:"minimize",onClick:e[2]||(e[2]=s=>t.minimized.value=!0)}," \u25BC ")):yt("",!0)],4)}var KE=ne(WE,[["render",YE],["__scopeId","data-v-34c9d881"]]);const b_=t=>(Cn("data-v-4b4bda40"),t=t(),Rn(),t),ZE=b_(()=>U("h2",null,"Changelog",-1)),qE=b_(()=>U("details",{open:""},[U("summary",null,[dt("v0.0 Initial Commit - "),U("time",null,"2021-09-04")]),dt(" This is the first release :D "),U("ul",null,[U("li",{class:"feature"},"Did everything"),U("li",{class:"fix"},"Had some fun"),U("li",{class:"breaking"},"Removed everything"),U("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),JE=Pt({__name:"Changelog",setup(t,{expose:e}){const r=It(!1);return e({open(){r.value=!0}}),(n,i)=>(B(),Rt(Ki,{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o)},{header:Bt(()=>[ZE]),body:Bt(()=>[qE]),_:1},8,["modelValue"]))}});var QE=ne(JE,[["__scopeId","data-v-4b4bda40"]]);const tI=Pt({props:{element:nt(Object),display:{type:nt(Object,String,Function),required:!0},style:nt(Object,String,Array),classes:nt(Object),direction:nt(String),xoffset:nt(String),yoffset:nt(String),pinned:Object},setup(t){const{element:e,display:r,pinned:n}=Ae(t),i=It(!1),o=tt(()=>(Be(n)||i.value)&&a.value),a=ko(r),s=Gr(null);Xe(()=>{const c=Be(e);s.value=c==null?null:te(le(()=>Ge(c)))});function l(c){const f=n;c.shiftKey&&f&&(f.value=!f.value,c.stopPropagation(),c.preventDefault())}const u=tt(()=>Be(n)&&gi[Pe.theme].showPin);return{Direction:Ne,isHovered:i,isShown:o,comp:a,elementComp:s,unref:E,togglePinned:l,showPin:u}}}),eI={key:0,class:"material-icons pinned"};function rI(t,e,r,n,i,o){return B(),Q("div",{class:Qt(["tooltip-container",{shown:t.isShown}]),onMouseenter:e[0]||(e[0]=a=>t.isHovered=!0),onMouseleave:e[1]||(e[1]=a=>t.isHovered=!1),onClickCapture:e[2]||(e[2]=(...a)=>t.togglePinned&&t.togglePinned(...a))},[He(t.$slots,"default",{},void 0,!0),t.elementComp?(B(),Rt(Te(t.elementComp),{key:0})):yt("",!0),P(Yi,{name:"fade"},{default:Bt(()=>{var a;return[t.isShown?(B(),Q("div",{key:0,class:Qt(["tooltip",{top:t.unref(t.direction)===t.Direction.Up,left:t.unref(t.direction)===t.Direction.Left,right:t.unref(t.direction)===t.Direction.Right,bottom:t.unref(t.direction)===t.Direction.Down,...t.unref(t.classes)}]),style:ce([{"--xoffset":t.unref(t.xoffset)||"0px","--yoffset":t.unref(t.yoffset)||"0px"},(a=t.unref(t.style))!=null?a:{}])},[t.showPin?(B(),Q("span",eI,"push_pin")):yt("",!0),t.comp?(B(),Rt(Te(t.comp),{key:1})):yt("",!0)],6)):yt("",!0)]}),_:1})],34)}var Me=ne(tI,[["render",rI],["__scopeId","data-v-5ddf6b77"]]);const Go=t=>(Cn("data-v-7dec2dec"),t=t(),Rn(),t),nI={class:"info-modal-header"},iI=["src","alt"],oI={class:"info-modal-title"},aI={key:0},sI={key:0},lI={key:0},uI=Go(()=>U("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),cI=Go(()=>U("br",null,null,-1)),fI=Go(()=>U("br",null,null,-1)),hI=["href"],dI=Go(()=>U("span",{class:"material-icons info-modal-discord"},"discord",-1)),pI=Go(()=>U("div",null,[U("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link"},[U("span",{class:"material-icons info-modal-discord"},"discord"),dt(" The Paper Pilot Community ")])],-1)),vI=Go(()=>U("div",null,[U("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link"},[U("span",{class:"material-icons info-modal-discord"},"discord"),dt(" The Modding Tree ")])],-1)),mI=Go(()=>U("br",null,null,-1));var gI=Pt({__name:"Info",props:{changelog:null},setup(t,{expose:e}){const r=t,{title:n,logo:i,author:o,discordName:a,discordLink:s,versionNumber:l,versionTitle:u}=Ie,c=Ae(r),f=It(!1),h=tt(()=>pc(wt.timePlayed)),d=tt(()=>te(le(()=>P(Ot,null,[h_.map(Ge)]))));e({open(){f.value=!0}});function p(){var v;(v=E(c.changelog))==null||v.open()}return(v,m)=>(B(),Rt(Ki,{modelValue:f.value,"onUpdate:modelValue":m[0]||(m[0]=y=>f.value=y)},{header:Bt(()=>[U("div",nI,[E(i)?(B(),Q("img",{key:0,class:"info-modal-logo",src:E(i),alt:E(n)},null,8,iI)):yt("",!0),U("div",oI,[U("h2",null,re(E(n)),1),U("h4",null,[dt(" v"+re(E(l)),1),E(u)?(B(),Q("span",aI,": "+re(E(u)),1)):yt("",!0)])])])]),body:Bt(({shown:y})=>[y?(B(),Q("div",sI,[E(o)?(B(),Q("div",lI,"By "+re(E(o)),1)):yt("",!0),uI,cI,U("div",{class:"link",onClick:p},"Changelog"),fI,U("div",null,[E(s)?(B(),Q("a",{key:0,href:E(s),class:"info-modal-discord-link"},[dI,dt(" "+re(E(a)),1)],8,hI)):yt("",!0)]),pI,vI,mI,U("div",null,"Time Played: "+re(E(h)),1),(B(),Rt(Te(E(d))))])):yt("",!0)]),_:1},8,["modelValue"]))}});var yI=ne(gI,[["__scopeId","data-v-7dec2dec"]]);function ep(t){return(ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function Lv(t){return function(e){if(Array.isArray(e))return sh(e)}(t)||function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||__(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function __(t,e){if(t){if(typeof t=="string")return sh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sh(t,e):void 0}}function sh(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}var lh={inheritAttrs:!1,name:"vue-input",props:{autocomplete:{required:!1,type:String},modelValue:{required:!0,type:String},placeholder:{required:!0,type:String},disabled:{required:!0,type:Boolean},tabindex:{required:!0,type:Number},autofocus:{required:!0,type:Boolean},comboboxUid:{required:!0,type:Number}},emits:["update:modelValue","input","change","focus","blur","escape"],setup:function(t,e){var r=It(null);return Wn(function(){t.autofocus&&r.value.focus()}),nl(function(){t.autofocus&&r.value.focus()}),{handleInput:function(n){e.emit("input",n),e.emit("update:modelValue",n.target.value)},handleChange:function(n){e.emit("change",n),e.emit("update:modelValue",n.target.value)},handleFocus:function(n){e.emit("focus",n)},handleBlur:function(n){e.emit("blur",n)},input:r,handleEscape:function(n){r.value.blur(),e.emit("escape",n)}}}},bI={class:"vue-input"},_I=["autocomplete","modelValue","placeholder","disabled","tabindex","autofocus","aria-controls","aria-labelledby"];lh.render=function(t,e,r,n,i,o){return B(),Q("div",bI,[He(t.$slots,"prepend"),U("input",{ref:"input",autocomplete:r.autocomplete,modelValue:r.modelValue,placeholder:r.placeholder,disabled:r.disabled,onInput:e[0]||(e[0]=function(){return n.handleInput&&n.handleInput.apply(n,arguments)}),onChange:e[1]||(e[1]=function(){return n.handleChange&&n.handleChange.apply(n,arguments)}),onFocus:e[2]||(e[2]=function(){return n.handleFocus&&n.handleFocus.apply(n,arguments)}),onBlur:e[3]||(e[3]=function(){return n.handleBlur&&n.handleBlur.apply(n,arguments)}),onKeyup:e[4]||(e[4]=yo(mr(function(){return n.handleEscape&&n.handleEscape.apply(n,arguments)},["exact"]),["esc"])),tabindex:r.tabindex,autofocus:r.autofocus,"aria-autocomplete":"list","aria-controls":"vs".concat(r.comboboxUid,"-listbox"),"aria-labelledby":"vs".concat(r.comboboxUid,"-combobox")},null,40,_I),He(t.$slots,"append")])},lh.__file="src/components/input.vue";var uh={inheritAttrs:!1,name:"vue-tags",props:{modelValue:{required:!0,type:Array,validator:function(t){return t.every(function(e){return ep(e.key)!==void 0&&e.label!==void 0&&typeof e.selected=="boolean"})}},collapseTags:{type:Boolean}},emits:["click"],setup:function(t,e){return{dataAttrs:en("dataAttrs"),handleClick:function(r){e.emit("click",r)}}}};uh.render=function(t,e,r,n,i,o){return B(),Q("ul",yr({class:["vue-tags",{collapsed:r.collapseTags}],onMousedown:e[0]||(e[0]=mr(function(){},["prevent"])),tabindex:"-1",onClick:e[1]||(e[1]=function(){return n.handleClick&&n.handleClick.apply(n,arguments)})},n.dataAttrs),[(B(!0),Q(Ot,null,Hn(r.modelValue,function(a){return B(),Q(Ot,{key:a.key},[a.group?yt("v-if",!0):(B(),Q("li",{key:0,class:Qt(["vue-tag",{selected:a.selected}])},[He(t.$slots,"default",{option:a},function(){return[U("span",null,re(a.label),1)]})],2))],64)}),128))],16)},uh.__file="src/components/tags.vue";var ch={inheritAttrs:!1,name:"vue-dropdown",props:{modelValue:{required:!0,type:Array,validator:function(t){return t.every(function(e){return ep(e.key)!==void 0&&e.label!==void 0&&typeof e.selected=="boolean"})}},comboboxUid:{required:!0,type:Number},maxHeight:{required:!0},highlightedOriginalIndex:{required:!0}},emits:["click-item","mouseenter"],setup:function(t,e){return{dataAttrs:en("dataAttrs"),handleClickItem:function(r,n){n.disabled||e.emit("click-item",r,n)},handleMouseenter:function(r,n){e.emit("mouseenter",r,n)}}}},xI=["id","aria-multiselectable","aria-busy","aria-disabled"],TI=["onClick","onMouseenter","id","aria-selected","aria-disabled"];ch.render=function(t,e,r,n,i,o){return B(),Q("ul",yr({class:"vue-dropdown",style:{maxHeight:r.maxHeight+"px"},onMousedown:e[0]||(e[0]=mr(function(){},["prevent"]))},n.dataAttrs,{role:"listbox",id:"vs".concat(r.comboboxUid,"-listbox"),"aria-multiselectable":n.dataAttrs["data-multiple"],"aria-busy":n.dataAttrs["data-loading"],"aria-disabled":n.dataAttrs["data-disabled"]}),[(B(!0),Q(Ot,null,Hn(r.modelValue,function(a,s){return B(),Q(Ot,{key:a.key},[a.visible&&a.hidden===!1?(B(),Q("li",{key:0,onClick:function(l){return n.handleClickItem(l,a)},class:Qt(["vue-dropdown-item",{selected:a.selected,disabled:a.disabled,highlighted:a.originalIndex===r.highlightedOriginalIndex,group:a.group}]),onMouseenter:function(l){return n.handleMouseenter(l,a)},role:"option",id:"vs".concat(r.comboboxUid,"-option-").concat(s),"aria-selected":!!a.selected||!!a.disabled&&void 0,"aria-disabled":a.disabled},[He(t.$slots,"default",{option:a},function(){return[U("span",null,re(a.label),1)]})],42,TI)):yt("v-if",!0)],64)}),128))],16,xI)},ch.__file="src/components/dropdown.vue";var x_=function(t,e,r){var n=r.valueBy;return n(t)===n(e)},ia=function(t,e,r){var n=r.valueBy;return t.some(function(i){return x_(i,e,{valueBy:n})})},ro=function(t,e,r){var n=r.valueBy;return t.find(function(i){return n(i)===e})},kc=function(t,e,r){var n=r.max,i=r.valueBy;return ia(t,e,{valueBy:i})||t.length>=n?t:t.concat(e)},Gc=function(t,e,r){var n=r.min,i=r.valueBy;return ia(t,e,{valueBy:i})===!1||t.length<=n?t:t.filter(function(o){return x_(o,e,{valueBy:i})===!1})},Il=function(t){return tt(function(){return typeof t.value=="function"?t.value:typeof t.value=="string"?function(e){return t.value.split(".").reduce(function(r,n){return r[n]},e)}:function(e){return e}})},wI=function(t,e){var r=tt(function(){return t.value.reduce(function(a,s){return Object.assign(a,(l={},u=s.originalIndex,c=s,u in l?Object.defineProperty(l,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[u]=c,l));var l,u,c},{})}),n=function(a){var s=r.value[a];return s!==void 0&&i(s)!==!1&&(e.value=a,!0)},i=function(a){return!a.disabled&&!a.hidden&&a.visible},o=tt(function(){return t.value.some(function(a){return i(a)})});return Xe(function(){if(o.value===!1&&(e.value=null),e.value!==null&&t.value.length<=e.value){var a,s=bo(t.value.reverse());try{for(s.s();!(a=s.n()).done;){var l=a.value;if(n(l.originalIndex))break}}catch(h){s.e(h)}finally{s.f()}}if(e.value===null||i(t.value[e.value])===!1){var u,c=bo(t.value);try{for(c.s();!(u=c.n()).done;){var f=u.value;if(n(f.originalIndex))break}}catch(h){c.e(h)}finally{c.f()}}}),{pointerForward:function(){if(o.value!==!1&&e.value!==null)for(var a=e.value+1,s=0;a!==e.value&&s++a.value.$el.clientHeight+a.value.$el.scrollTop&<++r.min,"data-total-length":r.options.length,"data-multiple":t.multiple,"data-loading":t.loading,"data-disabled":t.disabled}});_o("dataAttrs",bt);var W=tt(function(){return S.value.filter(function(V){return V.selected}).filter(function(V){return!V.group})}),ft=tt(function(){return t.multiple?W.value.length===0?t.placeholder:W.value.length===1?"1 option selected":W.value.length+" options selected":W.value.length===0?t.placeholder:W.value[0].label+""}),gt=tt(function(){var V=W.value.map(function(Z){return Z.originalOption});return t.multiple?V:V[0]||n.value}),_t=It();return ze(function(){return[t.openDirection,u.value]},function(){var V,Z;_t.value=(Z=(V=t.openDirection)!==null&&V!==void 0?V:function(){if(o.value!==void 0&&window!==void 0)return window.innerHeight-o.value.getBoundingClientRect().bottom>=t.maxHeight?"bottom":"top"}())!==null&&Z!==void 0?Z:"bottom"},{immediate:!0}),{instance:i,isFocusing:u,wrapper:o,dropdown:a,input:s,focus:c,blur:f,toggle:function(){u.value?f():c()},searchingInputValue:h,handleInputForInput:function(V){e.emit("search:input",V)},handleChangeForInput:function(V){e.emit("search:change",V)},handleFocusForInput:function(V){c()},handleBlurForInput:function(V){f()},optionsWithInfo:S,addOrRemoveOption:function(V,Z){t.disabled||(Z.group&&t.multiple?T(V,Z):w(V,Z),x(),t.closeOnSelect===!0&&(u.value=!1),t.clearOnSelect===!0&&h.value&&R())},dataAttrs:bt,innerPlaceholder:ft,selected:gt,highlightedOriginalIndex:C,pointerForward:function(){H(),cr(ht)},pointerBackward:function(){G(),cr(ht)},pointerFirst:function(){var V,Z=bo(r.options.keys());try{for(Z.s();!(V=Z.n()).done;){var lt=V.value;if(k(lt))break}}catch(ut){Z.e(ut)}finally{Z.f()}cr(ht)},pointerLast:function(){var V,Z=bo(Lv(r.options.keys()).reverse());try{for(Z.s();!(V=Z.n()).done;){var lt=V.value;if(k(lt))break}}catch(ut){Z.e(ut)}finally{Z.f()}cr(ht)},typeAhead:function(V){var Z,lt;if(!t.searchable){var ut=!1;if(D.test(V.key)?(Y+=V.key.toLowerCase(),ut=!0):V.code==="Space"&&(Y+=" "),ut){var Gt,it=bo(K.value);try{for(it.s();!(Gt=it.n()).done;){var kt=Gt.value;if(((lt=(Z=r.labelBy(r.options[kt]))===null||Z===void 0?void 0:Z.toLowerCase())===null||lt===void 0?void 0:lt.startsWith(Y))===!0&&k(kt))break}}catch(Vt){it.e(Vt)}finally{it.f()}clearTimeout(b),b=setTimeout(function(){Y=""},500)}}},pointerSet:k,direction:_t}},components:{VInput:lh,VTags:uh,VDropdown:ch}});Fu.__VERSION__="2.10.4";var EI=["tabindex","id","role","aria-expanded","aria-owns","aria-activedescendant","aria-busy","aria-disabled"],II={class:"vue-select-header"},CI={key:0,class:"vue-input"},RI=["placeholder","autocomplete"],NI=["onClick"],PI=U("span",{class:"icon loading"},[U("div"),U("div"),U("div")],-1),SI={key:0,class:"vue-select-input-wrapper"},AI=U("span",{class:"icon loading"},[U("div"),U("div"),U("div")],-1);Fu.render=function(t,e,r,n,i,o){var a=Re("v-tags"),s=Re("v-input"),l=Re("v-dropdown");return B(),Q("div",yr({ref:"wrapper",class:["vue-select",["direction-".concat(t.direction)]],tabindex:t.isFocusing?-1:t.tabindex,onFocus:e[9]||(e[9]=function(){return t.focus&&t.focus.apply(t,arguments)}),onBlur:e[10]||(e[10]=function(u){return!t.searchable&&t.blur(u)})},Object.assign({},t.dataAttrs,t.$attrs),{onKeypress:e[11]||(e[11]=yo(mr(function(){return t.highlightedOriginalIndex!==null&&t.addOrRemoveOption(t.$event,t.optionsWithInfo[t.highlightedOriginalIndex])},["prevent","exact"]),["enter"])),onKeydown:[e[12]||(e[12]=yo(mr(function(){return t.pointerForward&&t.pointerForward.apply(t,arguments)},["prevent","exact"]),["down"])),e[13]||(e[13]=yo(mr(function(){return t.pointerBackward&&t.pointerBackward.apply(t,arguments)},["prevent","exact"]),["up"])),e[14]||(e[14]=yo(mr(function(){return t.pointerFirst&&t.pointerFirst.apply(t,arguments)},["prevent","exact"]),["home"])),e[15]||(e[15]=yo(mr(function(){return t.pointerLast&&t.pointerLast.apply(t,arguments)},["prevent","exact"]),["end"])),e[16]||(e[16]=function(){return t.typeAhead&&t.typeAhead.apply(t,arguments)})],id:"vs".concat(t.instance.uid,"-combobox"),role:t.searchable?"combobox":null,"aria-expanded":t.isFocusing,"aria-haspopup":"listbox","aria-owns":"vs".concat(t.instance.uid,"-listbox"),"aria-activedescendant":t.highlightedOriginalIndex===null?null:"vs".concat(t.instance.uid,"-option-").concat(t.highlightedOriginalIndex),"aria-busy":t.loading,"aria-disabled":t.disabled}),[U("div",II,[t.multiple&&t.taggable&&t.modelValue.length===0||t.searchable===!1&&t.taggable===!1?(B(),Q("div",CI,[He(t.$slots,"label",{selected:t.selected},function(){return[U("input",{placeholder:t.innerPlaceholder,autocomplete:t.autocomplete,readonly:"",onClick:e[0]||(e[0]=function(){return t.focus&&t.focus.apply(t,arguments)})},null,8,RI)]})])):yt("v-if",!0),t.multiple&&t.taggable?(B(),Q(Ot,{key:1},[P(a,{modelValue:t.optionsWithInfo,"collapse-tags":t.collapseTags,tabindex:"-1",onClick:t.focus},{default:Bt(function(u){var c=u.option;return[He(t.$slots,"tag",{option:c.originalOption,remove:function(){return t.addOrRemoveOption(t.$event,c)}},function(){return[U("span",null,re(c.label),1),U("img",{src:"data:image/svg+xml;base64,PHN2ZyBpZD0iZGVsZXRlIiBkYXRhLW5hbWU9ImRlbGV0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHRpdGxlPmRlbGV0ZTwvdGl0bGU+PHBhdGggZD0iTTI1NiwyNEMzODMuOSwyNCw0ODgsMTI4LjEsNDg4LDI1NlMzODMuOSw0ODgsMjU2LDQ4OCwyNC4wNiwzODMuOSwyNC4wNiwyNTYsMTI4LjEsMjQsMjU2LDI0Wk0wLDI1NkMwLDM5Ny4xNiwxMTQuODQsNTEyLDI1Niw1MTJTNTEyLDM5Ny4xNiw1MTIsMjU2LDM5Ny4xNiwwLDI1NiwwLDAsMTE0Ljg0LDAsMjU2WiIgZmlsbD0iIzViNWI1ZiIvPjxwb2x5Z29uIHBvaW50cz0iMzgyIDE3Mi43MiAzMzkuMjkgMTMwLjAxIDI1NiAyMTMuMjkgMTcyLjcyIDEzMC4wMSAxMzAuMDEgMTcyLjcyIDIxMy4yOSAyNTYgMTMwLjAxIDMzOS4yOCAxNzIuNzIgMzgyIDI1NiAyOTguNzEgMzM5LjI5IDM4MS45OSAzODIgMzM5LjI4IDI5OC43MSAyNTYgMzgyIDE3Mi43MiIgZmlsbD0iIzViNWI1ZiIvPjwvc3ZnPg==",alt:"delete tag",class:"icon delete",onClick:mr(function(){return t.addOrRemoveOption(t.$event,c)},["prevent","stop"])},null,8,NI)]})]}),_:3},8,["modelValue","collapse-tags","onClick"]),He(t.$slots,"toggle",{isFocusing:t.isFocusing,toggle:t.toggle},function(){return[U("span",{class:Qt(["icon arrow-downward",{active:t.isFocusing}]),onClick:e[1]||(e[1]=function(){return t.toggle&&t.toggle.apply(t,arguments)}),onMousedown:e[2]||(e[2]=mr(function(){},["prevent","stop"]))},null,34)]})],64)):(B(),Q(Ot,{key:2},[t.searchable?(B(),Rt(s,{key:0,ref:"input",modelValue:t.searchingInputValue,"onUpdate:modelValue":e[3]||(e[3]=function(u){return t.searchingInputValue=u}),disabled:t.disabled,autocomplete:t.autocomplete,placeholder:t.isFocusing?t.searchPlaceholder:t.innerPlaceholder,onInput:t.handleInputForInput,onChange:t.handleChangeForInput,onFocus:t.handleFocusForInput,onBlur:t.handleBlurForInput,onEscape:t.blur,autofocus:t.autofocus||t.taggable&&t.searchable,tabindex:t.tabindex,comboboxUid:t.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"])):yt("v-if",!0),t.loading?He(t.$slots,"loading",{key:1},function(){return[PI]}):He(t.$slots,"toggle",{key:2,isFocusing:t.isFocusing,toggle:t.toggle},function(){return[U("span",{class:Qt(["icon arrow-downward",{active:t.isFocusing}]),onClick:e[4]||(e[4]=function(){return t.toggle&&t.toggle.apply(t,arguments)}),onMousedown:e[5]||(e[5]=mr(function(){},["prevent","stop"]))},null,34)]})],64))]),t.multiple&&t.taggable&&t.searchable?(B(),Q("div",SI,[Oa(P(s,{ref:"input",modelValue:t.searchingInputValue,"onUpdate:modelValue":e[6]||(e[6]=function(u){return t.searchingInputValue=u}),disabled:t.disabled,autocomplete:t.autocomplete,placeholder:t.isFocusing?t.searchPlaceholder:t.innerPlaceholder,onInput:t.handleInputForInput,onChange:t.handleChangeForInput,onFocus:t.handleFocusForInput,onBlur:t.handleBlurForInput,onEscape:t.blur,autofocus:t.autofocus||t.taggable&&t.searchable,tabindex:t.tabindex,comboboxUid:t.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"]),[[dc,t.isFocusing]]),t.loading?He(t.$slots,"loading",{key:0},function(){return[AI]}):yt("v-if",!0)])):yt("v-if",!0),P(l,{ref:"dropdown",modelValue:t.optionsWithInfo,"onUpdate:modelValue":e[7]||(e[7]=function(u){return t.optionsWithInfo=u}),onClickItem:t.addOrRemoveOption,onMouseenter:e[8]||(e[8]=function(u,c){return t.pointerSet(c.originalIndex)}),comboboxUid:t.instance.uid,maxHeight:t.maxHeight,highlightedOriginalIndex:t.highlightedOriginalIndex},{default:Bt(function(u){var c=u.option;return[He(t.$slots,"dropdown-item",{option:c.originalOption},function(){return[U("span",null,re(c.label),1)]})]}),_:3},8,["modelValue","onClickItem","comboboxUid","maxHeight","highlightedOriginalIndex"])],16,EI)},Fu.__file="src/index.vue";const OI={class:"field"},UI={key:0,class:"field-title"},rp=Pt({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){var a;const r=t,n=ko(Mr(r,"title"),"span"),i=It((a=r.options.find(s=>s.value===r.modelValue))!=null?a:null);ze(Mr(r,"modelValue"),s=>{var l;Be(i)!==s&&(i.value=(l=r.options.find(u=>u.value===s))!=null?l:null)});function o(s){e("update:modelValue",s.value)}return(s,l)=>(B(),Q("div",OI,[E(n)?(B(),Q("span",UI,[(B(),Rt(Te(E(n))))])):yt("",!0),P(E(Fu),{options:t.options,modelValue:i.value,"onUpdate:modelValue":[l[0]||(l[0]=u=>i.value=u),o],min:1,"label-by":"label",placeholder:t.placeholder,"close-on-select":t.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const FI={class:"field"},LI=Pt({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,n=tt(()=>te(E(r.title)||"","span")),i=tt({get(){return!!r.modelValue},set(o){e("update:modelValue",o)}});return(o,a)=>(B(),Q("label",FI,[Oa(U("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":a[0]||(a[0]=s=>oe(i)?i.value=s:null)},null,512),[[hc,E(i)]]),(B(),Rt(Te(E(n))))]))}});var Xr=ne(LI,[["__scopeId","data-v-2b109500"]]);const T_=t=>(Cn("data-v-bc13791c"),t=t(),Rn(),t),MI=T_(()=>U("div",{class:"header"},[U("h2",null,"Options")],-1)),BI=T_(()=>U("hr",null,null,-1));var kI=Pt({__name:"Options",setup(t,{expose:e}){const r=It(!1);e({open(){r.value=!0}});const n=Object.keys(gi).map(p=>({label:e_(p),value:p})),i=tt(()=>te(le(()=>P(Ot,null,[c_.map(Ge)])))),{showTPS:o,theme:a,unthrottled:s}=Ae(Pe),{autosave:l,offlineProd:u}=Ae(wt),c=tt({get(){return wt.devSpeed===0},set(p){wt.devSpeed=p?0:null}}),f=le(()=>P("span",null,[dt("Offline Production"),P(Me,{display:"Save-specific"},{default:()=>[dt("*")]})])),h=le(()=>P("span",null,[dt("Autosave"),P(Me,{display:"Save-specific"},{default:()=>[dt("*")]})])),d=le(()=>P("span",null,[dt("Pause game"),P(Me,{display:"Save-specific"},{default:()=>[dt("*")]})]));return(p,v)=>(B(),Rt(Ki,{modelValue:r.value,"onUpdate:modelValue":v[6]||(v[6]=m=>r.value=m)},{header:Bt(()=>[MI]),body:Bt(()=>[P(rp,{title:"Theme",options:E(n),modelValue:E(a),"onUpdate:modelValue":v[0]||(v[0]=m=>oe(a)?a.value=m:null)},null,8,["options","modelValue"]),(B(),Rt(Te(E(i)))),P(Xr,{title:"Show TPS",modelValue:E(o),"onUpdate:modelValue":v[1]||(v[1]=m=>oe(o)?o.value=m:null)},null,8,["modelValue"]),BI,P(Xr,{title:"Unthrottled",modelValue:E(s),"onUpdate:modelValue":v[2]||(v[2]=m=>oe(s)?s.value=m:null)},null,8,["modelValue"]),P(Xr,{title:E(f),modelValue:E(u),"onUpdate:modelValue":v[3]||(v[3]=m=>oe(u)?u.value=m:null)},null,8,["title","modelValue"]),P(Xr,{title:E(h),modelValue:E(l),"onUpdate:modelValue":v[4]||(v[4]=m=>oe(l)?l.value=m:null)},null,8,["title","modelValue"]),E(Ie).enablePausing?(B(),Rt(Xr,{key:0,title:E(d),modelValue:E(c),"onUpdate:modelValue":v[5]||(v[5]=m=>oe(c)?c.value=m:null)},null,8,["title","modelValue"])):yt("",!0)]),_:1},8,["modelValue"]))}});var GI=ne(kI,[["__scopeId","data-v-bc13791c"]]),w_={exports:{}},DI=s_(Nw);/**! - * Sortable 1.14.0 - * @author RubaXa - * @author owenm - * @license MIT - */function Mv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $n(t){for(var e=1;e=0)&&(r[i]=t[i]);return r}function $I(t,e){if(t==null)return{};var r=VI(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(t,n)||(r[n]=t[n]))}return r}function jI(t){return XI(t)||zI(t)||WI(t)||YI()}function XI(t){if(Array.isArray(t))return fh(t)}function zI(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WI(t,e){if(!!t){if(typeof t=="string")return fh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fh(t,e)}}function fh(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function qI(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function mn(t,e,r,n){if(t){r=r||document;do{if(e!=null&&(e[0]===">"?t.parentNode===r&&Lu(t,e):Lu(t,e))||n&&t===r)return t;if(t===r)break}while(t=qI(t))}return null}var kv=/\s+/g;function $e(t,e,r){if(t&&e)if(t.classList)t.classList[r?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(kv," ").replace(" "+e+" "," ");t.className=(n+(r?" "+e:"")).replace(kv," ")}}function Nt(t,e,r){var n=t&&t.style;if(n){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(r=t.currentStyle),e===void 0?r:r[e];!(e in n)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),n[e]=r+(typeof r=="string"?"":"px")}}function Ro(t,e){var r="";if(typeof t=="string")r=t;else do{var n=Nt(t,"transform");n&&n!=="none"&&(r=n+" "+r)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function C_(t,e,r){if(t){var n=t.getElementsByTagName(e),i=0,o=n.length;if(r)for(;i=o:a=i<=o,!a)return n;if(n===kn())break;n=Ui(n,!1)}return!1}function Ra(t,e,r,n){for(var i=0,o=0,a=t.children;o2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,o=$I(n,iC);sl.pluginEvent.bind(jt)(e,r,$n({dragEl:vt,parentEl:Ze,ghostEl:Jt,rootEl:ke,nextEl:fo,lastDownEl:pu,cloneEl:qe,cloneHidden:Ai,dragStarted:ns,putSortable:br,activeSortable:jt.active,originalEvent:i,oldIndex:oa,oldDraggableIndex:ys,newIndex:Hr,newDraggableIndex:Pi,hideGhostForTarget:O_,unhideGhostForTarget:U_,cloneNowHidden:function(){Ai=!0},cloneNowShown:function(){Ai=!1},dispatchSortableEvent:function(s){Pr({sortable:r,name:s,originalEvent:i})}},o))};function Pr(t){rs($n({putSortable:br,cloneEl:qe,targetEl:vt,rootEl:ke,oldIndex:oa,oldDraggableIndex:ys,newIndex:Hr,newDraggableIndex:Pi},t))}var vt,Ze,Jt,ke,fo,pu,qe,Ai,oa,Hr,ys,Pi,Cl,br,ea=!1,Mu=!1,Bu=[],no,sn,$c,jc,Vv,$v,ns,Vo,bs,_s=!1,Rl=!1,vu,xr,Xc=[],hh=!1,ku=[],mc=typeof document!="undefined",Nl=E_,jv=al||yi?"cssFloat":"float",oC=mc&&!ZI&&!E_&&"draggable"in document.createElement("div"),P_=function(){if(!!mc){if(yi)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),S_=function(e,r){var n=Nt(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=Ra(e,0,r),a=Ra(e,1,r),s=o&&Nt(o),l=a&&Nt(a),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+De(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+De(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||u>=i&&n[jv]==="none"||a&&n[jv]==="none"&&u+c>i)?"vertical":"horizontal"},aC=function(e,r,n){var i=n?e.left:e.top,o=n?e.right:e.bottom,a=n?e.width:e.height,s=n?r.left:r.top,l=n?r.right:r.bottom,u=n?r.width:r.height;return i===s||o===l||i+a/2===s+u/2},sC=function(e,r){var n;return Bu.some(function(i){var o=i[Er].options.emptyInsertThreshold;if(!(!o||np(i))){var a=De(i),s=e>=a.left-o&&e<=a.right+o,l=r>=a.top-o&&r<=a.bottom+o;if(s&&l)return n=i}}),n},A_=function(e){function r(o,a){return function(s,l,u,c){var f=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(o==null&&(a||f))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return r(o(s,l,u,c),a)(s,l,u,c);var h=(a?s:l).options.group.name;return o===!0||typeof o=="string"&&o===h||o.join&&o.indexOf(h)>-1}}var n={},i=e.group;(!i||du(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=r(i.pull,!0),n.checkPut=r(i.put),n.revertClone=i.revertClone,e.group=n},O_=function(){!P_&&Jt&&Nt(Jt,"display","none")},U_=function(){!P_&&Jt&&Nt(Jt,"display","")};mc&&document.addEventListener("click",function(t){if(Mu)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mu=!1,!1},!0);var io=function(e){if(vt){e=e.touches?e.touches[0]:e;var r=sC(e.clientX,e.clientY);if(r){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=r,n.preventDefault=void 0,n.stopPropagation=void 0,r[Er]._onDragOver(n)}}},lC=function(e){vt&&vt.parentNode[Er]._isOutsideThisEl(e.target)};function jt(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=an({},e),t[Er]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return S_(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,s){a.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:jt.supportPointer!==!1&&"PointerEvent"in window&&!ms,emptyInsertThreshold:5};sl.initializePlugins(this,t,r);for(var n in r)!(n in e)&&(e[n]=r[n]);A_(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:oC,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?de(t,"pointerdown",this._onTapStart):(de(t,"mousedown",this._onTapStart),de(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(de(t,"dragover",this),de(t,"dragenter",this)),Bu.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),an(this,eC())}jt.prototype={constructor:jt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Vo=null)},_getDirection:function(e,r){return typeof this.options.direction=="function"?this.options.direction.call(this,e,r,vt):this.options.direction},_onTapStart:function(e){if(!!e.cancelable){var r=this,n=this.el,i=this.options,o=i.preventOnFilter,a=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(s||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=i.filter;if(mC(n),!vt&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&ms&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=mn(l,i.draggable,n,!1),!(l&&l.animated)&&pu!==l)){if(oa=Je(l),ys=Je(l,i.draggable),typeof c=="function"){if(c.call(this,e,l,this)){Pr({sortable:r,rootEl:u,name:"filter",targetEl:l,toEl:n,fromEl:n}),Or("filter",r,{evt:e}),o&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=mn(u,f.trim(),n,!1),f)return Pr({sortable:r,rootEl:f,name:"filter",targetEl:l,fromEl:n,toEl:n}),Or("filter",r,{evt:e}),!0}),c)){o&&e.cancelable&&e.preventDefault();return}i.handle&&!mn(u,i.handle,n,!1)||this._prepareDragStart(e,s,l)}}},_prepareDragStart:function(e,r,n){var i=this,o=i.el,a=i.options,s=o.ownerDocument,l;if(n&&!vt&&n.parentNode===o){var u=De(n);if(ke=o,vt=n,Ze=vt.parentNode,fo=vt.nextSibling,pu=n,Cl=a.group,jt.dragged=vt,no={target:vt,clientX:(r||e).clientX,clientY:(r||e).clientY},Vv=no.clientX-u.left,$v=no.clientY-u.top,this._lastX=(r||e).clientX,this._lastY=(r||e).clientY,vt.style["will-change"]="all",l=function(){if(Or("delayEnded",i,{evt:e}),jt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Bv&&i.nativeDraggable&&(vt.draggable=!0),i._triggerDragStart(e,r),Pr({sortable:i,name:"choose",originalEvent:e}),$e(vt,a.chosenClass,!0)},a.ignore.split(",").forEach(function(c){C_(vt,c.trim(),zc)}),de(s,"dragover",io),de(s,"mousemove",io),de(s,"touchmove",io),de(s,"mouseup",i._onDrop),de(s,"touchend",i._onDrop),de(s,"touchcancel",i._onDrop),Bv&&this.nativeDraggable&&(this.options.touchStartThreshold=4,vt.draggable=!0),Or("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(al||yi))){if(jt.eventCanceled){this._onDrop();return}de(s,"mouseup",i._disableDelayedDrag),de(s,"touchend",i._disableDelayedDrag),de(s,"touchcancel",i._disableDelayedDrag),de(s,"mousemove",i._delayedDragTouchMoveHandler),de(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&de(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var r=e.touches?e.touches[0]:e;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){vt&&zc(vt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;se(e,"mouseup",this._disableDelayedDrag),se(e,"touchend",this._disableDelayedDrag),se(e,"touchcancel",this._disableDelayedDrag),se(e,"mousemove",this._delayedDragTouchMoveHandler),se(e,"touchmove",this._delayedDragTouchMoveHandler),se(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,r){r=r||e.pointerType=="touch"&&e,!this.nativeDraggable||r?this.options.supportPointer?de(document,"pointermove",this._onTouchMove):r?de(document,"touchmove",this._onTouchMove):de(document,"mousemove",this._onTouchMove):(de(vt,"dragend",this),de(ke,"dragstart",this._onDragStart));try{document.selection?mu(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,r){if(ea=!1,ke&&vt){Or("dragStarted",this,{evt:r}),this.nativeDraggable&&de(document,"dragover",lC);var n=this.options;!e&&$e(vt,n.dragClass,!1),$e(vt,n.ghostClass,!0),jt.active=this,e&&this._appendGhost(),Pr({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(sn){this._lastX=sn.clientX,this._lastY=sn.clientY,O_();for(var e=document.elementFromPoint(sn.clientX,sn.clientY),r=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(sn.clientX,sn.clientY),e!==r);)r=e;if(vt.parentNode[Er]._isOutsideThisEl(e),r)do{if(r[Er]){var n=void 0;if(n=r[Er]._onDragOver({clientX:sn.clientX,clientY:sn.clientY,target:e,rootEl:r}),n&&!this.options.dragoverBubble)break}e=r}while(r=r.parentNode);U_()}},_onTouchMove:function(e){if(no){var r=this.options,n=r.fallbackTolerance,i=r.fallbackOffset,o=e.touches?e.touches[0]:e,a=Jt&&Ro(Jt,!0),s=Jt&&a&&a.a,l=Jt&&a&&a.d,u=Nl&&xr&&Dv(xr),c=(o.clientX-no.clientX+i.x)/(s||1)+(u?u[0]-Xc[0]:0)/(s||1),f=(o.clientY-no.clientY+i.y)/(l||1)+(u?u[1]-Xc[1]:0)/(l||1);if(!jt.active&&!ea){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(Pr({rootEl:Ze,name:"add",toEl:Ze,fromEl:ke,originalEvent:e}),Pr({sortable:this,name:"remove",toEl:Ze,originalEvent:e}),Pr({rootEl:Ze,name:"sort",toEl:Ze,fromEl:ke,originalEvent:e}),Pr({sortable:this,name:"sort",toEl:Ze,originalEvent:e})),br&&br.save()):Hr!==oa&&Hr>=0&&(Pr({sortable:this,name:"update",toEl:Ze,originalEvent:e}),Pr({sortable:this,name:"sort",toEl:Ze,originalEvent:e})),jt.active&&((Hr==null||Hr===-1)&&(Hr=oa,Pi=ys),Pr({sortable:this,name:"end",toEl:Ze,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Or("nulling",this),ke=vt=Ze=Jt=fo=qe=pu=Ai=no=sn=ns=Hr=Pi=oa=ys=Vo=bs=br=Cl=jt.dragged=jt.ghost=jt.clone=jt.active=null,ku.forEach(function(e){e.checked=!0}),ku.length=$c=jc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":vt&&(this._onDragOver(e),uC(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],r,n=this.el.children,i=0,o=n.length,a=this.options;in.right+i||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+i}function dC(t,e,r,n,i,o,a,s){var l=n?t.clientY:t.clientX,u=n?r.height:r.width,c=n?r.top:r.left,f=n?r.bottom:r.right,h=!1;if(!a){if(s&&vuc+u*o/2:lf-vu)return-bs}else if(l>c+u*(1-i)/2&&lf-u*o/2)?l>c+u/2?1:-1:0}function pC(t){return Je(vt)1&&(Zt.forEach(function(s){o.addAnimationState({target:s,rect:Ur?De(s):a}),Hc(s),s.fromRect=a,n.removeAnimationState(s)}),Ur=!1,xC(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(r){var n=r.sortable,i=r.isOwner,o=r.insertion,a=r.activeSortable,s=r.parentEl,l=r.putSortable,u=this.options;if(o){if(i&&a._hideClone(),Ha=!1,u.animation&&Zt.length>1&&(Ur||!i&&!a.options.sort&&!l)){var c=De(Oe,!1,!0,!0);Zt.forEach(function(h){h!==Oe&&(Hv(h,c),s.appendChild(h))}),Ur=!0}if(!i)if(Ur||Al(),Zt.length>1){var f=Sl;a._showClone(n),a.options.animation&&!Sl&&f&&Dr.forEach(function(h){a.addAnimationState({target:h,rect:Va}),h.fromRect=Va,h.thisAnimationDuration=null})}else a._showClone(n)}},dragOverAnimationCapture:function(r){var n=r.dragRect,i=r.isOwner,o=r.activeSortable;if(Zt.forEach(function(s){s.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){Va=an({},n);var a=Ro(Oe,!0);Va.top-=a.f,Va.left-=a.e}},dragOverAnimationComplete:function(){Ur&&(Ur=!1,Al())},drop:function(r){var n=r.originalEvent,i=r.rootEl,o=r.parentEl,a=r.sortable,s=r.dispatchSortableEvent,l=r.oldIndex,u=r.putSortable,c=u||this.sortable;if(!!n){var f=this.options,h=o.children;if(!$o)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),$e(Oe,f.selectedClass,!~Zt.indexOf(Oe)),~Zt.indexOf(Oe))Zt.splice(Zt.indexOf(Oe),1),Da=null,rs({sortable:a,rootEl:i,name:"deselect",targetEl:Oe,originalEvt:n});else{if(Zt.push(Oe),rs({sortable:a,rootEl:i,name:"select",targetEl:Oe,originalEvt:n}),n.shiftKey&&Da&&a.el.contains(Da)){var d=Je(Da),p=Je(Oe);if(~d&&~p&&d!==p){var v,m;for(p>d?(m=d,v=p):(m=p,v=d+1);m1){var y=De(Oe),g=Je(Oe,":not(."+this.options.selectedClass+")");if(!Ha&&f.animation&&(Oe.thisAnimationDuration=null),c.captureAnimationState(),!Ha&&(f.animation&&(Oe.fromRect=y,Zt.forEach(function(T){if(T.thisAnimationDuration=null,T!==Oe){var w=Ur?De(T):y;T.fromRect=w,c.addAnimationState({target:T,rect:w})}})),Al(),Zt.forEach(function(T){h[g]?o.insertBefore(T,h[g]):o.appendChild(T),g++}),l===Je(Oe))){var b=!1;Zt.forEach(function(T){if(T.sortableIndex!==Je(T)){b=!0;return}}),b&&s("update")}Zt.forEach(function(T){Hc(T)}),c.animateAll()}ln=c}(i===o||u&&u.lastPutMode!=="clone")&&Dr.forEach(function(T){T.parentNode&&T.parentNode.removeChild(T)})}},nullingGlobal:function(){this.isMultiDrag=$o=!1,Dr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),se(document,"pointerup",this._deselectMultiDrag),se(document,"mouseup",this._deselectMultiDrag),se(document,"touchend",this._deselectMultiDrag),se(document,"keydown",this._checkKeyDown),se(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(r){if(!(typeof $o!="undefined"&&$o)&&ln===this.sortable&&!(r&&mn(r.target,this.options.draggable,this.sortable.el,!1))&&!(r&&r.button!==0))for(;Zt.length;){var n=Zt[0];$e(n,this.options.selectedClass,!1),Zt.shift(),rs({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvt:r})}},_checkKeyDown:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},an(t,{pluginName:"multiDrag",utils:{select:function(r){var n=r.parentNode[Er];!n||!n.options.multiDrag||~Zt.indexOf(r)||(ln&&ln!==n&&(ln.multiDrag._deselectMultiDrag(),ln=n),$e(r,n.options.selectedClass,!0),Zt.push(r))},deselect:function(r){var n=r.parentNode[Er],i=Zt.indexOf(r);!n||!n.options.multiDrag||!~i||($e(r,n.options.selectedClass,!1),Zt.splice(i,1))}},eventProperties:function(){var r=this,n=[],i=[];return Zt.forEach(function(o){n.push({multiDragElement:o,index:o.sortableIndex});var a;Ur&&o!==Oe?a=-1:Ur?a=Je(o,":not(."+r.options.selectedClass+")"):a=Je(o),i.push({multiDragElement:o,index:a})}),{items:jI(Zt),clones:[].concat(Dr),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function(r){return r=r.toLowerCase(),r==="ctrl"?r="Control":r.length>1&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r}}})}function xC(t,e){Zt.forEach(function(r,n){var i=e.children[r.sortableIndex+(t?Number(n):0)];i?e.insertBefore(r,i):e.appendChild(r)})}function zv(t,e){Dr.forEach(function(r,n){var i=e.children[r.sortableIndex+(t?Number(n):0)];i?e.insertBefore(r,i):e.appendChild(r)})}function Al(){Zt.forEach(function(t){t!==Oe&&t.parentNode&&t.parentNode.removeChild(t)})}jt.mount(new gC);jt.mount(ap,op);var TC=Object.freeze(Object.defineProperty({__proto__:null,default:jt,MultiDrag:_C,Sortable:jt,Swap:yC},Symbol.toStringTag,{value:"Module"})),wC=s_(TC);(function(t,e){(function(n,i){t.exports=i(DI,wC)})(typeof self!="undefined"?self:cu,function(r,n){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var l=o[s]={i:s,l:!1,exports:{}};return i[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=i,a.c=o,a.d=function(s,l,u){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:u})},a.r=function(s){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,l){if(l&1&&(s=a(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var c in s)a.d(u,c,function(f){return s[f]}.bind(null,c));return u},a.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(l,"a",l),l},a.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},a.p="",a(a.s="fb15")}({"00ee":function(i,o,a){var s=a("b622"),l=s("toStringTag"),u={};u[l]="z",i.exports=String(u)==="[object z]"},"0366":function(i,o,a){var s=a("1c0b");i.exports=function(l,u,c){if(s(l),u===void 0)return l;switch(c){case 0:return function(){return l.call(u)};case 1:return function(f){return l.call(u,f)};case 2:return function(f,h){return l.call(u,f,h)};case 3:return function(f,h,d){return l.call(u,f,h,d)}}return function(){return l.apply(u,arguments)}}},"057f":function(i,o,a){var s=a("fc6a"),l=a("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(h){try{return l(h)}catch{return c.slice()}};i.exports.f=function(d){return c&&u.call(d)=="[object Window]"?f(d):l(s(d))}},"06cf":function(i,o,a){var s=a("83ab"),l=a("d1e7"),u=a("5c6c"),c=a("fc6a"),f=a("c04e"),h=a("5135"),d=a("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=s?p:function(m,y){if(m=c(m),y=f(y,!0),d)try{return p(m,y)}catch{}if(h(m,y))return u(!l.f.call(m,y),m[y])}},"0cfb":function(i,o,a){var s=a("83ab"),l=a("d039"),u=a("cc12");i.exports=!s&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,o,a){var s=a("23e7"),l=a("d58f").left,u=a("a640"),c=a("ae40"),f=u("reduce"),h=c("reduce",{1:0});s({target:"Array",proto:!0,forced:!f||!h},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,o,a){var s=a("c6b6"),l=a("9263");i.exports=function(u,c){var f=u.exec;if(typeof f=="function"){var h=f.call(u,c);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(s(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,c)}},"159b":function(i,o,a){var s=a("da84"),l=a("fdbc"),u=a("17c2"),c=a("9112");for(var f in l){var h=s[f],d=h&&h.prototype;if(d&&d.forEach!==u)try{c(d,"forEach",u)}catch{d.forEach=u}}},"17c2":function(i,o,a){var s=a("b727").forEach,l=a("a640"),u=a("ae40"),c=l("forEach"),f=u("forEach");i.exports=!c||!f?function(d){return s(this,d,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,o,a){var s=a("d066");i.exports=s("document","documentElement")},"1c0b":function(i,o){i.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(i,o,a){var s=a("b622"),l=s("iterator"),u=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){u=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}i.exports=function(h,d){if(!d&&!u)return!1;var p=!1;try{var v={};v[l]=function(){return{next:function(){return{done:p=!0}}}},h(v)}catch{}return p}},"1d80":function(i,o){i.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(i,o,a){var s=a("d039"),l=a("b622"),u=a("2d00"),c=l("species");i.exports=function(f){return u>=51||!s(function(){var h=[],d=h.constructor={};return d[c]=function(){return{foo:1}},h[f](Boolean).foo!==1})}},"23cb":function(i,o,a){var s=a("a691"),l=Math.max,u=Math.min;i.exports=function(c,f){var h=s(c);return h<0?l(h+f,0):u(h,f)}},"23e7":function(i,o,a){var s=a("da84"),l=a("06cf").f,u=a("9112"),c=a("6eeb"),f=a("ce4e"),h=a("e893"),d=a("94ca");i.exports=function(p,v){var m=p.target,y=p.global,g=p.stat,b,T,w,x,R,I;if(y?T=s:g?T=s[m]||f(m,{}):T=(s[m]||{}).prototype,T)for(w in v){if(R=v[w],p.noTargetGet?(I=l(T,w),x=I&&I.value):x=T[w],b=d(y?w:m+(g?".":"#")+w,p.forced),!b&&x!==void 0){if(typeof R==typeof x)continue;h(R,x)}(p.sham||x&&x.sham)&&u(R,"sham",!0),c(T,w,R,p)}}},"241c":function(i,o,a){var s=a("ca84"),l=a("7839"),u=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return s(f,u)}},"25f0":function(i,o,a){var s=a("6eeb"),l=a("825a"),u=a("d039"),c=a("ad6d"),f="toString",h=RegExp.prototype,d=h[f],p=u(function(){return d.call({source:"a",flags:"b"})!="/a/b"}),v=d.name!=f;(p||v)&&s(RegExp.prototype,f,function(){var y=l(this),g=String(y.source),b=y.flags,T=String(b===void 0&&y instanceof RegExp&&!("flags"in h)?c.call(y):b);return"/"+g+"/"+T},{unsafe:!0})},"2ca0":function(i,o,a){var s=a("23e7"),l=a("06cf").f,u=a("50c4"),c=a("5a34"),f=a("1d80"),h=a("ab13"),d=a("c430"),p="".startsWith,v=Math.min,m=h("startsWith"),y=!d&&!m&&!!function(){var g=l(String.prototype,"startsWith");return g&&!g.writable}();s({target:"String",proto:!0,forced:!y&&!m},{startsWith:function(b){var T=String(f(this));c(b);var w=u(v(arguments.length>1?arguments[1]:void 0,T.length)),x=String(b);return p?p.call(T,x,w):T.slice(w,w+x.length)===x}})},"2d00":function(i,o,a){var s=a("da84"),l=a("342f"),u=s.process,c=u&&u.versions,f=c&&c.v8,h,d;f?(h=f.split("."),d=h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(d=h[1]))),i.exports=d&&+d},"342f":function(i,o,a){var s=a("d066");i.exports=s("navigator","userAgent")||""},"35a1":function(i,o,a){var s=a("f5df"),l=a("3f8c"),u=a("b622"),c=u("iterator");i.exports=function(f){if(f!=null)return f[c]||f["@@iterator"]||l[s(f)]}},"37e8":function(i,o,a){var s=a("83ab"),l=a("9bf2"),u=a("825a"),c=a("df75");i.exports=s?Object.defineProperties:function(h,d){u(h);for(var p=c(d),v=p.length,m=0,y;v>m;)l.f(h,y=p[m++],d[y]);return h}},"3bbe":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,o,a){var s=a("6547").charAt,l=a("69f3"),u=a("7dd0"),c="String Iterator",f=l.set,h=l.getterFor(c);u(String,"String",function(d){f(this,{type:c,string:String(d),index:0})},function(){var p=h(this),v=p.string,m=p.index,y;return m>=v.length?{value:void 0,done:!0}:(y=s(v,m),p.index+=y.length,{value:y,done:!1})})},"3f8c":function(i,o){i.exports={}},4160:function(i,o,a){var s=a("23e7"),l=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,o,a){var s=a("da84");i.exports=s},"44ad":function(i,o,a){var s=a("d039"),l=a("c6b6"),u="".split;i.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return l(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(i,o,a){var s=a("b622"),l=a("7c73"),u=a("9bf2"),c=s("unscopables"),f=Array.prototype;f[c]==null&&u.f(f,c,{configurable:!0,value:l(null)}),i.exports=function(h){f[c][h]=!0}},"44e7":function(i,o,a){var s=a("861d"),l=a("c6b6"),u=a("b622"),c=u("match");i.exports=function(f){var h;return s(f)&&((h=f[c])!==void 0?!!h:l(f)=="RegExp")}},4930:function(i,o,a){var s=a("d039");i.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(i,o,a){var s=a("fc6a"),l=a("50c4"),u=a("23cb"),c=function(f){return function(h,d,p){var v=s(h),m=l(v.length),y=u(p,m),g;if(f&&d!=d){for(;m>y;)if(g=v[y++],g!=g)return!0}else for(;m>y;y++)if((f||y in v)&&v[y]===d)return f||y||0;return!f&&-1}};i.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(i,o,a){var s=a("23e7"),l=a("b727").filter,u=a("1dde"),c=a("ae40"),f=u("filter"),h=c("filter");s({target:"Array",proto:!0,forced:!f||!h},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,o,a){var s=a("0366"),l=a("7b0b"),u=a("9bdd"),c=a("e95a"),f=a("50c4"),h=a("8418"),d=a("35a1");i.exports=function(v){var m=l(v),y=typeof this=="function"?this:Array,g=arguments.length,b=g>1?arguments[1]:void 0,T=b!==void 0,w=d(m),x=0,R,I,C,S,L,H;if(T&&(b=s(b,g>2?arguments[2]:void 0,2)),w!=null&&!(y==Array&&c(w)))for(S=w.call(m),L=S.next,I=new y;!(C=L.call(S)).done;x++)H=T?u(S,b,[C.value,x],!0):C.value,h(I,x,H);else for(R=f(m.length),I=new y(R);R>x;x++)H=T?b(m[x],x):m[x],h(I,x,H);return I.length=x,I}},"4fad":function(i,o,a){var s=a("23e7"),l=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(c){return l(c)}})},"50c4":function(i,o,a){var s=a("a691"),l=Math.min;i.exports=function(u){return u>0?l(s(u),9007199254740991):0}},5135:function(i,o){var a={}.hasOwnProperty;i.exports=function(s,l){return a.call(s,l)}},5319:function(i,o,a){var s=a("d784"),l=a("825a"),u=a("7b0b"),c=a("50c4"),f=a("a691"),h=a("1d80"),d=a("8aa5"),p=a("14c3"),v=Math.max,m=Math.min,y=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g,T=function(w){return w===void 0?w:String(w)};s("replace",2,function(w,x,R,I){var C=I.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,S=I.REPLACE_KEEPS_$0,L=C?"$":"$0";return[function(k,Y){var D=h(this),K=k==null?void 0:k[w];return K!==void 0?K.call(k,D,Y):x.call(String(D),k,Y)},function(G,k){if(!C&&S||typeof k=="string"&&k.indexOf(L)===-1){var Y=R(x,G,this,k);if(Y.done)return Y.value}var D=l(G),K=String(this),ht=typeof k=="function";ht||(k=String(k));var bt=D.global;if(bt){var W=D.unicode;D.lastIndex=0}for(var ft=[];;){var gt=p(D,K);if(gt===null||(ft.push(gt),!bt))break;var _t=String(gt[0]);_t===""&&(D.lastIndex=d(K,c(D.lastIndex),W))}for(var V="",Z=0,lt=0;lt=Z&&(V+=K.slice(Z,Gt)+N,Z=Gt+ut.length)}return V+K.slice(Z)}];function H(G,k,Y,D,K,ht){var bt=Y+G.length,W=D.length,ft=b;return K!==void 0&&(K=u(K),ft=g),x.call(ht,ft,function(gt,_t){var V;switch(_t.charAt(0)){case"$":return"$";case"&":return G;case"`":return k.slice(0,Y);case"'":return k.slice(bt);case"<":V=K[_t.slice(1,-1)];break;default:var Z=+_t;if(Z===0)return gt;if(Z>W){var lt=y(Z/10);return lt===0?gt:lt<=W?D[lt-1]===void 0?_t.charAt(1):D[lt-1]+_t.charAt(1):gt}V=D[Z-1]}return V===void 0?"":V})}})},5692:function(i,o,a){var s=a("c430"),l=a("c6cd");(i.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,o,a){var s=a("d066"),l=a("241c"),u=a("7418"),c=a("825a");i.exports=s("Reflect","ownKeys")||function(h){var d=l.f(c(h)),p=u.f;return p?d.concat(p(h)):d}},"5a34":function(i,o,a){var s=a("44e7");i.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,o){i.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(i,o,a){var s=a("23e7"),l=a("a2bf"),u=a("7b0b"),c=a("50c4"),f=a("1c0b"),h=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var v=u(this),m=c(v.length),y;return f(p),y=h(v,0),y.length=l(y,v,v,m,0,1,p,arguments.length>1?arguments[1]:void 0),y}})},6547:function(i,o,a){var s=a("a691"),l=a("1d80"),u=function(c){return function(f,h){var d=String(l(f)),p=s(h),v=d.length,m,y;return p<0||p>=v?c?"":void 0:(m=d.charCodeAt(p),m<55296||m>56319||p+1===v||(y=d.charCodeAt(p+1))<56320||y>57343?c?d.charAt(p):m:c?d.slice(p,p+2):(m-55296<<10)+(y-56320)+65536)}};i.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(i,o,a){var s=a("861d"),l=a("e8b5"),u=a("b622"),c=u("species");i.exports=function(f,h){var d;return l(f)&&(d=f.constructor,typeof d=="function"&&(d===Array||l(d.prototype))?d=void 0:s(d)&&(d=d[c],d===null&&(d=void 0))),new(d===void 0?Array:d)(h===0?0:h)}},"69f3":function(i,o,a){var s=a("7f9a"),l=a("da84"),u=a("861d"),c=a("9112"),f=a("5135"),h=a("f772"),d=a("d012"),p=l.WeakMap,v,m,y,g=function(C){return y(C)?m(C):v(C,{})},b=function(C){return function(S){var L;if(!u(S)||(L=m(S)).type!==C)throw TypeError("Incompatible receiver, "+C+" required");return L}};if(s){var T=new p,w=T.get,x=T.has,R=T.set;v=function(C,S){return R.call(T,C,S),S},m=function(C){return w.call(T,C)||{}},y=function(C){return x.call(T,C)}}else{var I=h("state");d[I]=!0,v=function(C,S){return c(C,I,S),S},m=function(C){return f(C,I)?C[I]:{}},y=function(C){return f(C,I)}}i.exports={set:v,get:m,has:y,enforce:g,getterFor:b}},"6eeb":function(i,o,a){var s=a("da84"),l=a("9112"),u=a("5135"),c=a("ce4e"),f=a("8925"),h=a("69f3"),d=h.get,p=h.enforce,v=String(String).split("String");(i.exports=function(m,y,g,b){var T=b?!!b.unsafe:!1,w=b?!!b.enumerable:!1,x=b?!!b.noTargetGet:!1;if(typeof g=="function"&&(typeof y=="string"&&!u(g,"name")&&l(g,"name",y),p(g).source=v.join(typeof y=="string"?y:"")),m===s){w?m[y]=g:c(y,g);return}else T?!x&&m[y]&&(w=!0):delete m[y];w?m[y]=g:l(m,y,g)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||f(this)})},"6f53":function(i,o,a){var s=a("83ab"),l=a("df75"),u=a("fc6a"),c=a("d1e7").f,f=function(h){return function(d){for(var p=u(d),v=l(p),m=v.length,y=0,g=[],b;m>y;)b=v[y++],(!s||c.call(p,b))&&g.push(h?[b,p[b]]:p[b]);return g}};i.exports={entries:f(!0),values:f(!1)}},"73d9":function(i,o,a){var s=a("44d2");s("flatMap")},7418:function(i,o){o.f=Object.getOwnPropertySymbols},"746f":function(i,o,a){var s=a("428f"),l=a("5135"),u=a("e538"),c=a("9bf2").f;i.exports=function(f){var h=s.Symbol||(s.Symbol={});l(h,f)||c(h,f,{value:u.f(f)})}},7839:function(i,o){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,o,a){var s=a("1d80");i.exports=function(l){return Object(s(l))}},"7c73":function(i,o,a){var s=a("825a"),l=a("37e8"),u=a("7839"),c=a("d012"),f=a("1be4"),h=a("cc12"),d=a("f772"),p=">",v="<",m="prototype",y="script",g=d("IE_PROTO"),b=function(){},T=function(C){return v+y+p+C+v+"/"+y+p},w=function(C){C.write(T("")),C.close();var S=C.parentWindow.Object;return C=null,S},x=function(){var C=h("iframe"),S="java"+y+":",L;return C.style.display="none",f.appendChild(C),C.src=String(S),L=C.contentWindow.document,L.open(),L.write(T("document.F=Object")),L.close(),L.F},R,I=function(){try{R=document.domain&&new ActiveXObject("htmlfile")}catch{}I=R?w(R):x();for(var C=u.length;C--;)delete I[m][u[C]];return I()};c[g]=!0,i.exports=Object.create||function(S,L){var H;return S!==null?(b[m]=s(S),H=new b,b[m]=null,H[g]=S):H=I(),L===void 0?H:l(H,L)}},"7dd0":function(i,o,a){var s=a("23e7"),l=a("9ed3"),u=a("e163"),c=a("d2bb"),f=a("d44e"),h=a("9112"),d=a("6eeb"),p=a("b622"),v=a("c430"),m=a("3f8c"),y=a("ae93"),g=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,T=p("iterator"),w="keys",x="values",R="entries",I=function(){return this};i.exports=function(C,S,L,H,G,k,Y){l(L,S,H);var D=function(lt){if(lt===G&&ft)return ft;if(!b&< in bt)return bt[lt];switch(lt){case w:return function(){return new L(this,lt)};case x:return function(){return new L(this,lt)};case R:return function(){return new L(this,lt)}}return function(){return new L(this)}},K=S+" Iterator",ht=!1,bt=C.prototype,W=bt[T]||bt["@@iterator"]||G&&bt[G],ft=!b&&W||D(G),gt=S=="Array"&&bt.entries||W,_t,V,Z;if(gt&&(_t=u(gt.call(new C)),g!==Object.prototype&&_t.next&&(!v&&u(_t)!==g&&(c?c(_t,g):typeof _t[T]!="function"&&h(_t,T,I)),f(_t,K,!0,!0),v&&(m[K]=I))),G==x&&W&&W.name!==x&&(ht=!0,ft=function(){return W.call(this)}),(!v||Y)&&bt[T]!==ft&&h(bt,T,ft),m[S]=ft,G)if(V={values:D(x),keys:k?ft:D(w),entries:D(R)},Y)for(Z in V)(b||ht||!(Z in bt))&&d(bt,Z,V[Z]);else s({target:S,proto:!0,forced:b||ht},V);return V}},"7f9a":function(i,o,a){var s=a("da84"),l=a("8925"),u=s.WeakMap;i.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(i,o,a){var s=a("d039");i.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,o,a){var s=a("c04e"),l=a("9bf2"),u=a("5c6c");i.exports=function(c,f,h){var d=s(f);d in c?l.f(c,d,u(0,h)):c[d]=h}},"861d":function(i,o){i.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(i,o,a){var s,l,u;(function(c,f){l=[],s=f,u=typeof s=="function"?s.apply(o,l):s,u!==void 0&&(i.exports=u)})(typeof self!="undefined"?self:this,function(){function c(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(R){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,p=h.exec(R.stack)||d.exec(R.stack),v=p&&p[1]||!1,m=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),g,b,T,w=document.getElementsByTagName("script");v===y&&(g=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(m-2)+"}[^<]* - - + + + + + + + + + + + + + + + + + + + + + + +