diff --git a/404.html b/404.html index 7c1b719..72a7c17 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ Composition - - + +
diff --git a/index.html b/index.html index 7c1b719..72a7c17 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Composition - - + +
diff --git a/static/css/404-DmmQrdSB.css b/static/css/404-DmmQrdSB.css deleted file mode 100644 index fca60c6..0000000 --- a/static/css/404-DmmQrdSB.css +++ /dev/null @@ -1 +0,0 @@ -.not-found-container[data-v-daf7e185]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;font-size:10vw;color:#fff} diff --git a/static/css/BaseLayout-DLINKFX9.css b/static/css/BaseLayout-DLINKFX9.css deleted file mode 100644 index 7180986..0000000 --- a/static/css/BaseLayout-DLINKFX9.css +++ /dev/null @@ -1 +0,0 @@ -.custom-profile-container[data-v-27c53fa4]{position:absolute;top:0;left:0;z-index:99;overflow:hidden;display:flex;justify-content:center;align-items:center;width:99px;height:99px;background-image:-webkit-linear-gradient(-45deg,#0ba360,#0ba360 50%,transparent 50%,transparent)}.custom-profile-container span[data-v-27c53fa4]{font-size:14px;color:#fff;text-align:center;text-shadow:0 0 5px #000;transform:rotate(-45deg) translateY(-100%);-webkit-user-select:none;user-select:none}.base-layout-container[data-v-cd46461e]{position:relative;display:flex;justify-content:center;align-items:center;gap:16px;width:100%;height:100%;padding:24px;background-image:-webkit-linear-gradient(left,#66a6ff,#46aef7);background-size:1000%;box-sizing:border-box}.base-layout-container .base-layout-desc[data-v-cd46461e],.base-layout-container .base-layout-default[data-v-cd46461e]{flex:1;height:100%;padding:12px;border-radius:12px;background-color:#ffffff45;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.base-layout-container .base-layout-desc[data-v-cd46461e]{flex:1}.base-layout-container .base-layout-default[data-v-cd46461e]{flex:3} diff --git a/static/css/Filter-C2oOhhXQ.css b/static/css/Filter-C2oOhhXQ.css new file mode 100644 index 0000000..0a2b723 --- /dev/null +++ b/static/css/Filter-C2oOhhXQ.css @@ -0,0 +1 @@ +.background-wrapper[data-v-f16c4a16]{width:100vw;height:100vh;background:#537895}.background-wrapper span[data-v-f16c4a16]{width:20vmin;height:20vmin;border-radius:20vmin;backface-visibility:hidden;position:absolute;animation-name:move-f16c4a16;animation-duration:6s;animation-timing-function:linear;animation-iteration-count:infinite}.background-wrapper span[data-v-f16c4a16]:nth-child(1){color:#e3fdf5;top:47%;left:10%;animation-duration:10.5s;animation-delay:-12.6s;transform-origin:0vw -9vh;box-shadow:-40vmin 0 11.20340429vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(2){color:#8ec5fc;top:33%;left:45%;animation-duration:13.2s;animation-delay:-15.6s;transform-origin:14vw 17vh;box-shadow:40vmin 0 10.21150062vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(3){color:#00f2fe;top:90%;left:55%;animation-duration:14.8s;animation-delay:-3.5s;transform-origin:-18vw 9vh;box-shadow:-40vmin 0 12.35444212vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(4){color:#f9fea5;top:7%;left:88%;animation-duration:15.4s;animation-delay:-2.6s;transform-origin:21vw 14vh;box-shadow:-40vmin 0 5.92266827vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(5){color:#38f9d7;top:65%;left:26%;animation-duration:15.3s;animation-delay:-6s;transform-origin:9vw -23vh;box-shadow:40vmin 0 5.42892892vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(6){color:#30cfd0;top:45%;left:30%;animation-duration:11.2s;animation-delay:-6.6s;transform-origin:-3vw 23vh;box-shadow:-40vmin 0 14.44801824vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(7){color:#7de2fc;top:40%;left:95%;animation-duration:10.3s;animation-delay:-6.6s;transform-origin:6vw 1vh;box-shadow:-40vmin 0 5.247692vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(8){color:#e4efe9;top:84%;left:91%;animation-duration:15.6s;animation-delay:-15.3s;transform-origin:15vw 20vh;box-shadow:40vmin 0 5.32853264vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(9){color:#00ecbc;top:88%;left:49%;animation-duration:12.5s;animation-delay:-6.3s;transform-origin:-23vw 17vh;box-shadow:-40vmin 0 13.75644708vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(10){color:#66a6ff;top:4%;left:16%;animation-duration:11.9s;animation-delay:-10.2s;transform-origin:-4vw 13vh;box-shadow:40vmin 0 13.95746731vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(11){color:#96deda;top:16%;left:99%;animation-duration:10.4s;animation-delay:-9s;transform-origin:-3vw -5vh;box-shadow:-40vmin 0 11.66035264vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(12){color:#009efd;top:46%;left:81%;animation-duration:11.4s;animation-delay:-9.2s;transform-origin:3vw -1vh;box-shadow:-40vmin 0 14.05943998vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(13){color:#2575fc;top:69%;left:75%;animation-duration:12.3s;animation-delay:-7.7s;transform-origin:13vw -4vh;box-shadow:-40vmin 0 14.68861975vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(14){color:#72afd3;top:67%;left:52%;animation-duration:12.3s;animation-delay:-1.2s;transform-origin:23vw -5vh;box-shadow:-40vmin 0 13.62049734vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(15){color:#6f86d6;top:38%;left:57%;animation-duration:12.4s;animation-delay:-8.2s;transform-origin:11vw 19vh;box-shadow:40vmin 0 13.69345273vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(16){color:#e7f0fd;top:78%;left:94%;animation-duration:13.4s;animation-delay:-13.2s;transform-origin:-19vw 8vh;box-shadow:-40vmin 0 8.38071338vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(17){color:#00c6fb;top:57%;left:38%;animation-duration:15.5s;animation-delay:-12.1s;transform-origin:-21vw -20vh;box-shadow:-40vmin 0 10.81629107vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(18){color:#6991c7;top:65%;left:45%;animation-duration:11.2s;animation-delay:-2.6s;transform-origin:0vw -22vh;box-shadow:-40vmin 0 8.90381346vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(19){color:#495aff;top:18%;left:39%;animation-duration:11.7s;animation-delay:-15.9s;transform-origin:-24vw 11vh;box-shadow:40vmin 0 7.2048027vmin currentColor}.background-wrapper span[data-v-f16c4a16]:nth-child(20){color:#0acffe;top:87%;left:15%;animation-duration:11.1s;animation-delay:-6.2s;transform-origin:-9vw -24vh;box-shadow:-40vmin 0 12.95006455vmin currentColor}@keyframes move-f16c4a16{to{transform:translateZ(1px) rotate(360deg)}} diff --git a/static/css/Light-CkQ67LGo.css b/static/css/Light-CkQ67LGo.css new file mode 100644 index 0000000..4829b7c --- /dev/null +++ b/static/css/Light-CkQ67LGo.css @@ -0,0 +1 @@ +.background-wrapper[data-v-9272fc7b]{margin:0;height:100vh;font-weight:100;background:radial-gradient(#8ec5fc,transparent);overflow-y:hidden}.background-wrapper .light[data-v-9272fc7b]{position:absolute;top:100vh;bottom:0;left:0;right:0;width:0;background-color:#fff;box-shadow:#e9f1f1 0 0 20px 2px;opacity:0;margin:auto}.background-wrapper .x1[data-v-9272fc7b]{animation:floatUp-9272fc7b 4s infinite linear;transform:scale(1)}.background-wrapper .x2[data-v-9272fc7b]{animation:floatUp-9272fc7b 7s infinite linear;transform:scale(1.6);left:15%}.background-wrapper .x3[data-v-9272fc7b]{animation:floatUp-9272fc7b 2.5s infinite linear;transform:scale(.5);left:-15%}.background-wrapper .x4[data-v-9272fc7b]{animation:floatUp-9272fc7b 4.5s infinite linear;transform:scale(1.2);left:-34%}.background-wrapper .x5[data-v-9272fc7b]{animation:floatUp-9272fc7b 8s infinite linear;transform:scale(2.2);left:-57%}.background-wrapper .x6[data-v-9272fc7b]{animation:floatUp-9272fc7b 3s infinite linear;transform:scale(.8);left:-81%}.background-wrapper .x7[data-v-9272fc7b]{animation:floatUp-9272fc7b 5.3s infinite linear;transform:scale(3.2);left:37%}.background-wrapper .x8[data-v-9272fc7b]{animation:floatUp-9272fc7b 4.7s infinite linear;transform:scale(1.7);left:62%}.background-wrapper .x9[data-v-9272fc7b]{animation:floatUp-9272fc7b 4.1s infinite linear;transform:scale(.9);left:85%}@keyframes floatUp-9272fc7b{0%{top:100vh;opacity:0}25%{opacity:1}50%{top:0vh;opacity:.8}75%{opacity:1}to{top:-100vh;opacity:0}} diff --git a/static/css/Pop-B_CKgP9O.css b/static/css/Pop-B_CKgP9O.css new file mode 100644 index 0000000..112f811 --- /dev/null +++ b/static/css/Pop-B_CKgP9O.css @@ -0,0 +1 @@ +.background-wrapper[data-v-ffcfe583]{width:100%;height:100%;background:radial-gradient(#fff0 0,#ffffff26 30%,#ffffff4d 32%,#fff0 33%) 0 0,radial-gradient(#fff0 0,#ffffff1a 11%,#ffffff4d 13%,#fff0 14%) 0 0,radial-gradient(#fff0 0,#fff3 17%,#ffffff6e 19%,#fff0 20%) 0 110px,radial-gradient(#fff0 0,#fff3 11%,#fff6 13%,#fff0 14%) -130px -170px,radial-gradient(#fff0 0,#fff3 11%,#fff6 13%,#fff0 14%) 130px 370px,radial-gradient(#fff0 0,#ffffff1a 11%,#fff3 13%,#fff0 14%) 0 0,linear-gradient(45deg,#343702,#184500 20%,#187546,#006782,#0b1284,#760ea1,#83096e,#840b2a,#b13e12,#e27412);background-size:470px 470px,970px 970px,410px 410px,610px 610px,530px 530px,730px 730px,100% 100%;background-color:#840b2a} diff --git a/static/css/Stars-Ei3JcB-V.css b/static/css/Stars-Ei3JcB-V.css new file mode 100644 index 0000000..4edf123 --- /dev/null +++ b/static/css/Stars-Ei3JcB-V.css @@ -0,0 +1 @@ +.background-wrapper[data-v-312cfd7b]{width:100%;height:100%;background:radial-gradient(ellipse at bottom,#1b2735,#090a0f);overflow:hidden}#stars[data-v-312cfd7b]{width:1px;height:1px;background:transparent;box-shadow:var(--538a3082);animation:animStar-312cfd7b 50s linear infinite}#stars[data-v-312cfd7b]:after{content:" ";position:absolute;top:2000px;width:1px;height:1px;background:transparent;box-shadow:var(--538a3082)}#stars2[data-v-312cfd7b]{width:2px;height:2px;background:transparent;box-shadow:var(--130f635a);animation:animStar-312cfd7b 100s linear infinite}#stars2[data-v-312cfd7b]:after{content:" ";position:absolute;top:2000px;width:2px;height:2px;background:transparent;box-shadow:var(--130f635a)}#stars3[data-v-312cfd7b]{width:3px;height:3px;background:transparent;box-shadow:var(--532256b6);animation:animStar-312cfd7b 150s linear infinite}#stars3[data-v-312cfd7b]:after{content:" ";position:absolute;top:2000px;width:3px;height:3px;background:transparent;box-shadow:var(--532256b6)}@keyframes animStar-312cfd7b{0%{transform:translateY(0)}to{transform:translateY(-2000px)}} diff --git a/static/css/index-7otjgHON.css b/static/css/index-7otjgHON.css deleted file mode 100644 index c9fa367..0000000 --- a/static/css/index-7otjgHON.css +++ /dev/null @@ -1 +0,0 @@ -.fireworks-container[data-v-2741c89d]{width:100%;height:100%;background-color:#000;overflow:hidden;font-family:Russo One,arial,sans-serif;color:#ffffff80;line-height:1.25;letter-spacing:.06em;cursor:pointer}.fireworks-container .stage-container[data-v-2741c89d]{overflow:hidden;box-sizing:initial;border:1px solid #222;margin:-1px}@media (max-width: 840px){.fireworks-container .stage-container[data-v-2741c89d]{border:none;margin:0}}.fireworks-container .canvas-container[data-v-2741c89d]{width:100%;height:100%;transition:filter .3s}.fireworks-container .canvas-container canvas[data-v-2741c89d]{position:absolute;mix-blend-mode:lighten;transform:translateZ(0)} diff --git a/static/css/index-B9WerH2a.css b/static/css/index-B9WerH2a.css new file mode 100644 index 0000000..4238130 --- /dev/null +++ b/static/css/index-B9WerH2a.css @@ -0,0 +1 @@ +.card-container[data-v-047b1692]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:#222;color:#fff;text-align:center}.card-container[data-v-047b1692] .grid{margin:0 auto;display:inline-block;white-space:nowrap}.card-container[data-v-047b1692] .grid .grid-row{font-size:0}.card-container[data-v-047b1692] .grid .grid-row .grid-cell{width:14px;height:14px;display:inline-block;margin:3px;cursor:pointer;transition:background-color .3s linear;background-color:#333;will-change:background,background-color,transform}.card-container[data-v-047b1692] .grid .grid-row .grid-cell:hover{background-color:#7cf!important}.card-container[data-v-047b1692] .grid .grid-row .grid-cell.on{animation:pop-047b1692 1.5s ease-in-out;animation-iteration-count:1}@keyframes pop-047b1692{0%{transform:scale(1)}30%{transform:scale(1.2)}60%{transform:scale(.8)}to{transform:scale(1)}} diff --git a/static/css/index-BCeVtkgC.css b/static/css/index-BCeVtkgC.css deleted file mode 100644 index 2b1e6ec..0000000 --- a/static/css/index-BCeVtkgC.css +++ /dev/null @@ -1 +0,0 @@ -.fg-light[data-v-242bed21]{color:#fff}.fg-dark[data-v-242bed21]{color:#363639}.canvas[data-v-242bed21]{overflow:hidden;position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:1;flex:4;width:100%;height:100%;font-size:1.3vmin;transition:1.5s ease-in-out;cursor:default}.dial[data-v-242bed21]{position:absolute;top:0;right:0;bottom:0;left:0;flex:none;background-image:radial-gradient(circle at 50% 50%,#fff,#000);mix-blend-mode:overlay}.color-display[data-v-242bed21]{display:flex;flex-direction:column;align-items:center;position:relative;font-size:1.35em}.color-display a[data-v-242bed21]{text-decoration:none;color:inherit}.color-brick[data-v-242bed21]{border-radius:50%;flex:0 0 auto;padding:0;width:100%;height:100%;pointer-events:auto;box-shadow:1.5em 0 2.5em -2em #000000a6}.color-brick.current[data-v-242bed21]:after{content:"";font-family:FontAwesome;font-size:4.5vmin;position:absolute;top:1em;left:50%;transform:translate(-50%)}.color-ring-outer[data-v-242bed21]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) translateZ(0)}.color-ring[data-v-242bed21]{position:relative;width:35em;height:35em;pointer-events:none;border-radius:100%;overflow:visible;transform-origin:50% 50%;line-height:0;transition:transform .3s ease-out}.color-ring>div[data-v-242bed21]{display:flex;align-items:flex-start;justify-content:space-around;position:absolute;top:-12vmin;right:50%;bottom:50%;left:50%;transform-origin:center bottom;transform:rotate(180deg);transition:transform .3s ease-out,top .3s ease-out}.color-ring>div[data-v-242bed21]:nth-last-child(-n+2){transition:none}.color-ring>div[data-v-242bed21]:last-child{transform-origin:right bottom}.color-ring>div:last-child .color-brick[data-v-242bed21]{pointer-events:none;border-radius:0 100% 10%/20% 55%;box-shadow:.7em 1em 1.5em -1em #000000a6}.color-ring>div:last-child .color-brick[data-v-242bed21]:after{left:0}.color-info[data-v-242bed21]{position:relative;width:13em;height:13em;text-align:center;font-size:2.1em;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;transition:background .3s ease-out;box-shadow:0 .5em 4em -1em #000000e6;border-radius:100%}.color-info[data-v-242bed21]>*+*{margin:0}html[data-v-242bed21],body[data-v-242bed21]{margin:0;height:100%;display:flex;flex:1;font-family:DIN Alternate,monospace}.panel[data-v-242bed21]{position:relative;flex:1;padding:.5em;line-height:1;background:#fff;color:#363639;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:1.5em;box-shadow:0 0 2em -1em #363639;-webkit-user-select:none;user-select:none}.panel>div[data-v-242bed21]{flex:1;text-align:center}.panel .button[data-v-242bed21]{text-decoration:none;display:inline-block;white-space:nowrap;padding:.5em;border-radius:.25em;transition:.3s ease-out}.panel .button[data-v-242bed21]:hover{box-shadow:0 .5em 1em -.8em #363639;transform:scale(1.05)}.panel textarea[data-v-242bed21]{width:100%;height:4.5em;padding:.5em;margin:1em 0;border:1px solid #c3c3c4;border-radius:.25em;font-size:1em;resize:vertical}.panel textarea[data-v-242bed21]:focus{outline:none}.love.fg-dark[data-v-242bed21]{-webkit-text-stroke:.05em #363639}.love.fg-light[data-v-242bed21]{-webkit-text-stroke:.05em #fff}.button.fg-dark[data-v-242bed21]{border:.1em solid #363639}.button.fg-light[data-v-242bed21]{border:.1em solid #fff}@media screen and (max-width: 40em),screen and (orientation: portrait){body[data-v-242bed21]{flex-direction:column-reverse}.canvas[data-v-242bed21]{flex:1}.panel[data-v-242bed21]{flex:0 0 auto;flex-direction:row}.panel textarea[data-v-242bed21]{flex:1;margin:0 1em;height:auto}.panel .love[data-v-242bed21],.panel .button[data-v-242bed21]{flex:0 0 auto}.color-ring[data-v-242bed21]{width:24em;height:24em}.color-ring>div[data-v-242bed21]{top:-15vmin}.color-info[data-v-242bed21]{width:12em;height:12em}} diff --git a/static/css/index-BE5yLkVR.css b/static/css/index-BE5yLkVR.css deleted file mode 100644 index 82bd548..0000000 --- a/static/css/index-BE5yLkVR.css +++ /dev/null @@ -1 +0,0 @@ -.card-container[data-v-6d9f85dd]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:#222;color:#fff;text-align:center}.card-container[data-v-6d9f85dd] .grid{margin:0 auto;display:inline-block;white-space:nowrap}.card-container[data-v-6d9f85dd] .grid .grid-row{font-size:0}.card-container[data-v-6d9f85dd] .grid .grid-row .grid-cell{width:14px;height:14px;display:inline-block;margin:3px;cursor:pointer;transition:background-color .3s linear;background-color:#333;will-change:background,background-color,transform}.card-container[data-v-6d9f85dd] .grid .grid-row .grid-cell:hover{background-color:#7cf!important}.card-container[data-v-6d9f85dd] .grid .grid-row .grid-cell.on{animation:pop-6d9f85dd 1.5s ease-in-out;animation-iteration-count:1}@keyframes pop-6d9f85dd{0%{transform:scale(1)}30%{transform:scale(1.2)}60%{transform:scale(.8)}to{transform:scale(1)}} diff --git a/static/css/index-BH_gpWsE.css b/static/css/index-BH_gpWsE.css deleted file mode 100644 index 24e312d..0000000 --- a/static/css/index-BH_gpWsE.css +++ /dev/null @@ -1 +0,0 @@ -.fireworks-container[data-v-e15f05fe]{width:100%;height:100%}.fireworks-container canvas[data-v-e15f05fe]{width:100%;height:100%;background:#000c} diff --git a/static/css/index-Bb0uzudi.css b/static/css/index-Bb0uzudi.css new file mode 100644 index 0000000..06e0914 --- /dev/null +++ b/static/css/index-Bb0uzudi.css @@ -0,0 +1 @@ +.writer-container[data-v-6cf90ace]{position:absolute;display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%;z-index:999;transform:translateY(-7%)}.writer-container .writer-content[data-v-6cf90ace]{display:flex;flex-wrap:wrap;width:100%;justify-content:center;align-items:center}.writer-container .writer-content .writer[data-v-6cf90ace]{position:relative} diff --git a/static/css/index-BtAm3T5A.css b/static/css/index-BtAm3T5A.css deleted file mode 100644 index db5c9af..0000000 --- a/static/css/index-BtAm3T5A.css +++ /dev/null @@ -1 +0,0 @@ -*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{width:100vw;height:100vh;min-height:100vh;overflow:hidden}body #app{width:100%;height:100%;overflow:hidden}a:focus,a:active,button,div,svg,span{outline:none!important}ul{list-style-type:none}ul li{display:inline-block}button{display:flex;justify-content:center;align-items:center;height:32px;padding:0 16px;border-radius:4px;border:none;outline:none;background-color:#2e317c;color:#fff;font-size:14px;cursor:pointer;transition:all .3s}button:hover{background-color:#2e317ccc}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:2px}::-webkit-scrollbar-thumb{background:#0661b677;border-radius:2px}::-webkit-scrollbar-corner{background:#f6f6f6}.custom-bg-1{background:radial-gradient(farthest-side at -33.33% 50%,#0000 52%,#170409 54%,#170409 57%,#0000 59%) 0 50px,radial-gradient(farthest-side at 50% 133.33%,#0000 52%,#170409 54%,#170409 57%,#0000 59%) 50px 0,radial-gradient(farthest-side at 133.33% 50%,#0000 52%,#170409 54%,#170409 57%,#0000 59%),radial-gradient(farthest-side at 50% -33.33%,#0000 52%,#170409 54%,#170409 57%,#0000 59%),#623aa2;background-size:21.42704093px 100px,100px 21.42704093px;height:100%;width:100%}.custom-bg-2{background:conic-gradient(at 62.5% 12.5%,#72e21f 25%,#0000 0) -5px 20px,conic-gradient(at 62.5% 12.5%,#72e21f 25%,#0000 0) -15px 10px,conic-gradient(at 87.5% 62.5%,#72e21f 25%,#0000 0) 15px 10px,conic-gradient(at 87.5% 62.5%,#72e21f 25%,#0000 0) -5px 0,conic-gradient(at 25% 12.5%,#72e21f 25%,#0000 0) 0 -10px,conic-gradient(at 25% 12.5%,#72e21f 25%,#0000 0) -10px 0,conic-gradient(at 87.5% 87.5%,#72e21f 25%,#0000 0) 5px 0 #044012;background-size:40px 40px;height:100%;width:100%}.custom-bg-3{background:radial-gradient(28.968px at 0 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 28.968px 28.968px,radial-gradient(12px at 0 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 16.968px 16.968px,radial-gradient(28.968px at 0 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 0 16.968px,radial-gradient(12px at 0 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) -12px 28.968px,radial-gradient(28.968px at 100% 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 16.968px 0,radial-gradient(12px at 100% 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 28.968px -12px,radial-gradient(28.968px at 100% 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) -12px -12px,radial-gradient(12px at 100% 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) #8eb2c5;background-size:57.936px 57.936px;height:100%;width:100%}.custom-bg-4{background:linear-gradient(120deg,#5c0a0a80,#990d0080 15%,#b31e0080,#ff400080 35%,#c7460580 40%,#a5270d80 50%,#8e160b80 65%,#8e160b80 70%,#7c030380 85%,#66000080),linear-gradient(60deg,#16040480,#2e090580 10%,#59190d80,#17030380 40%,#57150f80 60%,#17060380 70%,#2f070480 90%,#19010180),linear-gradient(120deg,#333,#18191b 35%,#0c0c0d 65%,#000);height:100%;width:100%}.custom-bg-5{background:conic-gradient(at 20px calc(100% - 20px),#0000 270deg,#c02942 0) 35px 0,linear-gradient(#53777a 20px,#0000 0) 0 15px,conic-gradient(at 20px calc(100% - 20px),#0000 90deg,#53777a 0,#53777a 180deg,#c02942 0),#ecd078;background-size:70px 70px;height:100%;width:100%}.custom-bg-6{background:radial-gradient(27% 29% at right,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 10px 20px,radial-gradient(27% 29% at left,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) -10px 20px,radial-gradient(29% 27% at top,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 0 10px,radial-gradient(29% 27% at bottom,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 0 -10px #476074;background-size:40px 40px;height:100%;width:100%}.custom-bg-7{background:linear-gradient(90deg,#0000 59px,#aec8ee 0),linear-gradient(180deg,#0000 59px,#aec8ee 0),radial-gradient(closest-side at 7px 7px,#31c2ec 0,#31c2ec 7px,#0000 0,#0000),#0e284d;background-position:0 0,0 0,-8px -8px;background-size:60px 100%,100% 60px,60px 60px;height:100%;width:100%}.custom-bg-8{background:repeating-conic-gradient(#bf4d28 0,#bf4d28 .00005%,#e1f5c4 0,#e1f5c4 .00017%) 0 0 / 5000px 4000px;height:100%;width:100%}.custom-bg-9{background:linear-gradient(225deg,#0000 3.125%,#987f69 0,#987f69 9.375%,#0000 0,#0000 78.125%,#987f69 0,#987f69 84.375%,#0000 0) 0 6px,linear-gradient(45deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 0 12px,linear-gradient(45deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) -6px -6px,linear-gradient(225deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 12px 0,linear-gradient(225deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 6px 12px,repeating-linear-gradient(-45deg,#fdf1cc -3.125%,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%);background-size:24px 24px;height:100%;width:100%}.custom-bg-10{background:repeating-linear-gradient(-45deg,#0000,#0000 25%,#f55 0,#f55 50%),repeating-linear-gradient(45deg,#0000,#0000 25%,#55f 0,#55f 50%),#efb;background-blend-mode:multiply;background-size:200px 200px;height:100%;width:100%} diff --git a/static/css/index-BwOAePyO.css b/static/css/index-BwOAePyO.css deleted file mode 100644 index 49ea77d..0000000 --- a/static/css/index-BwOAePyO.css +++ /dev/null @@ -1 +0,0 @@ -table[data-v-c2819d42]{width:100%;height:100%;border-collapse:collapse}caption[data-v-c2819d42]{caption-side:top;font-weight:900;color:#000;font-size:32px;text-align:center}tr[data-v-c2819d42]{border-top:1px solid #666;border-right:1px solid #666}tr th[data-v-c2819d42]{border-left:1px solid #666;text-align:center}tr td[data-v-c2819d42]{border-left:1px solid #666;border-bottom:1px solid #666;font-size:14px;text-align:center;padding:6px 10px}.print-container[data-v-917c9ff5]{display:flex;flex-direction:column;gap:24px;padding:24px}.print-container .header[data-v-917c9ff5]{width:100%}.print-container #printTableId[data-v-917c9ff5]{border:1px dashed #ccc;padding:20px} diff --git a/static/css/index-ByzycJQF.css b/static/css/index-ByzycJQF.css deleted file mode 100644 index 1774a25..0000000 --- a/static/css/index-ByzycJQF.css +++ /dev/null @@ -1 +0,0 @@ -.wave-canvas-container[data-v-2bfa531d]{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;padding:24px;background-color:#000c}.wave-canvas-container canvas[data-v-2bfa531d]{position:absolute;width:100%;height:100%}.wave-canvas-container .controller[data-v-2bfa531d]{position:absolute;top:24px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;width:100%}.wave-canvas-container .controller .controller-item[data-v-2bfa531d]{display:flex;justify-content:center;align-items:center;gap:8px;width:100%}.wave-canvas-container .controller .controller-item .btn[data-v-2bfa531d]{padding:0 12px;border:1px solid white;color:#fff;font-size:20px;cursor:pointer} diff --git a/static/css/index-CFrdX0_o.css b/static/css/index-CFrdX0_o.css deleted file mode 100644 index 2af695f..0000000 --- a/static/css/index-CFrdX0_o.css +++ /dev/null @@ -1 +0,0 @@ -.wave-container[data-v-7b330f03]{width:100%;height:100%;padding:24px;background-color:#000c}.wave-container svg[data-v-7b330f03]{width:100%;height:100%}.wave-container svg .orbit-group[data-v-7b330f03]{transform:translate(50%,50%) rotate(-90deg)}.wave-container svg .circle-group[data-v-7b330f03]{transform:translate(50%,50%) rotate(-90deg)}.wave-container svg .circle-group .circle[data-v-7b330f03]{opacity:.8;filter:invert(1)} diff --git a/static/css/index-CI-UQmnC.css b/static/css/index-CI-UQmnC.css new file mode 100644 index 0000000..69c0fb1 --- /dev/null +++ b/static/css/index-CI-UQmnC.css @@ -0,0 +1 @@ +.home-container[data-v-45b688bd]{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5vh;width:100%;height:100%}.home-container .home-header[data-v-45b688bd]{display:flex;justify-content:center;align-items:center;font-size:10vw;font-style:italic;color:#fff;text-shadow:1px 1px 1px skyblue}.home-container .home-content[data-v-45b688bd]{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:10vh;justify-content:center;align-items:center;gap:5vw 5vh;padding:0 10vw;width:100%}.home-container .home-content .home-list-item[data-v-45b688bd]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;border:4px solid #fff;border-radius:1vw;background-color:#dfe9f3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:24px;cursor:pointer;transition:all .5s}.home-container .home-content .home-list-item[data-v-45b688bd]:hover{color:#007adf;border-color:#007adf} diff --git a/static/css/index-DLlEHpBh.css b/static/css/index-CNMw-Cws.css similarity index 54% rename from static/css/index-DLlEHpBh.css rename to static/css/index-CNMw-Cws.css index 422dc74..947dee1 100644 --- a/static/css/index-DLlEHpBh.css +++ b/static/css/index-CNMw-Cws.css @@ -1 +1 @@ -.view-content[data-v-2c1fc31e]{display:grid;grid-template-columns:repeat(auto-fill,100px);grid-template-rows:repeat(auto-fill,100px);grid-auto-columns:100px;grid-auto-rows:100px;width:300px;height:300px;justify-content:center;background-image:-webkit-linear-gradient(left,rgba(230,141,41,.5) 50%,rgba(213,228,77,.5) 50%),-webkit-linear-gradient(top,rgba(230,141,41,.5) 50%,rgba(213,228,77,.5) 50%);background-size:200px 200px;margin:0 auto;box-sizing:content-box;box-shadow:0 0 0 5px #df7700f6;border-radius:12px}.view-content .view-item[data-v-2c1fc31e]{display:flex;justify-content:center;align-items:center;color:#fff;font-family:YaHei;font-size:32px;font-weight:700}.view-content .view-item[data-v-2c1fc31e]:hover{cursor:move}.view-content .drag-move[data-v-2c1fc31e]{color:red;transition:transform .3s}@keyframes hueRotate-2c1fc31e{to{filter:hue-rotate(360deg)}}.drag-container[data-v-50f59afe]{display:flex;justify-content:center;align-items:center;width:100%;height:100%} +.view-content[data-v-b6b66bee]{display:grid;grid-template-columns:repeat(auto-fill,100px);grid-template-rows:repeat(auto-fill,100px);grid-auto-columns:100px;grid-auto-rows:100px;width:300px;height:300px;justify-content:center;background-image:-webkit-linear-gradient(left,rgba(230,141,41,.5) 50%,rgba(213,228,77,.5) 50%),-webkit-linear-gradient(top,rgba(230,141,41,.5) 50%,rgba(213,228,77,.5) 50%);background-size:200px 200px;margin:0 auto;box-sizing:content-box;box-shadow:0 0 0 5px #df7700f6;border-radius:12px}.view-content .view-item[data-v-b6b66bee]{display:flex;justify-content:center;align-items:center;color:#fff;font-family:YaHei;font-size:32px;font-weight:700}.view-content .view-item[data-v-b6b66bee]:hover{cursor:move}.view-content .drag-move[data-v-b6b66bee]{color:red;transition:transform .3s}@keyframes hueRotate-b6b66bee{to{filter:hue-rotate(360deg)}}.drag-container[data-v-3e8a30a0]{display:flex;justify-content:center;align-items:center;width:100%;height:100%} diff --git a/static/css/index-CTBk_Jvx.css b/static/css/index-CTBk_Jvx.css deleted file mode 100644 index 6513f72..0000000 --- a/static/css/index-CTBk_Jvx.css +++ /dev/null @@ -1 +0,0 @@ -#universe[data-v-014f8bef]{width:100%;height:100%}#bless[data-v-70d18591]{position:absolute;top:0%;right:0%;bottom:0%;left:0%;width:100%;height:100%;z-index:99}.space-container[data-v-1240db60]{position:absolute;width:100%;height:100%;filter:contrast(120%);background-image:radial-gradient(2000px at 10% 130%,#212750 10%,#020409);background-size:cover;background-repeat:no-repeat;overflow:hidden}.space-container .content[data-v-1240db60]{position:relative;width:100%;height:100%} diff --git a/static/css/index-CarvPg3Y.css b/static/css/index-CarvPg3Y.css deleted file mode 100644 index 2ae0cf8..0000000 --- a/static/css/index-CarvPg3Y.css +++ /dev/null @@ -1 +0,0 @@ -.preview-layout-container[data-v-e16a3d9b]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-auto-rows:200px;grid-gap:48px;padding:48px;width:100%;height:100%;overflow:auto}.preview-layout-container[data-v-e16a3d9b]::-webkit-scrollbar{width:0}.preview-layout-container .preview-item[data-v-e16a3d9b]{display:flex;justify-content:center;align-items:center;padding:24px;width:100%;height:100%;border-radius:20px;background-color:#0000004d;font-size:20px;font-weight:700;color:#fff;white-space:wrap;word-break:break-all;text-align:center;cursor:pointer;transition:all .5s}.preview-layout-container .preview-item[data-v-e16a3d9b]:hover{color:#008b8b;background-color:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)} diff --git a/static/css/index-CdNLaIBF.css b/static/css/index-CdNLaIBF.css deleted file mode 100644 index a7c1f6d..0000000 --- a/static/css/index-CdNLaIBF.css +++ /dev/null @@ -1 +0,0 @@ -@-webkit-keyframes Blink-b49ca31c{50%{filter:brightness(130%)}}@-moz-keyframes Blink-b49ca31c{50%{filter:brightness(130%)}}@keyframes Blink-b49ca31c{50%{filter:brightness(130%)}}@-webkit-keyframes Gradient-b49ca31c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@-moz-keyframes Gradient-b49ca31c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes Gradient-b49ca31c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@-webkit-keyframes moveDown-b49ca31c{0%{-webkit-transform:translateY(-50em);opacity:1}25%{opacity:.8}50%{box-shadow:80px 15px 6px 7px #fff,570px 124px 6px 8px #fff,481px 212px 6px 1px #fff,530px 699px 6px 6px #fff,497px 124px 6px 2px #fff,141px 661px 6px 3px #fff,491px 127px 6px 6px #fff,455px 191px 6px 8px #fff,450px 256px 6px 8px #fff,13px 41px 6px 3px #fff,276px 412px 6px 6px #fff,478px 697px 6px 1px #fff,682px 689px 6px 8px #fff,301px 334px 6px 1px #fff,313px 559px 6px 4px #fff,25px 505px 6px 2px #fff,94px 73px 6px 5px #fff,263px 165px 6px 3px #fff,207px 130px 6px 2px #fff,334px 580px 6px 3px #fff,340px 414px 6px 8px #fff,279px 486px 6px 7px #fff,186px 421px 6px 7px #fff,300px 662px 6px 3px #fff,572px 694px 6px 2px #fff,32px 102px 6px 8px #fff,37px 445px 6px 5px #fff,471px 299px 6px 4px #fff,146px 79px 6px 4px #fff,281px 36px 6px 8px #fff;opacity:.6}75%{opacity:.3}to{-webkit-transform:translateY(50em);opacity:.1}}@-moz-keyframes moveDown-b49ca31c{0%{-moz-transform:translateY(-50em);opacity:1}25%{opacity:.8}50%{box-shadow:631px 119px 6px 3px #fff,536px 686px 6px 8px #fff,665px 455px 6px 2px #fff,604px 418px 6px 7px #fff,258px 11px 6px 1px #fff,255px 399px 6px 4px #fff,556px 498px 6px 3px #fff,471px 253px 6px 5px #fff,108px 644px 6px 1px #fff,523px 79px 6px 2px #fff,98px 461px 6px 1px #fff,590px 463px 6px 1px #fff,494px 633px 6px 3px #fff,131px 208px 6px 7px #fff,241px 606px 6px 6px #fff,95px 187px 6px 1px #fff,122px 219px 6px 2px #fff,591px 422px 6px 4px #fff,247px 360px 6px 1px #fff,318px 357px 6px 1px #fff,54px 674px 6px 4px #fff,405px 179px 6px 6px #fff,561px 218px 6px 4px #fff,540px 169px 6px 1px #fff,205px 15px 6px 5px #fff,682px 277px 6px 4px #fff,310px 595px 6px 3px #fff,371px 93px 6px 4px #fff,79px 634px 6px 5px #fff,455px 691px 6px 7px #fff;opacity:.6}75%{opacity:.3}to{-moz-transform:translateY(50em);opacity:.1}}@keyframes moveDown-b49ca31c{0%{transform:translateY(-50em);opacity:1}25%{opacity:.8}50%{box-shadow:579px 240px 6px 8px #fff,201px 350px 6px 8px #fff,615px 350px 6px 5px #fff,173px 569px 6px 7px #fff,21px 131px 6px 1px #fff,234px 155px 6px 7px #fff,488px 529px 6px 6px #fff,18px 460px 6px 6px #fff,138px 617px 6px 8px #fff,496px 38px 6px 2px #fff,195px 565px 6px 8px #fff,368px 450px 6px 7px #fff,459px 675px 6px 2px #fff,439px 671px 6px 4px #fff,511px 188px 6px 1px #fff,308px 307px 6px 2px #fff,45px 116px 6px 8px #fff,531px 225px 6px 4px #fff,45px 281px 6px 4px #fff,457px 531px 6px 1px #fff,545px 665px 6px 8px #fff,193px 395px 6px 2px #fff,377px 141px 6px 3px #fff,582px 209px 6px 5px #fff,257px 619px 6px 8px #fff,156px 637px 6px 7px #fff,591px 277px 6px 4px #fff,61px 37px 6px 7px #fff,507px 248px 6px 3px #fff,526px 38px 6px 6px #fff;opacity:.6}75%{opacity:.3}to{transform:translateY(50em);opacity:.1}}.snow-flakes-1[data-v-b49ca31c],.snow-flakes-2[data-v-b49ca31c]{height:5px;width:5px;border-radius:50%;position:absolute;left:0;z-index:20;background-color:transparent;opacity:1}.snow-flakes-1[data-v-b49ca31c]{top:0;box-shadow:107px 93px 6px 7px #fff,161px 581px 6px 7px #fff,481px 69px 6px 5px #fff,78px 189px 6px 6px #fff,600px 552px 6px 8px #fff,323px 304px 6px 5px #fff,211px 319px 6px 6px #fff,587px 312px 6px 5px #fff,610px 368px 6px 1px #fff,295px 498px 6px 7px #fff,186px 493px 6px 1px #fff,422px 258px 6px 6px #fff,419px 316px 6px 1px #fff,638px 3px 6px 1px #fff,366px 93px 6px 1px #fff,570px 225px 6px 5px #fff,156px 214px 6px 8px #fff,481px 599px 6px 1px #fff,515px 477px 6px 5px #fff,281px 265px 6px 1px #fff,349px 28px 6px 1px #fff,628px 281px 6px 4px #fff,416px 23px 6px 1px #fff,234px 693px 6px 1px #fff,510px 649px 6px 8px #fff,133px 131px 6px 2px #fff,286px 662px 6px 4px #fff,341px 217px 6px 7px #fff,418px 34px 6px 2px #fff,317px 574px 6px 7px #fff;-moz-animation:moveDown-b49ca31c 15s ease infinite;-webkit-animation:moveDown-b49ca31c 15s ease infinite;animation:moveDown-b49ca31c 15s ease infinite}.snow-flakes-2[data-v-b49ca31c]{top:-700px;box-shadow:7px 52px 6px 8px #fff,394px 348px 6px 1px #fff,680px 165px 6px 2px #fff,16px 61px 6px 3px #fff,364px 411px 6px 1px #fff,62px 356px 6px 1px #fff,566px 626px 6px 1px #fff,639px 455px 6px 6px #fff,627px 369px 6px 6px #fff,323px 694px 6px 2px #fff,157px 10px 6px 3px #fff,125px 101px 6px 5px #fff,638px 427px 6px 5px #fff,290px 526px 6px 6px #fff,112px 287px 6px 6px #fff,486px 408px 6px 5px #fff,18px 134px 6px 2px #fff,610px 206px 6px 1px #fff,489px 646px 6px 8px #fff,440px 214px 6px 4px #fff,231px 401px 6px 6px #fff,302px 300px 6px 6px #fff,698px 111px 6px 6px #fff,419px 538px 6px 7px #fff,337px 292px 6px 8px #fff,464px 213px 6px 2px #fff,393px 438px 6px 1px #fff,586px 480px 6px 4px #fff,106px 336px 6px 6px #fff,347px 120px 6px 1px #fff;-moz-animation:moveDown-b49ca31c 13s ease infinite;-webkit-animation:moveDown-b49ca31c 13s ease infinite;animation:moveDown-b49ca31c 13s ease infinite;animation-delay:2s}.ball-0[data-v-b49ca31c],.ball-1[data-v-b49ca31c],.ball-2[data-v-b49ca31c],.ball-3[data-v-b49ca31c],.ball-4[data-v-b49ca31c],.ball-5[data-v-b49ca31c],.ball-6[data-v-b49ca31c],.ball-7[data-v-b49ca31c],.ball-8[data-v-b49ca31c],.ball-9[data-v-b49ca31c],.ball-10[data-v-b49ca31c]{-webkit-animation:Blink-b49ca31c .5s infinite;-moz-animation:Blink-b49ca31c .5s infinite;animation:Blink-b49ca31c .5s infinite}.ball-0[data-v-b49ca31c]{border-radius:50%;height:50px;width:50px;background-color:#fbc02d;border:6px solid #f9a825;margin:auto;position:relative;top:15px;z-index:6}.ball-1[data-v-b49ca31c]{height:20px;width:20px;background-color:#f48fb1;border:4px solid #f06292;bottom:22px;right:10px}.ball-2[data-v-b49ca31c]{height:15px;width:15px;background-color:#b39ddb;border:4px solid #9575cd;bottom:26px;right:55px}.ball-3[data-v-b49ca31c]{height:30px;width:30px;background-color:#90caf9;border:4px solid #64b5f6;bottom:50px;left:18px}.ball-4[data-v-b49ca31c]{height:25px;width:25px;background-color:#90caf9;border:4px solid #64b5f6;bottom:20px;left:70px}.ball-5[data-v-b49ca31c]{height:15px;width:15px;background-color:#ffab91;border:4px solid #ff8a65;top:6px;left:0}.ball-6[data-v-b49ca31c]{height:20px;width:20px;background-color:#66bb6a;border:4px solid #4caf50;top:51px;right:73px}.ball-7[data-v-b49ca31c]{height:10px;width:10px;background-color:#90caf9;border:4px solid #64b5f6;top:18px;right:90px}.ball-8[data-v-b49ca31c]{height:15px;width:15px;background-color:#f48fb1;border:4px solid #f06292;top:30px;right:15px}.ball-9[data-v-b49ca31c]{height:10px;width:10px;background-color:#b39ddb;border:4px solid #9575cd;top:8px;left:30px}.ball-10[data-v-b49ca31c]{height:20px;width:20px;background-color:#ffab91;border:4px solid #ff8a65;top:25px;right:90px}.xmas-ball[data-v-b49ca31c]{border-radius:50%;position:absolute;z-index:5}.tree-container[data-v-b49ca31c]{bottom:12px;position:relative}.tree-container .tree-p1[data-v-b49ca31c],.tree-container .tree-p2[data-v-b49ca31c],.tree-container .tree-p3[data-v-b49ca31c],.tree-container .tree-p4[data-v-b49ca31c]{text-align:center}.tree-container .tree-p1 li[data-v-b49ca31c],.tree-container .tree-p2 li[data-v-b49ca31c],.tree-container .tree-p3 li[data-v-b49ca31c],.tree-container .tree-p4 li[data-v-b49ca31c]{overflow:hidden}.tree-container .tree-p1 li[data-v-b49ca31c]:first-child,.tree-container .tree-p2 li[data-v-b49ca31c]:first-child,.tree-container .tree-p3 li[data-v-b49ca31c]:first-child,.tree-container .tree-p4 li[data-v-b49ca31c]:first-child{position:relative;left:5px}.tree-container .tree-p1 li[data-v-b49ca31c]:nth-child(2),.tree-container .tree-p2 li[data-v-b49ca31c]:nth-child(2),.tree-container .tree-p3 li[data-v-b49ca31c]:nth-child(2),.tree-container .tree-p4 li[data-v-b49ca31c]:nth-child(2){position:relative;right:5px}.tree-container .tree-p1 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p2 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p3 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p4 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p1 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p2 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p3 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p4 li .tree-right-branch[data-v-b49ca31c]{background-color:#2e7d32;position:relative}.tree-container .tree-p1 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p2 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p3 li .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p4 li .tree-left-branch[data-v-b49ca31c]{transform:skew(-30deg);left:60px;border-bottom:10px solid #1b5e20;border-left:10px solid #1b5e20;border-bottom-left-radius:25px}.tree-container .tree-p1 li .tree-left-branch[data-v-b49ca31c]:after,.tree-container .tree-p2 li .tree-left-branch[data-v-b49ca31c]:after,.tree-container .tree-p3 li .tree-left-branch[data-v-b49ca31c]:after,.tree-container .tree-p4 li .tree-left-branch[data-v-b49ca31c]:after{content:"";position:absolute;height:100%;z-index:10;background-color:#1b5e2033;right:0;border-bottom-right-radius:15px}.tree-container .tree-p1 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p2 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p3 li .tree-right-branch[data-v-b49ca31c],.tree-container .tree-p4 li .tree-right-branch[data-v-b49ca31c]{transform:skew(30deg);right:60px;border-bottom:10px solid #1b5e20;border-right:10px solid #1b5e20;border-bottom-right-radius:25px}.tree-container .tree-p1 li .tree-right-branch[data-v-b49ca31c]:first-child:after,.tree-container .tree-p2 li .tree-right-branch[data-v-b49ca31c]:first-child:after,.tree-container .tree-p3 li .tree-right-branch[data-v-b49ca31c]:first-child:after,.tree-container .tree-p4 li .tree-right-branch[data-v-b49ca31c]:first-child:after{width:15px}.tree-container .tree-p1 li .tree-right-branch[data-v-b49ca31c]:nth-child(2):after,.tree-container .tree-p2 li .tree-right-branch[data-v-b49ca31c]:nth-child(2):after,.tree-container .tree-p3 li .tree-right-branch[data-v-b49ca31c]:nth-child(2):after,.tree-container .tree-p4 li .tree-right-branch[data-v-b49ca31c]:nth-child(2):after{width:20px}.tree-container .tree-p1 li .tree-right-branch[data-v-b49ca31c]:nth-child(3):after,.tree-container .tree-p2 li .tree-right-branch[data-v-b49ca31c]:nth-child(3):after,.tree-container .tree-p3 li .tree-right-branch[data-v-b49ca31c]:nth-child(3):after,.tree-container .tree-p4 li .tree-right-branch[data-v-b49ca31c]:nth-child(3):after{width:25px}.tree-container .tree-p1 li .tree-right-branch.stubborn[data-v-b49ca31c]:after,.tree-container .tree-p2 li .tree-right-branch.stubborn[data-v-b49ca31c]:after,.tree-container .tree-p3 li .tree-right-branch.stubborn[data-v-b49ca31c]:after,.tree-container .tree-p4 li .tree-right-branch.stubborn[data-v-b49ca31c]:after{width:30px}.tree-container .tree-p1 .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p1 .tree-right-branch[data-v-b49ca31c]{width:100px;height:110px}.tree-container .tree-p1 ul[data-v-b49ca31c]{height:119px}.tree-container .tree-p2 .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p2 .tree-right-branch[data-v-b49ca31c]{width:140px;height:95px}.tree-container .tree-p2 ul[data-v-b49ca31c]{height:104px}.tree-container .tree-p3[data-v-b49ca31c]{z-index:1}.tree-container .tree-p3 .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p3 .tree-right-branch[data-v-b49ca31c]{width:175px;height:95px}.tree-container .tree-p3 ul[data-v-b49ca31c]{height:104px}.tree-container .tree-p4[data-v-b49ca31c]{z-index:2;position:relative}.tree-container .tree-p4 .tree-left-branch[data-v-b49ca31c],.tree-container .tree-p4 .tree-right-branch[data-v-b49ca31c]{width:200px;height:65px}.tree-container .tree-p4 ul[data-v-b49ca31c]{height:75px}.presents .present-container-1[data-v-b49ca31c]{position:absolute;z-index:1;right:105px;bottom:30px}.presents .present-container-1 .tie[data-v-b49ca31c]{width:20px;height:20px;background-color:#4caf50;border-radius:50%;margin:auto;position:relative;top:10px;z-index:1}.presents .present-container-1 .tie[data-v-b49ca31c]:before{content:"";width:15px;height:15px;background-color:transparent;border:5px solid #4caf50;border-radius:50%;position:absolute;right:10px;bottom:0}.presents .present-container-1 .tie[data-v-b49ca31c]:after{content:"";width:15px;height:15px;background-color:transparent;border:5px solid #4caf50;border-radius:50%;position:absolute;bottom:0;left:10px}.presents .present-container-1 .lid[data-v-b49ca31c]{width:120px;height:35px;border-radius:6px;z-index:2;position:relative;background:radial-gradient(circle,#4caf50 .25em,#fff0 .25em,#fff0 .5em,#66bb6ab3 .5em,#66bb6ab3 .6em,#fff0 .6em) 0 0,radial-gradient(circle,#66bb6a .25em,#fff0 .25em,#fff0 .5em,#4caf50b3 .5em,#4caf50b3 .6em,#fff0 .6em) 1em 1em,radial-gradient(circle,#4caf50b3 .125em,#fff0 .125em) 1em 0,radial-gradient(circle,#66bb6ab3 .1em,#fff0 .1em) 0 1em;background-color:#fff;background-size:2em 2em;background-repeat:repeat}.presents .present-container-1 .lid[data-v-b49ca31c]:after{content:"";width:100px;height:6px;background-color:#0000001a;position:absolute;left:10px;bottom:-6px}.presents .present-container-1 .box[data-v-b49ca31c]{width:100px;height:70px;background-color:#f44336;margin:auto;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.presents .present-container-2[data-v-b49ca31c]{position:absolute;right:146px;bottom:0;z-index:3}.presents .present-container-2 .tie[data-v-b49ca31c]{width:20px;height:20px;background-color:#fff;border-radius:50%;margin:auto;position:relative;top:10px;z-index:1}.presents .present-container-2 .tie[data-v-b49ca31c]:before{content:"";width:15px;height:15px;background-color:transparent;border:5px solid #fff;border-radius:50%;position:absolute;right:10px;bottom:0}.presents .present-container-2 .tie[data-v-b49ca31c]:after{content:"";width:15px;height:15px;background-color:transparent;border:5px solid #fff;border-radius:50%;position:absolute;bottom:0;left:10px}.presents .present-container-2 .lid[data-v-b49ca31c]{width:160px;height:30px;background-color:#f44336;border-radius:6px;z-index:2;position:relative}.presents .present-container-2 .lid[data-v-b49ca31c]:after{content:"";width:140px;height:6px;background-color:#0000001a;position:absolute;left:10px;bottom:-6px}.presents .present-container-2 .box[data-v-b49ca31c]{width:140px;height:60px;margin:auto;border-bottom-left-radius:6px;border-bottom-right-radius:6px;overflow:hidden;box-shadow:8px -20px 50px 5px #0003;background:linear-gradient(135deg,#f44336 .3em,#e83a2500 .3em) 0 1em,linear-gradient(-135deg,#f44336 .3em,#e83a2500 .3em) 0 1em,radial-gradient(circle at 1.79em 1.85em,#f44336 .255em,#e83a2500 .261em) 0 -1em,radial-gradient(circle at .21em 1.85em,#f44336 .255em,#e83a2500 .261em) 0 -1em,linear-gradient(135deg,#66bb6a .3em,#98cc9600 .3em) 1em 0,linear-gradient(-135deg,#66bb6a .3em,#98cc9600 .3em) 1em 0,radial-gradient(circle at 1.79em 1.85em,#66bb6a .255em,#98cc9600 .261em) 1em 0,radial-gradient(circle at .21em 1.85em,#66bb6a .255em,#98cc9600 .261em) 1em 0;background-size:2em 2em;background-color:#fff;background-repeat:repeat}.christmas-container[data-v-b49ca31c]{display:flex;justify-content:center;align-items:center;color:#000;width:100%;height:100%;background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);background-size:400% 400%;-webkit-animation:Gradient-b49ca31c 15s ease infinite;-moz-animation:Gradient-b49ca31c 15s ease infinite;animation:Gradient-b49ca31c 15s ease infinite;overflow:hidden}.christmas-container .card-container[data-v-b49ca31c]{height:675px;min-height:675px;max-height:675px;width:675px;min-width:675px;max-width:675px;background-color:#fff9;border:8px double #fff;text-align:center;border-radius:50%;position:relative}.christmas-container .card-container .title[data-v-b49ca31c]{font-family:Mountains of Christmas,cursive;font-size:36px;line-height:60px;color:#333}.christmas-container .card-container .title[data-v-b49ca31c]:before,.christmas-container .card-container .title[data-v-b49ca31c]:after{content:"❆";margin:0 10px}.wood[data-v-b49ca31c]{height:70px;width:55px;background-color:#a98274;border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin:auto;border-left:10px solid #795548;border-bottom:10px solid #795548;border-right:10px solid #795548;position:relative}.wood[data-v-b49ca31c]:before{content:"";position:absolute;height:100%;z-index:1;background-color:#79554833;width:25px;right:0} diff --git a/static/css/index-CmqgShgC.css b/static/css/index-CmqgShgC.css deleted file mode 100644 index ca8bd31..0000000 --- a/static/css/index-CmqgShgC.css +++ /dev/null @@ -1 +0,0 @@ -.business-layout-container[data-v-b8f8a150]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-auto-rows:200px;grid-gap:48px;padding:48px;width:100%;height:100%;overflow:auto}.business-layout-container[data-v-b8f8a150]::-webkit-scrollbar{width:0}.business-layout-container .business-item[data-v-b8f8a150]{display:flex;justify-content:center;align-items:center;padding:24px;width:100%;height:100%;border-radius:20px;background-color:#0000004d;font-size:20px;font-weight:700;color:#fff;white-space:wrap;word-break:break-all;text-align:center;cursor:pointer;transition:all .5s}.business-layout-container .business-item[data-v-b8f8a150]:hover{color:#008b8b;background-color:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)} diff --git a/static/css/index-CpRVAPTG.css b/static/css/index-CpRVAPTG.css new file mode 100644 index 0000000..2077156 --- /dev/null +++ b/static/css/index-CpRVAPTG.css @@ -0,0 +1 @@ +.virtual-list-container[data-v-2092e3f1]{display:flex;padding:24px;gap:24px;width:100%;height:100%}.virtual-list-container .content[data-v-2092e3f1]{position:relative;width:100%;height:100%}.virtual-list-container .content .content-header[data-v-2092e3f1]{display:flex;align-items:center;gap:16px;height:32px;margin-bottom:16px}.virtual-list-container .content .content-header input[data-v-2092e3f1],.virtual-list-container .content .content-header button[data-v-2092e3f1]{height:32px} diff --git a/static/css/index-CqljefkS.css b/static/css/index-CqljefkS.css deleted file mode 100644 index ad57a03..0000000 --- a/static/css/index-CqljefkS.css +++ /dev/null @@ -1 +0,0 @@ -.tetris-wrapper[data-v-2e7ea974]{position:relative;border-radius:12px;background-color:#fff}.tetris-wrapper .action[data-v-2e7ea974]{display:flex;justify-content:space-evenly;align-items:center;gap:24px;padding:24px;height:72px;width:100%}.tetris-wrapper .action div[data-v-2e7ea974]{cursor:pointer;transition:color .3s}.tetris-wrapper .action div[data-v-2e7ea974]:hover{color:#87ceeb}.tetris-wrapper .info[data-v-2e7ea974]{position:absolute;top:0;right:-200px;display:flex;flex-direction:column;gap:36px;padding:72px 16px;width:200px;height:100%;font-size:20px}.tetris-wrapper .next-box[data-v-2e7ea974]{display:flex;justify-content:center;align-items:center;padding:24px}.tetris-wrapper .next-box .next-shape[data-v-2e7ea974]{position:relative}.tetris-wrapper .score[data-v-2e7ea974]{font-size:24px;font-weight:700;color:#172cb5}.tetris-wrapper .mask[data-v-2e7ea974]{position:absolute;top:72px;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:calc(100% - 72px);background-color:#00000080;z-index:10;font-size:48px;color:#fff;font-weight:700}.tetris-wrapper .tetris-container[data-v-2e7ea974]{background-color:#f3f3f3;position:relative;overflow:hidden;border:1px solid #000;border-left:none;border-top:none;background-image:linear-gradient(to right,#000 1px,transparent 1px),linear-gradient(to bottom,#000 1px,transparent 1px);background-size:30px 30px}.tetris-wrapper[data-v-2e7ea974] .rect{width:30px;height:30px;position:absolute;border-width:15px;border-style:solid;border-color:transparent;display:flex;align-items:center;justify-content:center}.tetris-wrapper[data-v-2e7ea974] .rect.rect-I{border-color:#e65a5a #b42828 #a01e1e #d73232}.tetris-wrapper[data-v-2e7ea974] .rect.rect-L{border-color:#e6c55a #b49828 #a0771e #d7a332}.tetris-wrapper[data-v-2e7ea974] .rect.rect-J{border-color:#c85ae6 #b428b4 #8a1ea0 #c132d7}.tetris-wrapper[data-v-2e7ea974] .rect.rect-Z{border-color:#5ae694 #28b467 #1ea058 #32d77c}.tetris-wrapper[data-v-2e7ea974] .rect.rect-S{border-color:#5ab3e6 #2898b4 #1e8ca0 #32bed7}.tetris-wrapper[data-v-2e7ea974] .rect.rect-T{border-color:#8de65a #54b428 #4ea01e #7cd732}.tetris-wrapper[data-v-2e7ea974] .rect.rect-O{border-color:#5a5ce6 #282ab4 #1e20a0 #3532d7} diff --git a/static/css/index-D07Vhrc7.css b/static/css/index-D07Vhrc7.css deleted file mode 100644 index ac313b0..0000000 --- a/static/css/index-D07Vhrc7.css +++ /dev/null @@ -1 +0,0 @@ -.clock-container[data-v-b326228d]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.2),hsla(0,0%,100%,.2) 2px,#000 0,#000 3px,transparent 0,transparent 20px),repeating-linear-gradient(90deg,#000,#000 1px,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 3px,transparent 0,transparent 20px),linear-gradient(0deg,#0003,#40404033 15%,#4d4d4d33 40%,#26262633,#1a1a1a33 80%,#03030333),linear-gradient(-90deg,#324d67,#1c2b4a 35%,#151837 65%,#060d13)}.clock-container .clock[data-v-b326228d]{position:relative;width:var(--36d03cf0);height:var(--36d03cf0);display:flex;justify-content:center;align-items:center;background-size:cover;border-radius:50%;border:6px solid #36ad6a;box-shadow:0 15px 15px 5px #00000080;overflow:hidden}.clock-container .clock[data-v-b326228d]:before{content:"";position:absolute;width:15px;height:15px;background:#fff;border-radius:50%;z-index:10}.clock-container .clock .calibration[data-v-b326228d]{position:absolute;width:100%;height:100%;background-color:#2d2d2dcc}.clock-container .clock .calibration .calibration-line[data-v-b326228d]{width:100%;height:100%}.clock-container .clock .calibration .calibration-line .line-item[data-v-b326228d]{position:absolute;left:50%;top:50%;transform-origin:left center;background-color:#fff}.clock-container .clock .calibration .calibration-line .line-item.item-hour[data-v-b326228d]{width:20px;height:3px;border-radius:10px}.clock-container .clock .calibration .calibration-line .line-item.item-min[data-v-b326228d]{width:15px;height:2px;border-radius:10px}.clock-container .clock .calibration .calibration-number[data-v-b326228d]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--2e33faec);height:var(--2e33faec);color:#fff;font-size:16px;font-weight:700}.clock-container .clock .calibration .calibration-number .number-item[data-v-b326228d]{position:absolute;transform:translate(-50%,-50%)}.clock-container .clock .hour[data-v-b326228d],.clock-container .clock .minute[data-v-b326228d],.clock-container .clock .second[data-v-b326228d]{position:absolute}.clock-container .clock .hour[data-v-b326228d],.clock-container .clock .hr[data-v-b326228d]{width:200px;height:200px}.clock-container .clock .minute[data-v-b326228d],.clock-container .clock .min[data-v-b326228d]{width:240px;height:240px}.clock-container .clock .second[data-v-b326228d],.clock-container .clock .sec[data-v-b326228d]{width:300px;height:300px}.clock-container .clock .hr[data-v-b326228d],.clock-container .clock .min[data-v-b326228d],.clock-container .clock .sec[data-v-b326228d]{position:absolute;display:flex;justify-content:center;border-radius:50%}.clock-container .clock .hr[data-v-b326228d]:before{content:"";position:absolute;width:6px;height:120px;background:var(--88282de6);z-index:1;border-radius:8px}.clock-container .clock .min[data-v-b326228d]:before{content:"";position:absolute;width:4px;height:140px;background:var(--78c672fd);z-index:2;border-radius:8px}.clock-container .clock .sec[data-v-b326228d]:before{content:"";position:absolute;width:2px;height:200px;background:var(--fa73dd46);z-index:3;border-radius:8px} diff --git a/static/css/index-D0MTDZ4D.css b/static/css/index-D0MTDZ4D.css new file mode 100644 index 0000000..6fe3d07 --- /dev/null +++ b/static/css/index-D0MTDZ4D.css @@ -0,0 +1 @@ +.clock-container[data-v-4a8520da]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.2),hsla(0,0%,100%,.2) 2px,#000 0,#000 3px,transparent 0,transparent 20px),repeating-linear-gradient(90deg,#000,#000 1px,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 3px,transparent 0,transparent 20px),linear-gradient(0deg,#0003,#40404033 15%,#4d4d4d33 40%,#26262633,#1a1a1a33 80%,#03030333),linear-gradient(-90deg,#324d67,#1c2b4a 35%,#151837 65%,#060d13)}.clock-container .clock[data-v-4a8520da]{position:relative;width:var(--516191a8);height:var(--516191a8);display:flex;justify-content:center;align-items:center;background-size:cover;border-radius:50%;border:6px solid #36ad6a;box-shadow:0 15px 15px 5px #00000080;overflow:hidden}.clock-container .clock[data-v-4a8520da]:before{content:"";position:absolute;width:15px;height:15px;background:#fff;border-radius:50%;z-index:10}.clock-container .clock .calibration[data-v-4a8520da]{position:absolute;width:100%;height:100%;background-color:#2d2d2dcc}.clock-container .clock .calibration .calibration-line[data-v-4a8520da]{width:100%;height:100%}.clock-container .clock .calibration .calibration-line .line-item[data-v-4a8520da]{position:absolute;left:50%;top:50%;transform-origin:left center;background-color:#fff}.clock-container .clock .calibration .calibration-line .line-item.item-hour[data-v-4a8520da]{width:20px;height:3px;border-radius:10px}.clock-container .clock .calibration .calibration-line .line-item.item-min[data-v-4a8520da]{width:15px;height:2px;border-radius:10px}.clock-container .clock .calibration .calibration-number[data-v-4a8520da]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--50d58590);height:var(--50d58590);color:#fff;font-size:16px;font-weight:700}.clock-container .clock .calibration .calibration-number .number-item[data-v-4a8520da]{position:absolute;transform:translate(-50%,-50%)}.clock-container .clock .hour[data-v-4a8520da],.clock-container .clock .minute[data-v-4a8520da],.clock-container .clock .second[data-v-4a8520da]{position:absolute}.clock-container .clock .hour[data-v-4a8520da],.clock-container .clock .hr[data-v-4a8520da]{width:200px;height:200px}.clock-container .clock .minute[data-v-4a8520da],.clock-container .clock .min[data-v-4a8520da]{width:240px;height:240px}.clock-container .clock .second[data-v-4a8520da],.clock-container .clock .sec[data-v-4a8520da]{width:300px;height:300px}.clock-container .clock .hr[data-v-4a8520da],.clock-container .clock .min[data-v-4a8520da],.clock-container .clock .sec[data-v-4a8520da]{position:absolute;display:flex;justify-content:center;border-radius:50%}.clock-container .clock .hr[data-v-4a8520da]:before{content:"";position:absolute;width:6px;height:120px;background:var(--b352c62e);z-index:1;border-radius:8px}.clock-container .clock .min[data-v-4a8520da]:before{content:"";position:absolute;width:4px;height:140px;background:var(--73539fd9);z-index:2;border-radius:8px}.clock-container .clock .sec[data-v-4a8520da]:before{content:"";position:absolute;width:2px;height:200px;background:var(--7d533e39);z-index:3;border-radius:8px} diff --git a/static/css/index-D2V22Zlw.css b/static/css/index-D2V22Zlw.css deleted file mode 100644 index f4d83e7..0000000 --- a/static/css/index-D2V22Zlw.css +++ /dev/null @@ -1 +0,0 @@ -.home-container[data-v-348f683d]{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:100px;width:100%;height:100%}.home-container .home-header[data-v-348f683d]{display:flex;justify-content:center;align-items:center;font-size:32px}.home-container .home-content[data-v-348f683d]{display:flex;justify-content:center;align-items:center;gap:100px;width:100%}.home-container .home-content .home-list-item[data-v-348f683d]{display:flex;justify-content:center;align-items:center;width:200px;height:200px;border:4px solid #fff;border-radius:20px;background-color:#dfe9f3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:24px;cursor:pointer;transition:all .5s}.home-container .home-content .home-list-item[data-v-348f683d]:hover{color:#007adf;border-color:#007adf} diff --git a/static/css/index-DWvJikDq.css b/static/css/index-DWvJikDq.css new file mode 100644 index 0000000..4a748d3 --- /dev/null +++ b/static/css/index-DWvJikDq.css @@ -0,0 +1 @@ +.fireworks-container[data-v-bc47398e]{width:100%;height:100%;background-color:#000;overflow:hidden;font-family:Russo One,arial,sans-serif;color:#ffffff80;line-height:1.25;letter-spacing:.06em;cursor:pointer}.fireworks-container .stage-container[data-v-bc47398e]{overflow:hidden;box-sizing:initial;border:1px solid #222;margin:-1px}@media (max-width: 840px){.fireworks-container .stage-container[data-v-bc47398e]{border:none;margin:0}}.fireworks-container .canvas-container[data-v-bc47398e]{width:100%;height:100%;transition:filter .3s}.fireworks-container .canvas-container canvas[data-v-bc47398e]{position:absolute;mix-blend-mode:lighten;transform:translateZ(0)} diff --git a/static/css/index-DYjf4JiY.css b/static/css/index-DYjf4JiY.css deleted file mode 100644 index c1333c5..0000000 --- a/static/css/index-DYjf4JiY.css +++ /dev/null @@ -1 +0,0 @@ -.checkerboardItem[data-v-776f250c]{width:20px;height:20px;border:1px solid #000;background:var(--0d42d167)}.checkerboard[data-v-c6eaf260]{display:flex;flex-wrap:wrap;margin:0 auto;width:330px}.hint[data-v-da0be4f6]{display:flex;justify-content:center;margin:16px 0}.home[data-v-fc3f7b43]{width:100%;height:calc(100% - 32px);padding-top:32px}.game-layout-container[data-v-59e34bff]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:#ccc} diff --git a/static/css/index-DZ5njz1e.css b/static/css/index-DZ5njz1e.css deleted file mode 100644 index 0b40e73..0000000 --- a/static/css/index-DZ5njz1e.css +++ /dev/null @@ -1 +0,0 @@ -.container[data-v-944dcb62]{width:100%;height:100%;background:radial-gradient(ellipse at bottom,#1b2735,#090a0f);overflow:hidden}#stars[data-v-944dcb62]{width:1px;height:1px;background:transparent;box-shadow:var(--11468e50);animation:animStar-944dcb62 50s linear infinite}#stars[data-v-944dcb62]:after{content:" ";position:absolute;top:2000px;width:1px;height:1px;background:transparent;box-shadow:var(--11468e50)}#stars2[data-v-944dcb62]{width:2px;height:2px;background:transparent;box-shadow:var(--0cdebf4c);animation:animStar-944dcb62 100s linear infinite}#stars2[data-v-944dcb62]:after{content:" ";position:absolute;top:2000px;width:2px;height:2px;background:transparent;box-shadow:var(--0cdebf4c)}#stars3[data-v-944dcb62]{width:3px;height:3px;background:transparent;box-shadow:var(--10deb484);animation:animStar-944dcb62 150s linear infinite}#stars3[data-v-944dcb62]:after{content:" ";position:absolute;top:2000px;width:3px;height:3px;background:transparent;box-shadow:var(--10deb484)}@keyframes animStar-944dcb62{0%{transform:translateY(0)}to{transform:translateY(-2000px)}} diff --git a/static/css/index-xV8vjQhz.css b/static/css/index-Dc81sOc0.css similarity index 56% rename from static/css/index-xV8vjQhz.css rename to static/css/index-Dc81sOc0.css index b0fd277..f0f60d1 100644 --- a/static/css/index-xV8vjQhz.css +++ b/static/css/index-Dc81sOc0.css @@ -1 +1 @@ -.input-tag[data-v-a92c9277]{display:flex;flex-direction:column;gap:32px;padding:24px;width:100%;height:100%}.input-tag .myTextArea[data-v-a92c9277]{-webkit-user-modify:read-write-plaintext-only!important;display:flex;align-items:center;height:32px;padding:8px;border-radius:6px;border:1px solid #ccc;background-color:#fff;overflow:hidden;overflow-x:auto;box-sizing:border-box;word-break:break-word;width:100%;color:#333;font-size:14px;font-weight:400;white-space:nowrap}.input-tag .myTextArea[data-v-a92c9277]::-webkit-scrollbar{height:0}.input-tag .btn[data-v-a92c9277]{width:fit-content}.input-tag-container[data-v-061346c1]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:#ccc} +.input-tag[data-v-92a497a9]{display:flex;flex-direction:column;gap:32px;padding:24px;width:100%;height:100%}.input-tag .myTextArea[data-v-92a497a9]{-webkit-user-modify:read-write-plaintext-only!important;display:flex;align-items:center;height:32px;padding:8px;border-radius:6px;border:1px solid #ccc;background-color:#fff;overflow:hidden;overflow-x:auto;box-sizing:border-box;word-break:break-word;width:100%;color:#333;font-size:14px;font-weight:400;white-space:nowrap}.input-tag .myTextArea[data-v-92a497a9]::-webkit-scrollbar{height:0}.input-tag .btn[data-v-92a497a9]{width:fit-content}.input-tag-container[data-v-dd273656]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:#ccc} diff --git a/static/css/index-Dem2OLj5.css b/static/css/index-Dem2OLj5.css deleted file mode 100644 index 0912de7..0000000 --- a/static/css/index-Dem2OLj5.css +++ /dev/null @@ -1 +0,0 @@ -.wave-container[data-v-f34e75dd]{position:relative;display:flex;flex-direction:column;width:100%;height:100%;padding:24px;background-color:#000c}.wave-container .controller[data-v-f34e75dd]{display:flex;justify-content:center;align-items:center;gap:16px;width:100%}.wave-container .controller .controller-item-btn[data-v-f34e75dd]{padding:0 12px;border:1px solid white;color:#fff;font-size:20px;cursor:pointer}.wave-container svg[data-v-f34e75dd]{flex:1;width:100%;height:100%}.wave-container svg .orbit-group[data-v-f34e75dd]{transform:translate(50%,98%)}.wave-container svg .circle-group[data-v-f34e75dd]{transform:translate(50%,98%)} diff --git a/static/css/index-DHFUwASB.css b/static/css/index-DykBp_fr.css similarity index 50% rename from static/css/index-DHFUwASB.css rename to static/css/index-DykBp_fr.css index abf72b5..19e011a 100644 --- a/static/css/index-DHFUwASB.css +++ b/static/css/index-DykBp_fr.css @@ -1 +1 @@ -.gradient-content[data-v-f01603c6]{position:relative;width:100%;height:168px;cursor:pointer;overflow:hidden}.sat-container[data-v-f01603c6],.val-container[data-v-f01603c6]{position:absolute;top:0;left:0;right:0;bottom:0}.sat-container[data-v-f01603c6]{background-image:linear-gradient(90deg,#fff,#cc9a8100)}.val-container[data-v-f01603c6]{background-image:linear-gradient(0deg,#000,#cc9a8100)}.cursor-container[data-v-f01603c6]{position:absolute;left:-8px;top:-8px;border:2px solid #fff;border-radius:50%;width:14px;height:14px;background-color:#fff;cursor:move;-webkit-user-select:none;user-select:none}.hue-slider[data-v-2da596e5]{position:relative;border-radius:4px;width:100%;height:8px;cursor:pointer;background-image:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.slider-cursor[data-v-2da596e5]{position:absolute;top:-2px;left:-8px;border:2px solid #fff;border-radius:50%;width:12px;height:12px;cursor:e-resize;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 1px #00000040,0 0 0 1px #0000000f}.alpha-slider[data-v-13dce5c2]{position:relative;border-radius:4px;width:100%;height:8px;cursor:pointer;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:8px 8px;box-shadow:inset 0 0 1px #00000040}.alpha-slider-content[data-v-13dce5c2]{position:relative;border-radius:4px;width:100%;height:100%}.slider-cursor[data-v-13dce5c2]{position:absolute;top:-2px;left:-8px;border:2px solid #fff;border-radius:50%;width:12px;height:12px;cursor:e-resize;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 1px #00000040,0 0 0 1px #0000000f}.input-content[data-v-ab4d0fa4]{display:flex;align-items:center;gap:8px}.input-content .input-select[data-v-ab4d0fa4]{padding:2px 4px;border:1px solid #dcdcdc;border-radius:4px;align-items:center;width:60px;height:24px;background:#fff}.input-content .input-select[data-v-ab4d0fa4]:focus{outline:none}.input-content .input-rgb[data-v-ab4d0fa4]{display:flex;align-items:center;gap:4px;width:100%}.input-content .input-rgb .input-rgb-item[data-v-ab4d0fa4]{flex:1;display:flex;gap:12px;height:24px}.input-content .input-rgb .input-rgb-item[data-v-ab4d0fa4]:nth-child(4){width:40px;flex:unset}.input-content .input-hex[data-v-ab4d0fa4]{display:flex;gap:4px;width:100%}.input-content input[data-v-ab4d0fa4]{flex:1;border:1px solid #dcdcdc;border-radius:4px;width:100%;height:24px;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;outline:none;box-sizing:border-box;text-transform:uppercase}.input-content input.alpha-input[data-v-ab4d0fa4]{width:40px;flex:unset}.swatch-content[data-v-5debd9cb]{display:grid;grid-template-columns:repeat(auto-fill,20px);justify-content:space-between;gap:8px}.swatch-item[data-v-5debd9cb]{position:relative;border-radius:2px;width:20px;height:20px;cursor:pointer;transition:all .3s}.swatch-item.has-border[data-v-5debd9cb]{box-shadow:inset 0 0 0 1px #87ceeb;border-radius:50%}.panel-content[data-v-2dcba686]{display:flex;flex-direction:column;gap:12px;width:240px;background-color:#fff}.panel-content .controls-container[data-v-2dcba686]{display:flex;align-items:center;gap:12px}.panel-content .controls-container .slider-container[data-v-2dcba686]{flex:1;width:100%;display:flex;flex-direction:column;gap:12px}.panel-content .controls-container .square[data-v-2dcba686]{border-radius:4px;overflow:hidden;width:28px;height:28px;box-shadow:inset 0 0 1px #00000040;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:50% 50%}.panel-content .controls-container .square span[data-v-2dcba686]{display:block;width:100%;height:100%;border-radius:4px;cursor:pointer}.color-picker-container[data-v-b93e6bd1]{display:flex;justify-content:center;align-items:center;height:100%;background-color:#ccc}.color-picker-content[data-v-b93e6bd1]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:48px 96px;border-radius:12px;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:24px 24px}.color-picker-content .tips[data-v-b93e6bd1]{font-size:20px;font-weight:700;color:#fff;mix-blend-mode:difference}.color-picker-content .color-panel[data-v-b93e6bd1]{padding:12px;background-color:#fff;border-radius:12px} +.gradient-content[data-v-26c86644]{position:relative;width:100%;height:168px;cursor:pointer;overflow:hidden}.sat-container[data-v-26c86644],.val-container[data-v-26c86644]{position:absolute;top:0;left:0;right:0;bottom:0}.sat-container[data-v-26c86644]{background-image:linear-gradient(90deg,#fff,#cc9a8100)}.val-container[data-v-26c86644]{background-image:linear-gradient(0deg,#000,#cc9a8100)}.cursor-container[data-v-26c86644]{position:absolute;left:-8px;top:-8px;border:2px solid #fff;border-radius:50%;width:14px;height:14px;background-color:#fff;cursor:move;-webkit-user-select:none;user-select:none}.hue-slider[data-v-a366f40b]{position:relative;border-radius:4px;width:100%;height:8px;cursor:pointer;background-image:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.slider-cursor[data-v-a366f40b]{position:absolute;top:-2px;left:-8px;border:2px solid #fff;border-radius:50%;width:12px;height:12px;cursor:e-resize;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 1px #00000040,0 0 0 1px #0000000f}.alpha-slider[data-v-67d00620]{position:relative;border-radius:4px;width:100%;height:8px;cursor:pointer;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:8px 8px;box-shadow:inset 0 0 1px #00000040}.alpha-slider-content[data-v-67d00620]{position:relative;border-radius:4px;width:100%;height:100%}.slider-cursor[data-v-67d00620]{position:absolute;top:-2px;left:-8px;border:2px solid #fff;border-radius:50%;width:12px;height:12px;cursor:e-resize;-webkit-user-select:none;user-select:none;box-shadow:inset 0 0 1px #00000040,0 0 0 1px #0000000f}.input-content[data-v-2b58dec9]{display:flex;align-items:center;gap:8px}.input-content .input-select[data-v-2b58dec9]{padding:2px 4px;border:1px solid #dcdcdc;border-radius:4px;align-items:center;width:60px;height:24px;background:#fff}.input-content .input-select[data-v-2b58dec9]:focus{outline:none}.input-content .input-rgb[data-v-2b58dec9]{display:flex;align-items:center;gap:4px;width:100%}.input-content .input-rgb .input-rgb-item[data-v-2b58dec9]{flex:1;display:flex;gap:12px;height:24px}.input-content .input-rgb .input-rgb-item[data-v-2b58dec9]:nth-child(4){width:40px;flex:unset}.input-content .input-hex[data-v-2b58dec9]{display:flex;gap:4px;width:100%}.input-content input[data-v-2b58dec9]{flex:1;border:1px solid #dcdcdc;border-radius:4px;width:100%;height:24px;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;outline:none;box-sizing:border-box;text-transform:uppercase}.input-content input.alpha-input[data-v-2b58dec9]{width:40px;flex:unset}.swatch-content[data-v-cd6e56a9]{display:grid;grid-template-columns:repeat(auto-fill,20px);justify-content:space-between;gap:8px}.swatch-item[data-v-cd6e56a9]{position:relative;border-radius:2px;width:20px;height:20px;cursor:pointer;transition:all .3s}.swatch-item.has-border[data-v-cd6e56a9]{box-shadow:inset 0 0 0 1px #87ceeb;border-radius:50%}.panel-content[data-v-ae7039c0]{display:flex;flex-direction:column;gap:12px;width:240px;background-color:#fff}.panel-content .controls-container[data-v-ae7039c0]{display:flex;align-items:center;gap:12px}.panel-content .controls-container .slider-container[data-v-ae7039c0]{flex:1;width:100%;display:flex;flex-direction:column;gap:12px}.panel-content .controls-container .square[data-v-ae7039c0]{border-radius:4px;overflow:hidden;width:28px;height:28px;box-shadow:inset 0 0 1px #00000040;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:50% 50%}.panel-content .controls-container .square span[data-v-ae7039c0]{display:block;width:100%;height:100%;border-radius:4px;cursor:pointer}.color-picker-container[data-v-b5e8a849]{display:flex;justify-content:center;align-items:center;height:100%;background-color:#ccc}.color-picker-content[data-v-b5e8a849]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:48px 96px;border-radius:12px;background-image:conic-gradient(rgba(0,0,0,.06) 0 25%,transparent 0 50%,rgba(0,0,0,.06) 0 75%,transparent 0);background-size:24px 24px}.color-picker-content .tips[data-v-b5e8a849]{font-size:20px;font-weight:700;color:#fff;mix-blend-mode:difference}.color-picker-content .color-panel[data-v-b5e8a849]{padding:12px;background-color:#fff;border-radius:12px} diff --git a/static/css/index-FvZJnBgI.css b/static/css/index-FvZJnBgI.css deleted file mode 100644 index 447494f..0000000 --- a/static/css/index-FvZJnBgI.css +++ /dev/null @@ -1 +0,0 @@ -.funny-layout-container[data-v-d346bb5b]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-auto-rows:200px;grid-gap:48px;padding:48px;width:100%;height:100%;overflow:auto}.funny-layout-container[data-v-d346bb5b]::-webkit-scrollbar{width:0}.funny-layout-container .funny-item[data-v-d346bb5b]{display:flex;justify-content:center;align-items:center;padding:24px;width:100%;height:100%;border-radius:20px;background-color:#0000004d;font-size:20px;font-weight:700;color:#fff;white-space:wrap;word-break:break-all;text-align:center;cursor:pointer;transition:all .5s}.funny-layout-container .funny-item[data-v-d346bb5b]:hover{color:#008b8b;background-color:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)} diff --git a/static/css/index-OGqQKciI.css b/static/css/index-OGqQKciI.css deleted file mode 100644 index 72015ed..0000000 --- a/static/css/index-OGqQKciI.css +++ /dev/null @@ -1 +0,0 @@ -.card-container[data-v-6a0b852a]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.card-container .rotate-card-wrapper[data-v-6a0b852a]{position:relative;transform-style:preserve-3d;perspective:500px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.card-container .rotate-card-wrapper .inner[data-v-6a0b852a]{position:relative;border-radius:16px;cursor:pointer;transition:all .1s ease-out;transform:rotateX(calc(var(--92e4bd04) * 1deg)) rotateY(calc(var(--92e4bd02) * 1deg)) translateZ(0)}.card-container .rotate-card-wrapper .inner .card-item[data-v-6a0b852a]{display:flex;justify-content:center;align-items:center;padding:24px;width:400px;height:250px;border-radius:16px;font-size:32px;background-image:radial-gradient(#f7a37b,#f7a37b 1em,#ffdea8 1em,#ffdea8 2em,#d0e4b0 2em,#d0e4b0 3em,#7cc5d0 3em,#7cc5d0 4em,#00a2e1 4em,#00a2e1 5em,#0085c8 5em,#0085c8 6em);background-size:100% 100%;background-repeat:no-repeat}.card-container .rotate-card-wrapper:hover .inner[data-v-6a0b852a]{transform:rotateX(calc(var(--92e4bd04) * 1deg)) rotateY(calc(var(--92e4bd02) * 1deg)) translateZ(100px);box-shadow:0 0 50px -20px #535352,0 0 70px -30px #535352,0 0 80px -40px #535352}.card-container .rotate-card-wrapper:hover .inner .card-item[data-v-6a0b852a]{box-shadow:inset 0 0 30px #535352} diff --git a/static/css/index-R_LgEAND.css b/static/css/index-R_LgEAND.css deleted file mode 100644 index dd4c7c4..0000000 --- a/static/css/index-R_LgEAND.css +++ /dev/null @@ -1 +0,0 @@ -.demo-container[data-v-ecddd020]{display:flex;flex-direction:column}.demo-container .demo-header[data-v-ecddd020]{width:100%;text-align:center;font-size:36px;font-weight:700}.demo-container .demo-content .demo-child1[data-v-ecddd020]{color:red} diff --git a/static/css/index-UDtw7Js3.css b/static/css/index-UDtw7Js3.css new file mode 100644 index 0000000..4f0bc24 --- /dev/null +++ b/static/css/index-UDtw7Js3.css @@ -0,0 +1 @@ +.wave-container[data-v-a599a884]{position:relative;display:flex;flex-direction:column;width:100%;height:100%;padding:24px;background-color:#000c}.wave-container .controller[data-v-a599a884]{display:flex;justify-content:center;align-items:center;gap:16px;width:100%}.wave-container .controller .controller-item-btn[data-v-a599a884]{padding:0 12px;border:1px solid white;color:#fff;font-size:20px;cursor:pointer}.wave-container svg[data-v-a599a884]{flex:1;width:100%;height:100%}.wave-container svg .orbit-group[data-v-a599a884]{transform:translate(50%,98%)}.wave-container svg .circle-group[data-v-a599a884]{transform:translate(50%,98%)} diff --git a/static/css/index-pNBsgrF8.css b/static/css/index-pNBsgrF8.css deleted file mode 100644 index b15047f..0000000 --- a/static/css/index-pNBsgrF8.css +++ /dev/null @@ -1 +0,0 @@ -.virtual-list-container[data-v-78b7a1bd]{display:flex;padding:24px;gap:24px;width:100%;height:100%}.virtual-list-container .content[data-v-78b7a1bd]{position:relative;width:100%;height:100%}.virtual-list-container .content .content-header[data-v-78b7a1bd]{display:flex;align-items:center;gap:16px;height:32px;margin-bottom:16px}.virtual-list-container .content .content-header input[data-v-78b7a1bd],.virtual-list-container .content .content-header button[data-v-78b7a1bd]{height:32px} diff --git a/static/css/index-pm4vSK5g.css b/static/css/index-pm4vSK5g.css new file mode 100644 index 0000000..dd6c9ce --- /dev/null +++ b/static/css/index-pm4vSK5g.css @@ -0,0 +1 @@ +*,*:before,*:after{margin:0;padding:0;box-sizing:border-box;font-weight:400}html,body{width:100vw;height:100vh;min-height:100vh;overflow:hidden;font-size:16px}html #app,body #app{width:100%;height:100%;overflow:hidden}a:focus,a:active,button,div,svg,span{outline:none!important}ul{list-style-type:none}ul li{display:inline-block}button{display:flex;justify-content:center;align-items:center;height:32px;padding:0 16px;border-radius:4px;border:none;outline:none;background-color:#2e317c;color:#fff;font-size:14px;cursor:pointer;transition:all .3s}button:hover{background-color:#2e317ccc}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:2px}::-webkit-scrollbar-thumb{background:#0661b677;border-radius:2px}::-webkit-scrollbar-corner{background:#f6f6f6}.custom-bg-1{background:radial-gradient(farthest-side at -33.33% 50%,#0000 52%,#170409 54%,#170409 57%,#0000 59%) 0 50px,radial-gradient(farthest-side at 50% 133.33%,#0000 52%,#170409 54%,#170409 57%,#0000 59%) 50px 0,radial-gradient(farthest-side at 133.33% 50%,#0000 52%,#170409 54%,#170409 57%,#0000 59%),radial-gradient(farthest-side at 50% -33.33%,#0000 52%,#170409 54%,#170409 57%,#0000 59%),#623aa2;background-size:21.42704093px 100px,100px 21.42704093px;height:100%;width:100%}.custom-bg-2{background:conic-gradient(at 62.5% 12.5%,#72e21f 25%,#0000 0) -5px 20px,conic-gradient(at 62.5% 12.5%,#72e21f 25%,#0000 0) -15px 10px,conic-gradient(at 87.5% 62.5%,#72e21f 25%,#0000 0) 15px 10px,conic-gradient(at 87.5% 62.5%,#72e21f 25%,#0000 0) -5px 0,conic-gradient(at 25% 12.5%,#72e21f 25%,#0000 0) 0 -10px,conic-gradient(at 25% 12.5%,#72e21f 25%,#0000 0) -10px 0,conic-gradient(at 87.5% 87.5%,#72e21f 25%,#0000 0) 5px 0 #044012;background-size:40px 40px;height:100%;width:100%}.custom-bg-3{background:radial-gradient(28.968px at 0 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 28.968px 28.968px,radial-gradient(12px at 0 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 16.968px 16.968px,radial-gradient(28.968px at 0 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 0 16.968px,radial-gradient(12px at 0 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) -12px 28.968px,radial-gradient(28.968px at 100% 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 16.968px 0,radial-gradient(12px at 100% 0,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) 28.968px -12px,radial-gradient(28.968px at 100% 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) -12px -12px,radial-gradient(12px at 100% 100%,#0000 calc(100% - 5px),#615375 calc(100% - 4px),#615375 calc(100% - 1px),#0000) #8eb2c5;background-size:57.936px 57.936px;height:100%;width:100%}.custom-bg-4{background:linear-gradient(120deg,#5c0a0a80,#990d0080 15%,#b31e0080,#ff400080 35%,#c7460580 40%,#a5270d80 50%,#8e160b80 65%,#8e160b80 70%,#7c030380 85%,#66000080),linear-gradient(60deg,#16040480,#2e090580 10%,#59190d80,#17030380 40%,#57150f80 60%,#17060380 70%,#2f070480 90%,#19010180),linear-gradient(120deg,#333,#18191b 35%,#0c0c0d 65%,#000);height:100%;width:100%}.custom-bg-5{background:conic-gradient(at 20px calc(100% - 20px),#0000 270deg,#c02942 0) 35px 0,linear-gradient(#53777a 20px,#0000 0) 0 15px,conic-gradient(at 20px calc(100% - 20px),#0000 90deg,#53777a 0,#53777a 180deg,#c02942 0),#ecd078;background-size:70px 70px;height:100%;width:100%}.custom-bg-6{background:radial-gradient(27% 29% at right,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 10px 20px,radial-gradient(27% 29% at left,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) -10px 20px,radial-gradient(29% 27% at top,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 0 10px,radial-gradient(29% 27% at bottom,#0000 83%,#b09f79 85%,#b09f79 99%,#0000 101%) 0 -10px #476074;background-size:40px 40px;height:100%;width:100%}.custom-bg-7{background:linear-gradient(90deg,#0000 59px,#aec8ee 0),linear-gradient(180deg,#0000 59px,#aec8ee 0),radial-gradient(closest-side at 7px 7px,#31c2ec 0,#31c2ec 7px,#0000 0,#0000),#0e284d;background-position:0 0,0 0,-8px -8px;background-size:60px 100%,100% 60px,60px 60px;height:100%;width:100%}.custom-bg-8{background:repeating-conic-gradient(#bf4d28 0,#bf4d28 .00005%,#e1f5c4 0,#e1f5c4 .00017%) 0 0 / 5000px 4000px;height:100%;width:100%}.custom-bg-9{background:linear-gradient(225deg,#0000 3.125%,#987f69 0,#987f69 9.375%,#0000 0,#0000 78.125%,#987f69 0,#987f69 84.375%,#0000 0) 0 6px,linear-gradient(45deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 0 12px,linear-gradient(45deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) -6px -6px,linear-gradient(225deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 12px 0,linear-gradient(225deg,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%,#fdf1cc 0,#fdf1cc 15.625%,#987f69 0,#987f69 21.875%,#fdf1cc 0,#fdf1cc 28.125%,#0000 0) 6px 12px,repeating-linear-gradient(-45deg,#fdf1cc -3.125%,#fdf1cc 3.125%,#987f69 0,#987f69 9.375%);background-size:24px 24px;height:100%;width:100%}.custom-bg-10{background:repeating-linear-gradient(-45deg,#0000,#0000 25%,#f55 0,#f55 50%),repeating-linear-gradient(45deg,#0000,#0000 25%,#55f 0,#55f 50%),#efb;background-blend-mode:multiply;background-size:200px 200px;height:100%;width:100%}.custom-profile-container[data-v-8625da7d]{position:absolute;top:0;left:0;z-index:99;overflow:hidden;display:flex;justify-content:center;align-items:center;width:99px;height:99px;background-image:-webkit-linear-gradient(-45deg,#0ba360,#0ba360 50%,transparent 50%,transparent)}.custom-profile-container span[data-v-8625da7d]{font-size:14px;color:#fff;text-align:center;text-shadow:0 0 5px #000;transform:rotate(-45deg) translateY(-100%);-webkit-user-select:none;user-select:none}.background-container[data-v-7f9ee5e4]{position:absolute;top:0;left:0;width:100%;height:100%;transition:.25s;z-index:-1;background-color:#333}.base-layout-container[data-v-6e32bf2a]{position:relative;display:flex;justify-content:center;align-items:center;gap:16px;width:100%;height:100%;background-size:1000%;box-sizing:border-box}.base-layout-container .base-layout-desc[data-v-6e32bf2a],.base-layout-container .base-layout-default[data-v-6e32bf2a]{flex:1;height:100%;border-radius:12px;background:radial-gradient(#8ec5fc6b,transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.base-layout-container .base-layout-desc[data-v-6e32bf2a]{flex:1}.base-layout-container .base-layout-default[data-v-6e32bf2a]{flex:3} diff --git a/static/js/404-Dy6WOJF5.js b/static/js/404-Dy6WOJF5.js deleted file mode 100644 index 7e15cad..0000000 --- a/static/js/404-Dy6WOJF5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./plugin-vueexport-helper-DlAUqK2U.js";import{f as e,o as t}from"./index-DblQHoIm.js";const c={},n={class:"not-found-container"};function r(s,_){return t(),e("div",n,"404 Not Found")}const f=o(c,[["render",r],["__scopeId","data-v-daf7e185"]]);export{f as default}; diff --git a/static/js/B4-cC9vRKeP.js b/static/js/B4-cC9vRKeP.js deleted file mode 100644 index d67050a..0000000 --- a/static/js/B4-cC9vRKeP.js +++ /dev/null @@ -1 +0,0 @@ -const s="/pages/static/mp3/C7-DrIiBHTt.mp3",a="/pages/static/mp3/D7-eKlzsYaD.mp3",p="/pages/static/mp3/E7-Dvfuv9NT.mp3",t="/pages/static/mp3/F7-CWr4KyWL.mp3",c="/pages/static/mp3/G7-CYBFmFES.mp3",m="/pages/static/mp3/A7-CvcieQ2d.mp3",e="/pages/static/mp3/B7-CB_w3kQU.mp3",i="/pages/static/mp3/C6-DZufzCEh.mp3",n="/pages/static/mp3/D6-D4VZWv5i.mp3",o="/pages/static/mp3/E6-VJonjFl6.mp3",g="/pages/static/mp3/F6-ClS7j0wb.mp3",C="/pages/static/mp3/G6-D4cfrTa7.mp3",D="/pages/static/mp3/A6-C8b1K7He.mp3",B="/pages/static/mp3/B6-Dl1ASB3z.mp3",E="/pages/static/mp3/C5-Cz8NaCEk.mp3",A="/pages/static/mp3/D5-ePE1v9-3.mp3",F="/pages/static/mp3/E5-BO3Rb0z6.mp3",G="/pages/static/mp3/F5-Oih2PYCk.mp3",r="/pages/static/mp3/G5-BEy2ZzHl.mp3",l="/pages/static/mp3/A5-jYPb8_U1.mp3",k="/pages/static/mp3/B5-DaK6Sp0e.mp3",z="/pages/static/mp3/C4-DOdOAVZU.mp3",b="/pages/static/mp3/D4-BX4a7mAK.mp3",f="/pages/static/mp3/E4-DMfB6sSw.mp3",j="/pages/static/mp3/F4-Brk_U0q4.mp3",v="/pages/static/mp3/G4-CG3npyI6.mp3",K="/pages/static/mp3/A4-d89MVjqH.mp3",S="/pages/static/mp3/B4-6lEehrrk.mp3";export{m as A,e as B,s as C,a as D,p as E,t as F,c as G,i as a,n as b,o as c,g as d,C as e,D as f,B as g,E as h,A as i,F as j,G as k,r as l,l as m,k as n,z as o,b as p,f as q,j as r,v as s,K as t,S as u}; diff --git a/static/js/BaseLayout-BlsNKkPJ.js b/static/js/BaseLayout-BlsNKkPJ.js deleted file mode 100644 index fad2bba..0000000 --- a/static/js/BaseLayout-BlsNKkPJ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as c}from"./plugin-vueexport-helper-DlAUqK2U.js";import{o,f as t,p as d,b as r,a as n,d as _,e as i,r as a,g as p}from"./index-DblQHoIm.js";const l={},u=e=>(d("data-v-27c53fa4"),e=e(),r(),e),f={class:"custom-profile-container"},m=u(()=>n("span",null,"Composition",-1)),h=[m];function v(e,s){return o(),t("div",f,h)}const $=c(l,[["render",v],["__scopeId","data-v-27c53fa4"]]),y={class:"base-layout-container"},B={key:0,class:"base-layout-desc"},I={class:"base-layout-default"},b=_({__name:"BaseLayout",setup(e){return(s,S)=>(o(),t("div",y,[i($),s.$slots.desc?(o(),t("div",B,[a(s.$slots,"desc",{},void 0,!0)])):p("",!0),n("div",I,[a(s.$slots,"default",{},void 0,!0)])]))}}),N=c(b,[["__scopeId","data-v-cd46461e"]]);export{N as B}; diff --git a/static/js/Filter-BI3HblDZ.js b/static/js/Filter-BI3HblDZ.js new file mode 100644 index 0000000..a4046a9 --- /dev/null +++ b/static/js/Filter-BI3HblDZ.js @@ -0,0 +1 @@ +import{_ as s,o as e,a,F as t,r as c,b as n}from"./index-By46uPpP.js";const o={},_={class:"background-wrapper"};function d(l,p){return e(),a("div",_,[(e(),a(t,null,c(20,r=>n("span",{key:r})),64))])}const i=s(o,[["render",d],["__scopeId","data-v-f16c4a16"]]);export{i as default}; diff --git a/static/js/Light-DI0ImfPE.js b/static/js/Light-DI0ImfPE.js new file mode 100644 index 0000000..8e81b39 --- /dev/null +++ b/static/js/Light-DI0ImfPE.js @@ -0,0 +1 @@ +import{_ as a,o as t,a as c,H as d}from"./index-By46uPpP.js";const s={},i={class:"background-wrapper"},v=d('
',9),l=[v];function e(o,_){return t(),c("div",i,l)}const r=a(s,[["render",e],["__scopeId","data-v-9272fc7b"]]);export{r as default}; diff --git a/static/js/Pop-BGnAlR0T.js b/static/js/Pop-BGnAlR0T.js new file mode 100644 index 0000000..8dc40d0 --- /dev/null +++ b/static/js/Pop-BGnAlR0T.js @@ -0,0 +1 @@ +import{_ as e,o as c,a as o}from"./index-By46uPpP.js";const a={},r={class:"background-wrapper"};function s(t,_){return c(),o("div",r)}const f=e(a,[["render",s],["__scopeId","data-v-ffcfe583"]]);export{f as default}; diff --git a/static/js/Stars-CWCR_F-y.js b/static/js/Stars-CWCR_F-y.js new file mode 100644 index 0000000..536922b --- /dev/null +++ b/static/js/Stars-CWCR_F-y.js @@ -0,0 +1 @@ +import{d as p,l as i,c as t,o as _,a as l,p as u,e as f,b as e,_ as h}from"./index-By46uPpP.js";const r=a=>(u("data-v-312cfd7b"),a=a(),f(),a),w={class:"background-wrapper"},m=r(()=>e("div",{id:"stars"},null,-1)),x=r(()=>e("div",{id:"stars2"},null,-1)),v=r(()=>e("div",{id:"stars3"},null,-1)),S=[m,x,v],$=p({__name:"Stars",setup(a){i(o=>({"538a3082":n.value,"130f635a":d.value,"532256b6":c.value}));const n=t(()=>new Array(700).fill(0).map(()=>`${s()}px ${s()}px #fff`).join(",")),d=t(()=>new Array(200).fill(0).map(()=>`${s()}px ${s()}px #fff`).join(",")),c=t(()=>new Array(100).fill(0).map(()=>`${s()}px ${s()}px #fff`).join(",")),s=()=>Math.round(Math.random()*2e3);return(o,b)=>(_(),l("div",w,S))}}),g=h($,[["__scopeId","data-v-312cfd7b"]]);export{g as default}; diff --git a/static/js/commonjsHelpers-Cpj98o6Y.js b/static/js/commonjsHelpers-Cpj98o6Y.js new file mode 100644 index 0000000..b285ce5 --- /dev/null +++ b/static/js/commonjsHelpers-Cpj98o6Y.js @@ -0,0 +1 @@ +var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g}; diff --git a/static/js/howler-CCqh-U3u.js b/static/js/howler-Dcj4_M-0.js similarity index 79% rename from static/js/howler-CCqh-U3u.js rename to static/js/howler-Dcj4_M-0.js index 913df4b..5ad8572 100644 --- a/static/js/howler-CCqh-U3u.js +++ b/static/js/howler-Dcj4_M-0.js @@ -1,4 +1,4 @@ -function L(g,w){for(var r=0;ru[i]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var S=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D(g){return g&&g.__esModule&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g}var O={};/*! +import{g as L,c as S}from"./commonjsHelpers-Cpj98o6Y.js";function D(b,g){for(var r=0;ru[i]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var O={};/*! * howler.js v2.2.4 * howlerjs.com * @@ -6,7 +6,7 @@ function L(g,w){for(var r=0;r=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,r.ctx.currentTime);for(var n=0;n=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&typeof e.ctx.close<"u"&&(e.ctx.close(),e.ctx=null,A()),e},codecs:function(e){return(this||r)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||r;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if(typeof Audio<"u")try{var t=new Audio;typeof t.oncanplaythrough>"u"&&(e._canPlayEvent="canplay")}catch{e.noAudio=!0}else e.noAudio=!0;try{var t=new Audio;t.muted&&(e.noAudio=!0)}catch{}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||r,t=null;try{t=typeof Audio<"u"?new Audio:null}catch{return e}if(!t||typeof t.canPlayType!="function")return e;var n=t.canPlayType("audio/mpeg;").replace(/^no$/,""),o=e._navigator?e._navigator.userAgent:"",l=o.match(/OPR\/(\d+)/g),_=l&&parseInt(l[0].split("/")[1],10)<33,a=o.indexOf("Safari")!==-1&&o.indexOf("Chrome")===-1,f=o.match(/Version\/(.*?) /),m=a&&f&&parseInt(f[1],10)<15;return e._codecs={mp3:!!(!_&&(n||t.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!n,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!m&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!m&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||r;if(!(e._audioUnlocked||!e.ctx)){e._audioUnlocked=!1,e.autoUnlock=!1,!e._mobileUnloaded&&e.ctx.sampleRate!==44100&&(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(;e._html5AudioPool.length"u"?m.noteOn(0):m.start(0),typeof e.ctx.resume=="function"&&e.ctx.resume(),m.onended=function(){m.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var y=0;y"u"||!r.usingWebAudio)){for(var t=0;t"u"||!r.usingWebAudio))return e.state==="running"&&e.ctx.state!=="interrupted"&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):e.state==="suspended"||e.state==="running"&&e.ctx.state==="interrupted"?(e.ctx.resume().then(function(){e.state="running";for(var t=0;t"u"&&(e="__default",!n._playLock)){for(var l=0,_=0;_0?a._seek:n._sprite[e][0]/1e3),y=Math.max(0,(n._sprite[e][0]+n._sprite[e][1])/1e3-m),b=y*1e3/Math.abs(a._rate),T=n._sprite[e][0]/1e3,k=(n._sprite[e][0]+n._sprite[e][1])/1e3;a._sprite=e,a._ended=!1;var I=function(){a._paused=!1,a._seek=m,a._start=T,a._stop=k,a._loop=!!(a._loop||n._sprite[e][2])};if(m>=k){n._ended(a);return}var v=a._node;if(n._webAudio){var P=function(){n._playLock=!1,I(),n._refreshBuffer(a);var x=a._muted||n._muted?0:a._volume;v.gain.setValueAtTime(x,r.ctx.currentTime),a._playStart=r.ctx.currentTime,typeof v.bufferSource.start>"u"?a._loop?v.bufferSource.noteGrainOn(0,m,86400):v.bufferSource.noteGrainOn(0,m,y):a._loop?v.bufferSource.start(0,m,86400):v.bufferSource.start(0,m,y),b!==1/0&&(n._endTimers[a._id]=setTimeout(n._ended.bind(n,a),b)),t||setTimeout(function(){n._emit("play",a._id),n._loadQueue()},0)};r.state==="running"&&r.ctx.state!=="interrupted"?P():(n._playLock=!0,n.once("resume",P),n._clearTimer(a._id))}else{var H=function(){v.currentTime=m,v.muted=a._muted||n._muted||r._muted||v.muted,v.volume=a._volume*r.volume(),v.playbackRate=a._rate;try{var x=v.play();if(x&&typeof Promise<"u"&&(x instanceof Promise||typeof x.then=="function")?(n._playLock=!0,I(),x.then(function(){n._playLock=!1,v._unlocked=!0,t?n._loadQueue():n._emit("play",a._id)}).catch(function(){n._playLock=!1,n._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),a._ended=!0,a._paused=!0})):t||(n._playLock=!1,I(),n._emit("play",a._id)),v.playbackRate=a._rate,v.paused){n._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}e!=="__default"||a._loop?n._endTimers[a._id]=setTimeout(n._ended.bind(n,a),b):(n._endTimers[a._id]=function(){n._ended(a),v.removeEventListener("ended",n._endTimers[a._id],!1)},v.addEventListener("ended",n._endTimers[a._id],!1))}catch(B){n._emit("playerror",a._id,B)}};v.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(v.src=n._src,v.load());var F=window&&window.ejecta||!v.readyState&&r._navigator.isCocoonJS;if(v.readyState>=3||F)H();else{n._playLock=!0,n._state="loading";var M=function(){n._state="loaded",H(),v.removeEventListener(r._canPlayEvent,M,!1)};v.addEventListener(r._canPlayEvent,M,!1),n._clearTimer(a._id)}}return a._id},pause:function(e){var t=this;if(t._state!=="loaded"||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),o=0;o"u"?l._node.bufferSource.noteOff(0):l._node.bufferSource.stop(0),t._cleanBuffer(l._node)}else(!isNaN(l._node.duration)||l._node.duration===1/0)&&l._node.pause();arguments[1]||t._emit("pause",l?l._id:null)}return t},stop:function(e,t){var n=this;if(n._state!=="loaded"||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(e)}}),n;for(var o=n._getSoundIds(e),l=0;l"u"?_._node.bufferSource.noteOff(0):_._node.bufferSource.stop(0),n._cleanBuffer(_._node)):(!isNaN(_._node.duration)||_._node.duration===1/0)&&(_._node.currentTime=_._start||0,_._node.pause(),_._node.duration===1/0&&n._clearSound(_._node))),t||n._emit("stop",_._id))}return n},mute:function(e,t){var n=this;if(n._state!=="loaded"||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(e,t)}}),n;if(typeof t>"u")if(typeof e=="boolean")n._muted=e;else return n._muted;for(var o=n._getSoundIds(t),l=0;l"u"){var l=e._getSoundIds(),_=l.indexOf(t[0]);_>=0?o=parseInt(t[0],10):n=parseFloat(t[0])}else t.length>=2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));var a;if(typeof n<"u"&&n>=0&&n<=1){if(e._state!=="loaded"||e._playLock)return e._queue.push({event:"volume",action:function(){e.volume.apply(e,t)}}),e;typeof o>"u"&&(e._volume=n),o=e._getSoundIds(o);for(var f=0;f"u")}}return l},_startFadeInterval:function(e,t,n,o,l,_){var a=this,f=t,m=n-t,y=Math.abs(m/.01),b=Math.max(4,y>0?o/y:o),T=Date.now();e._fadeTo=n,e._interval=setInterval(function(){var k=(Date.now()-T)/o;T=Date.now(),f+=m*k,f=Math.round(f*100)/100,m<0?f=Math.max(n,f):f=Math.min(n,f),a._webAudio?e._volume=f:a.volume(f,e._id,!0),_&&(a._volume=f),(nt&&f>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(n,e._id),a._emit("fade",e._id))},b)},_stopFade:function(e){var t=this,n=t._soundById(e);return n&&n._interval&&(t._webAudio&&n._node.gain.cancelScheduledValues(r.ctx.currentTime),clearInterval(n._interval),n._interval=null,t.volume(n._fadeTo,e),n._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e=this,t=arguments,n,o,l;if(t.length===0)return e._loop;if(t.length===1)if(typeof t[0]=="boolean")n=t[0],e._loop=n;else return l=e._soundById(parseInt(t[0],10)),l?l._loop:!1;else t.length===2&&(n=t[0],o=parseInt(t[1],10));for(var _=e._getSoundIds(o),a=0;a<_.length;a++)l=e._soundById(_[a]),l&&(l._loop=n,e._webAudio&&l._node&&l._node.bufferSource&&(l._node.bufferSource.loop=n,n&&(l._node.bufferSource.loopStart=l._start||0,l._node.bufferSource.loopEnd=l._stop,e.playing(_[a])&&(e.pause(_[a],!0),e.play(_[a],!0)))));return e},rate:function(){var e=this,t=arguments,n,o;if(t.length===0)o=e._sounds[0]._id;else if(t.length===1){var l=e._getSoundIds(),_=l.indexOf(t[0]);_>=0?o=parseInt(t[0],10):n=parseFloat(t[0])}else t.length===2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));var a;if(typeof n=="number"){if(e._state!=="loaded"||e._playLock)return e._queue.push({event:"rate",action:function(){e.rate.apply(e,t)}}),e;typeof o>"u"&&(e._rate=n),o=e._getSoundIds(o);for(var f=0;f=0?o=parseInt(t[0],10):e._sounds.length&&(o=e._sounds[0]._id,n=parseFloat(t[0]))}else t.length===2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));if(typeof o>"u")return 0;if(typeof n=="number"&&(e._state!=="loaded"||e._playLock))return e._queue.push({event:"seek",action:function(){e.seek.apply(e,t)}}),e;var a=e._soundById(o);if(a)if(typeof n=="number"&&n>=0){var f=e.playing(o);f&&e.pause(o,!0),a._seek=n,a._ended=!1,e._clearTimer(o),!e._webAudio&&a._node&&!isNaN(a._node.duration)&&(a._node.currentTime=n);var m=function(){f&&e.play(o,!0),e._emit("seek",o)};if(f&&!e._webAudio){var y=function(){e._playLock?setTimeout(y,0):m()};setTimeout(y,0)}else m()}else if(e._webAudio){var b=e.playing(o)?r.ctx.currentTime-a._playStart:0,T=a._rateSeek?a._rateSeek-a._seek:0;return a._seek+(T+b*Math.abs(a._rate))}else return a._node.currentTime;return e},playing:function(e){var t=this;if(typeof e=="number"){var n=t._soundById(e);return n?!n._paused:!1}for(var o=0;o=0&&r._howls.splice(o,1);var l=!0;for(n=0;n=0){l=!1;break}return d&&l&&delete d[e._src],r.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,o){var l=this,_=l["_on"+e];return typeof t=="function"&&_.push(o?{id:n,fn:t,once:o}:{id:n,fn:t}),l},off:function(e,t,n){var o=this,l=o["_on"+e],_=0;if(typeof t=="number"&&(n=t,t=null),t||n)for(_=0;_=0;_--)(!l[_].id||l[_].id===t||e==="load")&&(setTimeout((function(a){a.call(this,t,n)}).bind(o,l[_].fn),0),l[_].once&&o.off(e,l[_].fn,l[_].id));return o._loadQueue(e),o},_loadQueue:function(e){var t=this;if(t._queue.length>0){var n=t._queue[0];n.event===e&&(t._queue.shift(),t._loadQueue()),e||n.action()}return t},_ended:function(e){var t=this,n=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime=0;o--){if(n<=t)return;e._sounds[o]._ended&&(e._webAudio&&e._sounds[o]._node&&e._sounds[o]._node.disconnect(0),e._sounds.splice(o,1),n--)}}},_getSoundIds:function(e){var t=this;if(typeof e>"u"){for(var n=[],o=0;o=0;if(!e.bufferSource)return t;if(r._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),n))try{e.bufferSource.buffer=r._scratchBuffer}catch{}return e.bufferSource=null,t},_clearSound:function(e){var t=/MSIE |Trident\//.test(r._navigator&&r._navigator.userAgent);t||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var i=function(e){this._parent=e,this.init()};i.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++r._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,n=r._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),e._node.gain.setValueAtTime(n,r.ctx.currentTime),e._node.paused=!0,e._node.connect(r.masterGain)):r.noAudio||(e._node=r._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(r._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=t._preload===!0?"auto":t._preload,e._node.volume=n*r.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++r._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(e._node.duration*10)/10,Object.keys(t._sprite).length===0&&(t._sprite={__default:[0,t._duration*1e3]}),t._state!=="loaded"&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(r._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(e._node.duration*10)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=t._duration*1e3),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var d={},c=function(e){var t=e._src;if(d[t]){e._duration=d[t].duration,s(e);return}if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),o=new Uint8Array(n.length),l=0;l0?(d[t._src]=l,s(t,l)):n()};typeof Promise<"u"&&r.ctx.decodeAudioData.length===1?r.ctx.decodeAudioData(e).then(o).catch(n):r.ctx.decodeAudioData(e,o,n)},s=function(e,t){t&&!e._duration&&(e._duration=t.duration),Object.keys(e._sprite).length===0&&(e._sprite={__default:[0,e._duration*1e3]}),e._state!=="loaded"&&(e._state="loaded",e._emit("load"),e._loadQueue())},A=function(){if(r.usingWebAudio){try{typeof AudioContext<"u"?r.ctx=new AudioContext:typeof webkitAudioContext<"u"?r.ctx=new webkitAudioContext:r.usingWebAudio=!1}catch{r.usingWebAudio=!1}r.ctx||(r.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(r._navigator&&r._navigator.platform),t=r._navigator&&r._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=t?parseInt(t[1],10):null;if(e&&n&&n<9){var o=/safari/.test(r._navigator&&r._navigator.userAgent.toLowerCase());r._navigator&&!o&&(r.usingWebAudio=!1)}r.usingWebAudio&&(r.masterGain=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),r.masterGain.gain.setValueAtTime(r._muted?0:r._volume,r.ctx.currentTime),r.masterGain.connect(r.ctx.destination)),r._setup()}};g.Howler=r,g.Howl=u,typeof S<"u"?(S.HowlerGlobal=w,S.Howler=r,S.Howl=u,S.Sound=i):typeof window<"u"&&(window.HowlerGlobal=w,window.Howler=r,window.Howl=u,window.Sound=i)})();/*! + */(function(b){(function(){var g=function(){this.init()};g.prototype={init:function(){var e=this||r;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator=typeof window<"u"&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var t=this||r;if(e=parseFloat(e),t.ctx||A(),typeof e<"u"&&e>=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,r.ctx.currentTime);for(var n=0;n=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&typeof e.ctx.close<"u"&&(e.ctx.close(),e.ctx=null,A()),e},codecs:function(e){return(this||r)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||r;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if(typeof Audio<"u")try{var t=new Audio;typeof t.oncanplaythrough>"u"&&(e._canPlayEvent="canplay")}catch{e.noAudio=!0}else e.noAudio=!0;try{var t=new Audio;t.muted&&(e.noAudio=!0)}catch{}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||r,t=null;try{t=typeof Audio<"u"?new Audio:null}catch{return e}if(!t||typeof t.canPlayType!="function")return e;var n=t.canPlayType("audio/mpeg;").replace(/^no$/,""),o=e._navigator?e._navigator.userAgent:"",_=o.match(/OPR\/(\d+)/g),l=_&&parseInt(_[0].split("/")[1],10)<33,a=o.indexOf("Safari")!==-1&&o.indexOf("Chrome")===-1,f=o.match(/Version\/(.*?) /),m=a&&f&&parseInt(f[1],10)<15;return e._codecs={mp3:!!(!l&&(n||t.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!n,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!m&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!m&&t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||r;if(!(e._audioUnlocked||!e.ctx)){e._audioUnlocked=!1,e.autoUnlock=!1,!e._mobileUnloaded&&e.ctx.sampleRate!==44100&&(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(;e._html5AudioPool.length"u"?m.noteOn(0):m.start(0),typeof e.ctx.resume=="function"&&e.ctx.resume(),m.onended=function(){m.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var y=0;y"u"||!r.usingWebAudio)){for(var t=0;t"u"||!r.usingWebAudio))return e.state==="running"&&e.ctx.state!=="interrupted"&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):e.state==="suspended"||e.state==="running"&&e.ctx.state==="interrupted"?(e.ctx.resume().then(function(){e.state="running";for(var t=0;t"u"&&(e="__default",!n._playLock)){for(var _=0,l=0;l0?a._seek:n._sprite[e][0]/1e3),y=Math.max(0,(n._sprite[e][0]+n._sprite[e][1])/1e3-m),w=y*1e3/Math.abs(a._rate),T=n._sprite[e][0]/1e3,k=(n._sprite[e][0]+n._sprite[e][1])/1e3;a._sprite=e,a._ended=!1;var I=function(){a._paused=!1,a._seek=m,a._start=T,a._stop=k,a._loop=!!(a._loop||n._sprite[e][2])};if(m>=k){n._ended(a);return}var v=a._node;if(n._webAudio){var H=function(){n._playLock=!1,I(),n._refreshBuffer(a);var x=a._muted||n._muted?0:a._volume;v.gain.setValueAtTime(x,r.ctx.currentTime),a._playStart=r.ctx.currentTime,typeof v.bufferSource.start>"u"?a._loop?v.bufferSource.noteGrainOn(0,m,86400):v.bufferSource.noteGrainOn(0,m,y):a._loop?v.bufferSource.start(0,m,86400):v.bufferSource.start(0,m,y),w!==1/0&&(n._endTimers[a._id]=setTimeout(n._ended.bind(n,a),w)),t||setTimeout(function(){n._emit("play",a._id),n._loadQueue()},0)};r.state==="running"&&r.ctx.state!=="interrupted"?H():(n._playLock=!0,n.once("resume",H),n._clearTimer(a._id))}else{var P=function(){v.currentTime=m,v.muted=a._muted||n._muted||r._muted||v.muted,v.volume=a._volume*r.volume(),v.playbackRate=a._rate;try{var x=v.play();if(x&&typeof Promise<"u"&&(x instanceof Promise||typeof x.then=="function")?(n._playLock=!0,I(),x.then(function(){n._playLock=!1,v._unlocked=!0,t?n._loadQueue():n._emit("play",a._id)}).catch(function(){n._playLock=!1,n._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),a._ended=!0,a._paused=!0})):t||(n._playLock=!1,I(),n._emit("play",a._id)),v.playbackRate=a._rate,v.paused){n._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}e!=="__default"||a._loop?n._endTimers[a._id]=setTimeout(n._ended.bind(n,a),w):(n._endTimers[a._id]=function(){n._ended(a),v.removeEventListener("ended",n._endTimers[a._id],!1)},v.addEventListener("ended",n._endTimers[a._id],!1))}catch(B){n._emit("playerror",a._id,B)}};v.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(v.src=n._src,v.load());var F=window&&window.ejecta||!v.readyState&&r._navigator.isCocoonJS;if(v.readyState>=3||F)P();else{n._playLock=!0,n._state="loading";var M=function(){n._state="loaded",P(),v.removeEventListener(r._canPlayEvent,M,!1)};v.addEventListener(r._canPlayEvent,M,!1),n._clearTimer(a._id)}}return a._id},pause:function(e){var t=this;if(t._state!=="loaded"||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),o=0;o"u"?_._node.bufferSource.noteOff(0):_._node.bufferSource.stop(0),t._cleanBuffer(_._node)}else(!isNaN(_._node.duration)||_._node.duration===1/0)&&_._node.pause();arguments[1]||t._emit("pause",_?_._id:null)}return t},stop:function(e,t){var n=this;if(n._state!=="loaded"||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(e)}}),n;for(var o=n._getSoundIds(e),_=0;_"u"?l._node.bufferSource.noteOff(0):l._node.bufferSource.stop(0),n._cleanBuffer(l._node)):(!isNaN(l._node.duration)||l._node.duration===1/0)&&(l._node.currentTime=l._start||0,l._node.pause(),l._node.duration===1/0&&n._clearSound(l._node))),t||n._emit("stop",l._id))}return n},mute:function(e,t){var n=this;if(n._state!=="loaded"||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(e,t)}}),n;if(typeof t>"u")if(typeof e=="boolean")n._muted=e;else return n._muted;for(var o=n._getSoundIds(t),_=0;_"u"){var _=e._getSoundIds(),l=_.indexOf(t[0]);l>=0?o=parseInt(t[0],10):n=parseFloat(t[0])}else t.length>=2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));var a;if(typeof n<"u"&&n>=0&&n<=1){if(e._state!=="loaded"||e._playLock)return e._queue.push({event:"volume",action:function(){e.volume.apply(e,t)}}),e;typeof o>"u"&&(e._volume=n),o=e._getSoundIds(o);for(var f=0;f"u")}}return _},_startFadeInterval:function(e,t,n,o,_,l){var a=this,f=t,m=n-t,y=Math.abs(m/.01),w=Math.max(4,y>0?o/y:o),T=Date.now();e._fadeTo=n,e._interval=setInterval(function(){var k=(Date.now()-T)/o;T=Date.now(),f+=m*k,f=Math.round(f*100)/100,m<0?f=Math.max(n,f):f=Math.min(n,f),a._webAudio?e._volume=f:a.volume(f,e._id,!0),l&&(a._volume=f),(nt&&f>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(n,e._id),a._emit("fade",e._id))},w)},_stopFade:function(e){var t=this,n=t._soundById(e);return n&&n._interval&&(t._webAudio&&n._node.gain.cancelScheduledValues(r.ctx.currentTime),clearInterval(n._interval),n._interval=null,t.volume(n._fadeTo,e),n._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e=this,t=arguments,n,o,_;if(t.length===0)return e._loop;if(t.length===1)if(typeof t[0]=="boolean")n=t[0],e._loop=n;else return _=e._soundById(parseInt(t[0],10)),_?_._loop:!1;else t.length===2&&(n=t[0],o=parseInt(t[1],10));for(var l=e._getSoundIds(o),a=0;a=0?o=parseInt(t[0],10):n=parseFloat(t[0])}else t.length===2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));var a;if(typeof n=="number"){if(e._state!=="loaded"||e._playLock)return e._queue.push({event:"rate",action:function(){e.rate.apply(e,t)}}),e;typeof o>"u"&&(e._rate=n),o=e._getSoundIds(o);for(var f=0;f=0?o=parseInt(t[0],10):e._sounds.length&&(o=e._sounds[0]._id,n=parseFloat(t[0]))}else t.length===2&&(n=parseFloat(t[0]),o=parseInt(t[1],10));if(typeof o>"u")return 0;if(typeof n=="number"&&(e._state!=="loaded"||e._playLock))return e._queue.push({event:"seek",action:function(){e.seek.apply(e,t)}}),e;var a=e._soundById(o);if(a)if(typeof n=="number"&&n>=0){var f=e.playing(o);f&&e.pause(o,!0),a._seek=n,a._ended=!1,e._clearTimer(o),!e._webAudio&&a._node&&!isNaN(a._node.duration)&&(a._node.currentTime=n);var m=function(){f&&e.play(o,!0),e._emit("seek",o)};if(f&&!e._webAudio){var y=function(){e._playLock?setTimeout(y,0):m()};setTimeout(y,0)}else m()}else if(e._webAudio){var w=e.playing(o)?r.ctx.currentTime-a._playStart:0,T=a._rateSeek?a._rateSeek-a._seek:0;return a._seek+(T+w*Math.abs(a._rate))}else return a._node.currentTime;return e},playing:function(e){var t=this;if(typeof e=="number"){var n=t._soundById(e);return n?!n._paused:!1}for(var o=0;o=0&&r._howls.splice(o,1);var _=!0;for(n=0;n=0){_=!1;break}return d&&_&&delete d[e._src],r.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,o){var _=this,l=_["_on"+e];return typeof t=="function"&&l.push(o?{id:n,fn:t,once:o}:{id:n,fn:t}),_},off:function(e,t,n){var o=this,_=o["_on"+e],l=0;if(typeof t=="number"&&(n=t,t=null),t||n)for(l=0;l<_.length;l++){var a=n===_[l].id;if(t===_[l].fn&&a||!t&&a){_.splice(l,1);break}}else if(e)o["_on"+e]=[];else{var f=Object.keys(o);for(l=0;l=0;l--)(!_[l].id||_[l].id===t||e==="load")&&(setTimeout((function(a){a.call(this,t,n)}).bind(o,_[l].fn),0),_[l].once&&o.off(e,_[l].fn,_[l].id));return o._loadQueue(e),o},_loadQueue:function(e){var t=this;if(t._queue.length>0){var n=t._queue[0];n.event===e&&(t._queue.shift(),t._loadQueue()),e||n.action()}return t},_ended:function(e){var t=this,n=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime=0;o--){if(n<=t)return;e._sounds[o]._ended&&(e._webAudio&&e._sounds[o]._node&&e._sounds[o]._node.disconnect(0),e._sounds.splice(o,1),n--)}}},_getSoundIds:function(e){var t=this;if(typeof e>"u"){for(var n=[],o=0;o=0;if(!e.bufferSource)return t;if(r._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),n))try{e.bufferSource.buffer=r._scratchBuffer}catch{}return e.bufferSource=null,t},_clearSound:function(e){var t=/MSIE |Trident\//.test(r._navigator&&r._navigator.userAgent);t||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var i=function(e){this._parent=e,this.init()};i.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++r._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,n=r._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),e._node.gain.setValueAtTime(n,r.ctx.currentTime),e._node.paused=!0,e._node.connect(r.masterGain)):r.noAudio||(e._node=r._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(r._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=t._preload===!0?"auto":t._preload,e._node.volume=n*r.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++r._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(e._node.duration*10)/10,Object.keys(t._sprite).length===0&&(t._sprite={__default:[0,t._duration*1e3]}),t._state!=="loaded"&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(r._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(e._node.duration*10)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=t._duration*1e3),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var d={},c=function(e){var t=e._src;if(d[t]){e._duration=d[t].duration,s(e);return}if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),o=new Uint8Array(n.length),_=0;_0?(d[t._src]=_,s(t,_)):n()};typeof Promise<"u"&&r.ctx.decodeAudioData.length===1?r.ctx.decodeAudioData(e).then(o).catch(n):r.ctx.decodeAudioData(e,o,n)},s=function(e,t){t&&!e._duration&&(e._duration=t.duration),Object.keys(e._sprite).length===0&&(e._sprite={__default:[0,e._duration*1e3]}),e._state!=="loaded"&&(e._state="loaded",e._emit("load"),e._loadQueue())},A=function(){if(r.usingWebAudio){try{typeof AudioContext<"u"?r.ctx=new AudioContext:typeof webkitAudioContext<"u"?r.ctx=new webkitAudioContext:r.usingWebAudio=!1}catch{r.usingWebAudio=!1}r.ctx||(r.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(r._navigator&&r._navigator.platform),t=r._navigator&&r._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=t?parseInt(t[1],10):null;if(e&&n&&n<9){var o=/safari/.test(r._navigator&&r._navigator.userAgent.toLowerCase());r._navigator&&!o&&(r.usingWebAudio=!1)}r.usingWebAudio&&(r.masterGain=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),r.masterGain.gain.setValueAtTime(r._muted?0:r._volume,r.ctx.currentTime),r.masterGain.connect(r.ctx.destination)),r._setup()}};b.Howler=r,b.Howl=u,typeof S<"u"?(S.HowlerGlobal=g,S.Howler=r,S.Howl=u,S.Sound=i):typeof window<"u"&&(window.HowlerGlobal=g,window.Howler=r,window.Howl=u,window.Sound=i)})();/*! * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported. * * howler.js v2.2.4 @@ -16,4 +16,4 @@ function L(g,w){for(var r=0;r=0;i--)u._howls[i].stereo(r);return u},HowlerGlobal.prototype.pos=function(r,u,i){var d=this;if(!d.ctx||!d.ctx.listener)return d;if(u=typeof u!="number"?d._pos[1]:u,i=typeof i!="number"?d._pos[2]:i,typeof r=="number")d._pos=[r,u,i],typeof d.ctx.listener.positionX<"u"?(d.ctx.listener.positionX.setTargetAtTime(d._pos[0],Howler.ctx.currentTime,.1),d.ctx.listener.positionY.setTargetAtTime(d._pos[1],Howler.ctx.currentTime,.1),d.ctx.listener.positionZ.setTargetAtTime(d._pos[2],Howler.ctx.currentTime,.1)):d.ctx.listener.setPosition(d._pos[0],d._pos[1],d._pos[2]);else return d._pos;return d},HowlerGlobal.prototype.orientation=function(r,u,i,d,c,h){var p=this;if(!p.ctx||!p.ctx.listener)return p;var s=p._orientation;if(u=typeof u!="number"?s[1]:u,i=typeof i!="number"?s[2]:i,d=typeof d!="number"?s[3]:d,c=typeof c!="number"?s[4]:c,h=typeof h!="number"?s[5]:h,typeof r=="number")p._orientation=[r,u,i,d,c,h],typeof p.ctx.listener.forwardX<"u"?(p.ctx.listener.forwardX.setTargetAtTime(r,Howler.ctx.currentTime,.1),p.ctx.listener.forwardY.setTargetAtTime(u,Howler.ctx.currentTime,.1),p.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),p.ctx.listener.upX.setTargetAtTime(d,Howler.ctx.currentTime,.1),p.ctx.listener.upY.setTargetAtTime(c,Howler.ctx.currentTime,.1),p.ctx.listener.upZ.setTargetAtTime(h,Howler.ctx.currentTime,.1)):p.ctx.listener.setOrientation(r,u,i,d,c,h);else return s;return p},Howl.prototype.init=function(r){return function(u){var i=this;return i._orientation=u.orientation||[1,0,0],i._stereo=u.stereo||null,i._pos=u.pos||null,i._pannerAttr={coneInnerAngle:typeof u.coneInnerAngle<"u"?u.coneInnerAngle:360,coneOuterAngle:typeof u.coneOuterAngle<"u"?u.coneOuterAngle:360,coneOuterGain:typeof u.coneOuterGain<"u"?u.coneOuterGain:0,distanceModel:typeof u.distanceModel<"u"?u.distanceModel:"inverse",maxDistance:typeof u.maxDistance<"u"?u.maxDistance:1e4,panningModel:typeof u.panningModel<"u"?u.panningModel:"HRTF",refDistance:typeof u.refDistance<"u"?u.refDistance:1,rolloffFactor:typeof u.rolloffFactor<"u"?u.rolloffFactor:1},i._onstereo=u.onstereo?[{fn:u.onstereo}]:[],i._onpos=u.onpos?[{fn:u.onpos}]:[],i._onorientation=u.onorientation?[{fn:u.onorientation}]:[],r.call(this,u)}}(Howl.prototype.init),Howl.prototype.stereo=function(r,u){var i=this;if(!i._webAudio)return i;if(i._state!=="loaded")return i._queue.push({event:"stereo",action:function(){i.stereo(r,u)}}),i;var d=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof u>"u")if(typeof r=="number")i._stereo=r,i._pos=[r,0,0];else return i._stereo;for(var c=i._getSoundIds(u),h=0;h"u")if(typeof r=="number")c._pos=[r,u,i];else return c._pos;for(var h=c._getSoundIds(d),p=0;p"u")if(typeof r=="number")c._orientation=[r,u,i];else return c._orientation;for(var h=c._getSoundIds(d),p=0;p"u"&&(i.pannerAttr||(i.pannerAttr={coneInnerAngle:i.coneInnerAngle,coneOuterAngle:i.coneOuterAngle,coneOuterGain:i.coneOuterGain,distanceModel:i.distanceModel,maxDistance:i.maxDistance,refDistance:i.refDistance,rolloffFactor:i.rolloffFactor,panningModel:i.panningModel}),r._pannerAttr={coneInnerAngle:typeof i.pannerAttr.coneInnerAngle<"u"?i.pannerAttr.coneInnerAngle:r._coneInnerAngle,coneOuterAngle:typeof i.pannerAttr.coneOuterAngle<"u"?i.pannerAttr.coneOuterAngle:r._coneOuterAngle,coneOuterGain:typeof i.pannerAttr.coneOuterGain<"u"?i.pannerAttr.coneOuterGain:r._coneOuterGain,distanceModel:typeof i.pannerAttr.distanceModel<"u"?i.pannerAttr.distanceModel:r._distanceModel,maxDistance:typeof i.pannerAttr.maxDistance<"u"?i.pannerAttr.maxDistance:r._maxDistance,refDistance:typeof i.pannerAttr.refDistance<"u"?i.pannerAttr.refDistance:r._refDistance,rolloffFactor:typeof i.pannerAttr.rolloffFactor<"u"?i.pannerAttr.rolloffFactor:r._rolloffFactor,panningModel:typeof i.pannerAttr.panningModel<"u"?i.pannerAttr.panningModel:r._panningModel});else return c=r._soundById(parseInt(u[0],10)),c?c._pannerAttr:r._pannerAttr;else u.length===2&&(i=u[0],d=parseInt(u[1],10));for(var h=r._getSoundIds(d),p=0;p=0;i--)u._howls[i].stereo(r);return u},HowlerGlobal.prototype.pos=function(r,u,i){var d=this;if(!d.ctx||!d.ctx.listener)return d;if(u=typeof u!="number"?d._pos[1]:u,i=typeof i!="number"?d._pos[2]:i,typeof r=="number")d._pos=[r,u,i],typeof d.ctx.listener.positionX<"u"?(d.ctx.listener.positionX.setTargetAtTime(d._pos[0],Howler.ctx.currentTime,.1),d.ctx.listener.positionY.setTargetAtTime(d._pos[1],Howler.ctx.currentTime,.1),d.ctx.listener.positionZ.setTargetAtTime(d._pos[2],Howler.ctx.currentTime,.1)):d.ctx.listener.setPosition(d._pos[0],d._pos[1],d._pos[2]);else return d._pos;return d},HowlerGlobal.prototype.orientation=function(r,u,i,d,c,h){var p=this;if(!p.ctx||!p.ctx.listener)return p;var s=p._orientation;if(u=typeof u!="number"?s[1]:u,i=typeof i!="number"?s[2]:i,d=typeof d!="number"?s[3]:d,c=typeof c!="number"?s[4]:c,h=typeof h!="number"?s[5]:h,typeof r=="number")p._orientation=[r,u,i,d,c,h],typeof p.ctx.listener.forwardX<"u"?(p.ctx.listener.forwardX.setTargetAtTime(r,Howler.ctx.currentTime,.1),p.ctx.listener.forwardY.setTargetAtTime(u,Howler.ctx.currentTime,.1),p.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),p.ctx.listener.upX.setTargetAtTime(d,Howler.ctx.currentTime,.1),p.ctx.listener.upY.setTargetAtTime(c,Howler.ctx.currentTime,.1),p.ctx.listener.upZ.setTargetAtTime(h,Howler.ctx.currentTime,.1)):p.ctx.listener.setOrientation(r,u,i,d,c,h);else return s;return p},Howl.prototype.init=function(r){return function(u){var i=this;return i._orientation=u.orientation||[1,0,0],i._stereo=u.stereo||null,i._pos=u.pos||null,i._pannerAttr={coneInnerAngle:typeof u.coneInnerAngle<"u"?u.coneInnerAngle:360,coneOuterAngle:typeof u.coneOuterAngle<"u"?u.coneOuterAngle:360,coneOuterGain:typeof u.coneOuterGain<"u"?u.coneOuterGain:0,distanceModel:typeof u.distanceModel<"u"?u.distanceModel:"inverse",maxDistance:typeof u.maxDistance<"u"?u.maxDistance:1e4,panningModel:typeof u.panningModel<"u"?u.panningModel:"HRTF",refDistance:typeof u.refDistance<"u"?u.refDistance:1,rolloffFactor:typeof u.rolloffFactor<"u"?u.rolloffFactor:1},i._onstereo=u.onstereo?[{fn:u.onstereo}]:[],i._onpos=u.onpos?[{fn:u.onpos}]:[],i._onorientation=u.onorientation?[{fn:u.onorientation}]:[],r.call(this,u)}}(Howl.prototype.init),Howl.prototype.stereo=function(r,u){var i=this;if(!i._webAudio)return i;if(i._state!=="loaded")return i._queue.push({event:"stereo",action:function(){i.stereo(r,u)}}),i;var d=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof u>"u")if(typeof r=="number")i._stereo=r,i._pos=[r,0,0];else return i._stereo;for(var c=i._getSoundIds(u),h=0;h"u")if(typeof r=="number")c._pos=[r,u,i];else return c._pos;for(var h=c._getSoundIds(d),p=0;p"u")if(typeof r=="number")c._orientation=[r,u,i];else return c._orientation;for(var h=c._getSoundIds(d),p=0;p"u"&&(i.pannerAttr||(i.pannerAttr={coneInnerAngle:i.coneInnerAngle,coneOuterAngle:i.coneOuterAngle,coneOuterGain:i.coneOuterGain,distanceModel:i.distanceModel,maxDistance:i.maxDistance,refDistance:i.refDistance,rolloffFactor:i.rolloffFactor,panningModel:i.panningModel}),r._pannerAttr={coneInnerAngle:typeof i.pannerAttr.coneInnerAngle<"u"?i.pannerAttr.coneInnerAngle:r._coneInnerAngle,coneOuterAngle:typeof i.pannerAttr.coneOuterAngle<"u"?i.pannerAttr.coneOuterAngle:r._coneOuterAngle,coneOuterGain:typeof i.pannerAttr.coneOuterGain<"u"?i.pannerAttr.coneOuterGain:r._coneOuterGain,distanceModel:typeof i.pannerAttr.distanceModel<"u"?i.pannerAttr.distanceModel:r._distanceModel,maxDistance:typeof i.pannerAttr.maxDistance<"u"?i.pannerAttr.maxDistance:r._maxDistance,refDistance:typeof i.pannerAttr.refDistance<"u"?i.pannerAttr.refDistance:r._refDistance,rolloffFactor:typeof i.pannerAttr.rolloffFactor<"u"?i.pannerAttr.rolloffFactor:r._rolloffFactor,panningModel:typeof i.pannerAttr.panningModel<"u"?i.pannerAttr.panningModel:r._panningModel});else return c=r._soundById(parseInt(u[0],10)),c?c._pannerAttr:r._pannerAttr;else u.length===2&&(i=u[0],d=parseInt(u[1],10));for(var h=r._getSoundIds(d),p=0;p{const t=window.getSelection&&window.getSelection();t&&t.rangeCount&&(o.value=t.getRangeAt(0))};b(()=>{document.addEventListener("selectionchange",r,!1),a.value.addEventListener("keydown",t=>{t.key==="Enter"&&(console.log("enter"),t.preventDefault())})}),k(()=>{document.removeEventListener("selectionchange",r,!1)});const a=c(),w=t=>{const e=``;h(e);const n=a.value.innerHTML;l.value=n},l=c(),T=t=>{console.log("input",t);const e=t.target.innerHTML.toString().replace(/(\r\n)|(\n)|(
)/g,"");l.value=e},C=()=>{a.value.focus()},s=c(),x=()=>{console.log("Blur")},A=()=>{if(console.log("Focus"),s.value&&s.value.rangeCount>0&&document.createRange){const t=document.createRange();t.setStart(s.value.getRangeAt(0).startContainer,s.value.getRangeAt(0).startOffset),t.collapse(!0);const e=window.getSelection();e.removeAllRanges(),e.addRange(t)}},S=t=>{t.stopPropagation(),t.preventDefault();let e="";const n=t.originalEvent||t;n.clipboardData&&n.clipboardData.getData?e=n.clipboardData.getData("text/plain"):window.clipboardData&&window.clipboardData.getData&&(e=window.clipboardData.getData("Text")),document.queryCommandSupported("insertText")?document.execCommand("insertText",!1,e):document.execCommand("paste",!1,e)},h=t=>{let e,n;if(window.getSelection){if(e=window.getSelection(),e&&e.rangeCount===0&&o.value!==null&&e.addRange(o.value),e&&e.rangeCount&&(n=e.getRangeAt(0)),["",null,void 0].includes(n))n=d().getRangeAt(0);else{const i=document.createRange();i.selectNode(a.value);const D=n.compareBoundaryPoints(Range.START_TO_START,i),E=n.compareBoundaryPoints(Range.END_TO_END,i);D!==-1&&E!==1||(n=d().getRangeAt(0))}const u=n.createContextualFragment(t),g=u.lastChild;n.insertNode(u),g&&(n=n.cloneRange(),n.setStartAfter(g),n.collapse(!0),e.removeAllRanges(),e.addRange(n))}else document.selection&&document.selection.type!=="Control"&&document.selection.createRange().pasteHTML(t)},d=t=>{if(window.getSelection){a.value.focus();const e=window.getSelection();return e.selectAllChildren(l.value),e.collapseToEnd(),e}else if(document.selection){const e=document.selection.createRange();return e.moveToElementText(l.value),e.collapse(!1),e.select(),e}};return(t,e)=>(f(),v("div",B,[p("button",{class:"btn",onClick:e[0]||(e[0]=n=>w("TAG"))},"添加标签"),p("div",{ref_key:"inputRef",ref:a,class:"myTextArea",contenteditable:"true",placeholder:"请输入",onClick:C,onInput:T,onBlur:x,onFocus:A,onPaste:S},null,544)]))}}),H=_(N,[["__scopeId","data-v-a92c9277"]]),I={class:"input-tag-container"},L=m({__name:"index",setup(R){return(o,r)=>(f(),v("div",I,[y(H)]))}}),$=_(L,[["__scopeId","data-v-061346c1"]]);export{$ as default}; diff --git a/static/js/index-B1KFlCeS.js b/static/js/index-B1KFlCeS.js new file mode 100644 index 0000000..908469f --- /dev/null +++ b/static/js/index-B1KFlCeS.js @@ -0,0 +1,4 @@ +import{d as oe,i as Mt,c as ae,k as he,z as ce,A as le,a as G,F as xt,r as Tt,o as J,_ as ue}from"./index-By46uPpP.js";import{g as de,c as _e}from"./commonjsHelpers-Cpj98o6Y.js";var dt;const X=typeof window>"u"?global:window,qt=X.performance&&(()=>X.performance.now())||(()=>Date.now()),_t=X.requestAnimationFrame||(i=>setTimeout(()=>i(qt()),1e3/60)),Rt=X.cancelAnimationFrame||clearTimeout;function it(i){return i[i.length-1]}const vt=(i,t)=>i<0?t+i:i,fe=(i,t)=>i[vt(t,i.length)];function Ut(i,t){const e={...i};for(const r in t){const s=i[r],n=t[r];s!==n&&(s&&n&&typeof s=="object"&&typeof n=="object"&&!Array.isArray(n)?e[r]=Ut(s,n):e[r]=n)}return e}function ge(i,t){const e=i.split("."),r={};let s=r;for(let n=0;nr+e,0)/i.length}function A(i){const t=i.toUpperCase().trim();if(/^#([A-F0-9]{3}){1,2}$/.test(t)){let r=t.substring(1).split("");r.length===3&&(r=[r[0],r[0],r[1],r[1],r[2],r[2]]);const s=`${r.join("")}`;return{r:parseInt(s.slice(0,2),16),g:parseInt(s.slice(2,4),16),b:parseInt(s.slice(4,6),16),a:1}}const e=t.match(/^RGBA?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d*\.?\d+))?\)$/);if(e)return{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10),a:parseFloat(e[4]||1,10)};throw new Error(`Invalid color: ${i}`)}const pe=i=>i.replace(/^\s+/,"").replace(/\s+$/,"");function ct(i,t){const e={};for(let r=0;r0||ft.indexOf("Trident/")>0||ft.indexOf("Edge/")>0,Vt=()=>{};class ve{constructor(t,e,r=Vt){this._mutationChains=[],this._onStateChange=r,this.state={options:{drawingFadeDuration:e.drawingFadeDuration,drawingWidth:e.drawingWidth,drawingColor:A(e.drawingColor),strokeColor:A(e.strokeColor),outlineColor:A(e.outlineColor),radicalColor:A(e.radicalColor||e.strokeColor),highlightColor:A(e.highlightColor)},character:{main:{opacity:e.showCharacter?1:0,strokes:{}},outline:{opacity:e.showOutline?1:0,strokes:{}},highlight:{opacity:1,strokes:{}}},userStrokes:null};for(let s=0;ss.scope);return this.cancelMutations(r),new Promise(s=>{const n={_isActive:!0,_index:0,_resolve:s,_mutations:t,_loop:e.loop,_scopes:r};this._mutationChains.push(n),this._run(n)})}_run(t){if(!t._isActive)return;const e=t._mutations;if(t._index>=e.length)if(t._loop)t._index=0;else{t._isActive=!1,this._mutationChains=this._mutationChains.filter(s=>s!==t),t._resolve({canceled:!1});return}t._mutations[t._index].run(this).then(()=>{t._isActive&&(t._index++,this._run(t))})}_getActiveMutations(){return this._mutationChains.map(t=>t._mutations[t._index])}pauseAll(){this._getActiveMutations().forEach(t=>t.pause())}resumeAll(){this._getActiveMutations().forEach(t=>t.resume())}cancelMutations(t){for(const e of this._mutationChains)for(const r of e._scopes)for(const s of t)(r.startsWith(s)||s.startsWith(r))&&this._cancelMutationChain(e)}cancelAll(){this.cancelMutations([""])}_cancelMutationChain(t){var e;t._isActive=!1;for(let r=t._index;rr!==t)}}const q=(i,t)=>({x:i.x-t.x,y:i.y-t.y}),nt=i=>Math.sqrt(Math.pow(i.x,2)+Math.pow(i.y,2)),O=(i,t)=>nt(q(i,t)),Se=(i,t)=>i.x===t.x&&i.y===t.y,mt=(i,t=1)=>{const e=t*10;return{x:Math.round(e*i.x)/e,y:Math.round(e*i.y)/e}},St=i=>{let t=i[0];return i.slice(1).reduce((r,s)=>{const n=O(s,t);return t=s,r+n},0)},ye=(i,t)=>(i.x*t.x+i.y*t.y)/nt(i)/nt(t),yt=(i,t,e)=>{const r=q(t,i),s=e/nt(r);return{x:t.x+s*r.x,y:t.y+s*r.y}},we=(i,t)=>{const e=i.length>=t.length?i:t,r=i.length>=t.length?t:i,s=(a,o,h,d)=>{if(a===0&&o===0)return O(e[0],r[0]);if(a>0&&o===0)return Math.max(h[0],O(e[a],r[0]));const k=d[d.length-1];return a===0&&o>0?Math.max(k,O(e[0],r[o])):Math.max(Math.min(h[o],h[o-1],k),O(e[a],r[o]))};let n=[];for(let a=0;a{const e=i.slice(0,1);for(const r of i.slice(1)){const s=e[e.length-1],n=O(r,s);if(n>t){const a=Math.ceil(n/t),o=n/a;for(let h=0;h{const r=St(i)/(t-1),s=[i[0]],n=it(i),a=i.slice(1);for(let o=0;o{const t=$e(i),e=rt(t.map(h=>h.x)),r=rt(t.map(h=>h.y)),s={x:e,y:r},n=t.map(h=>q(h,s)),a=Math.sqrt(rt([Math.pow(n[0].x,2)+Math.pow(n[0].y,2),Math.pow(it(n).x,2)+Math.pow(it(n).y,2)])),o=n.map(h=>({x:h.x/a,y:h.y/a}));return Ce(o)},De=(i,t)=>i.map(e=>({x:Math.cos(t)*e.x-Math.sin(t)*e.y,y:Math.sin(t)*e.x+Math.cos(t)*e.y})),Pe=i=>{if(i.length<3)return i;const t=[i[0],i[1]];return i.slice(2).forEach(e=>{const r=t.length,s=q(e,t[r-1]),n=q(t[r-1],t[r-2]);s.y*n.x-s.x*n.y===0&&t.pop(),t.push(e)}),t};function wt(i,t=!1){const e=mt(i[0]),r=i.slice(1);let s=`M ${e.x} ${e.y}`;return r.forEach(n=>{const a=mt(n);s+=` L ${a.x} ${a.y}`}),t&&(s+="Z"),s}const Yt=(i,t)=>{const e=Pe(i);if(e.length<2)return e;const r=e[1],s=e[0],n=yt(r,s,t),a=e.slice(1);return a.unshift(n),a};class Me{constructor(t,e,r,s=!1){this.path=t,this.points=e,this.strokeNum=r,this.isInRadical=s}getStartingPoint(){return this.points[0]}getEndingPoint(){return this.points[this.points.length-1]}getLength(){return St(this.points)}getVectors(){let t=this.points[0];return this.points.slice(1).map(r=>{const s=q(r,t);return t=r,s})}getDistance(t){const e=this.points.map(r=>O(r,t));return Math.min(...e)}getAverageDistance(t){return t.reduce((r,s)=>r+this.getDistance(s),0)/t.length}}class xe{constructor(t,e){this.symbol=t,this.strokes=e}}function Te({radStrokes:i,strokes:t,medians:e}){const r=s=>{var n;return((n=i==null?void 0:i.indexOf(s))!==null&&n!==void 0?n:-1)>=0};return t.map((s,n)=>{const a=e[n].map(o=>{const[h,d]=o;return{x:h,y:d}});return new Me(s,a,n,r(n))})}function Re(i,t){const e=Te(t);return new xe(i,e)}const Oe=[{x:0,y:-124},{x:1024,y:900}],[ot,Nt]=Oe,bt=Nt.x-ot.x,Lt=Nt.y-ot.y;class Et{constructor(t){const{padding:e,width:r,height:s}=t;this.padding=e,this.width=r,this.height=s;const n=r-2*e,a=s-2*e,o=n/bt,h=a/Lt;this.scale=Math.min(o,h);const d=e+(n-this.scale*bt)/2,k=e+(a-this.scale*Lt)/2;this.xOffset=-1*ot.x*this.scale+d,this.yOffset=-1*ot.y*this.scale+k}convertExternalPoint(t){const e=(t.x-this.xOffset)/this.scale,r=(this.height-this.yOffset-t.y)/this.scale;return{x:e,y:r}}}const Ae=0,Ht=250,be=.4,Le=.35;function Ee(i,t,e,r={}){const s=t.strokes,n=We(i.points);if(n.length<2)return{isMatch:!1,meta:{isStrokeBackwards:!1}};const{isMatch:a,meta:o,avgDist:h}=st(n,s[e],r);if(!a)return{isMatch:a,meta:o};const d=s.slice(e+1);let k=h;for(let f=0;f{const r=O(t.getStartingPoint(),i[0]),s=O(t.getEndingPoint(),i[i.length-1]);return r<=Ht*e&&s<=Ht*e},Fe=i=>{const t=[];let e=i[0];return i.slice(1).forEach(r=>{t.push(q(r,e)),e=r}),t},Ie=(i,t)=>{const e=Fe(i),r=t.getVectors(),s=e.map(a=>{const o=r.map(h=>ye(h,a));return Math.max(...o)});return rt(s)>Ae},ze=(i,t,e)=>e*(St(i)+25)/(t.getLength()+25)>=Le,We=i=>{if(i.length<2)return i;const[t,...e]=i,r=[t];for(const s of e)Se(s,r[r.length-1])||r.push(s);return r},Be=[Math.PI/16,Math.PI/32,0,-1*Math.PI/32,-1*Math.PI/16],qe=(i,t,e)=>{const r=At(i),s=At(t);let n=1/0;return Be.forEach(a=>{const o=we(r,De(s,a));o{const{leniency:r=1,isOutlineVisible:s=!1,checkBackwards:n=!0,averageDistanceThreshold:a=350}=e,o=t.getAverageDistance(i),h=s||t.strokeNum>0?.5:1,d=o<=a*h*r;if(!d)return{isMatch:!1,avgDist:o,meta:{isStrokeBackwards:!1}};const k=He(i,t,r),f=Ie(i,t),$=qe(i,t.points,r),S=ze(i,t,r),M=d&&k&&f&&$&&S;return n&&!M&&st([...i].reverse(),t,{...e,checkBackwards:!1}).isMatch?{isMatch:M,avgDist:o,meta:{isStrokeBackwards:!0}}:{isMatch:M,avgDist:o,meta:{isStrokeBackwards:!1}}};class Ue{constructor(t,e,r){this.id=t,this.points=[e],this.externalPoints=[r]}appendPoint(t,e){this.points.push(t),this.externalPoints.push(e)}}class je{constructor(t){this._duration=t,this._startTime=null,this._paused=!1,this.scope=`delay.${t}`}run(){return this._startTime=qt(),this._runningPromise=new Promise(t=>{this._resolve=t,this._timeout=setTimeout(()=>this.cancel(),this._duration)}),this._runningPromise}pause(){if(this._paused)return;const t=performance.now()-(this._startTime||0);this._duration=Math.max(0,this._duration-t),clearTimeout(this._timeout),this._paused=!0}resume(){this._paused&&(this._startTime=performance.now(),this._timeout=setTimeout(()=>this.cancel(),this._duration),this._paused=!1)}cancel(){clearTimeout(this._timeout),this._resolve&&this._resolve(),this._resolve=void 0}}class w{constructor(t,e,r={}){this._tick=s=>{if(this._startPauseTime!==null)return;const n=Math.min(1,(s-this._startTime-this._pausedDuration)/this._duration);if(n===1)this._renderState.updateState(this._values),this._frameHandle=void 0,this.cancel(this._renderState);else{const a=Ve(n),o=Qt(this._startState,this._values,a);this._renderState.updateState(o),this._frameHandle=_t(this._tick)}},this.scope=t,this._valuesOrCallable=e,this._duration=r.duration||0,this._force=r.force,this._pausedDuration=0,this._startPauseTime=null}run(t){return this._values||this._inflateValues(t),this._duration===0&&t.updateState(this._values),this._duration===0||Zt(t.state,this._values)?Promise.resolve():(this._renderState=t,this._startState=t.state,this._startTime=performance.now(),this._frameHandle=_t(this._tick),new Promise(e=>{this._resolve=e}))}_inflateValues(t){let e=this._valuesOrCallable;typeof this._valuesOrCallable=="function"&&(e=this._valuesOrCallable(t.state)),this._values=ge(this.scope,e)}pause(){this._startPauseTime===null&&(this._frameHandle&&Rt(this._frameHandle),this._startPauseTime=performance.now())}resume(){this._startPauseTime!==null&&(this._frameHandle=_t(this._tick),this._pausedDuration+=performance.now()-this._startPauseTime,this._startPauseTime=null)}cancel(t){var e;(e=this._resolve)===null||e===void 0||e.call(this),this._resolve=void 0,Rt(this._frameHandle||-1),this._frameHandle=void 0,this._force&&(this._values||this._inflateValues(t),t.updateState(this._values))}}w.Delay=je;function Qt(i,t,e){const r={};for(const s in t){const n=t[s],a=i==null?void 0:i[s];typeof a=="number"&&typeof n=="number"&&n>=0?r[s]=e*(n-a)+a:r[s]=Qt(a,n,e)}return r}function Zt(i,t){for(const e in t){const r=t[e],s=i==null?void 0:i[e];if(r>=0){if(r!==s)return!1}else if(!Zt(s,r))return!1}return!0}const Ve=i=>-Math.cos(i*Math.PI)/2+.5,Gt=(i,t,e)=>[new w(`character.${i}.strokes`,ct({opacity:1,displayPortion:1},t.strokes.length),{duration:e,force:!0})],kt=(i,t,e)=>[new w(`character.${i}`,{opacity:1,strokes:ct({opacity:1,displayPortion:1},t.strokes.length)},{duration:e,force:!0})],V=(i,t,e)=>[new w(`character.${i}.opacity`,0,{duration:e,force:!0}),...Gt(i,t,0)],Ft=(i,t,e)=>[new w(`options.${i}`,t,{duration:e})],Jt=(i,t,e)=>{const r=i.strokeNum,s=(i.getLength()+600)/(3*e);return[new w("options.highlightColor",t),new w("character.highlight",{opacity:1,strokes:{[r]:{displayPortion:0,opacity:0}}}),new w(`character.highlight.strokes.${r}`,{displayPortion:1,opacity:1},{duration:s}),new w(`character.highlight.strokes.${r}.opacity`,0,{duration:s,force:!0})]},Xt=(i,t,e)=>{const r=t.strokeNum,s=(t.getLength()+600)/(3*e);return[new w(`character.${i}`,{opacity:1,strokes:{[r]:{displayPortion:0,opacity:1}}}),new w(`character.${i}.strokes.${r}.displayPortion`,1,{duration:s})]},Ye=(i,t,e,r)=>{const s=a=>{const o=a.character[i],h={opacity:1,strokes:{}};for(let d=0;d[new w(`character.${i}.strokes.${t}`,{displayPortion:1,opacity:1},{duration:e,force:!0})],Kt=(i,t,e,r,s)=>{let n=V(i,t,e);return n=n.concat(Gt(i,t,0)),n.push(new w(`character.${i}`,{opacity:1,strokes:ct({opacity:0},t.strokes.length)},{force:!0})),t.strokes.forEach((a,o)=>{o>0&&n.push(new w.Delay(s)),n=n.concat(Xt(i,a,r))}),n},Qe=(i,t,e,r,s,n)=>{const a=Kt(i,t,e,r,s);return a.push(new w.Delay(n)),a},Ze=(i,t,e)=>[...V("main",i,t),new w("character.highlight",{opacity:1,strokes:ct({opacity:0},i.strokes.length)},{force:!0}),new w("character.main",{opacity:1,strokes:me(i.strokes.length,r=>({opacity:r[new w("quiz.activeUserStrokeId",i,{force:!0}),new w(`userStrokes.${i}`,{points:[t],opacity:1},{force:!0})],Je=(i,t)=>[new w(`userStrokes.${i}.points`,t,{force:!0})],It=(i,t)=>[new w(`userStrokes.${i}.opacity`,0,{duration:t}),new w(`userStrokes.${i}`,null,{force:!0})],Xe=(i,t,e)=>[new w("options.highlightColor",t),...V("highlight",i),...kt("highlight",i,e/2),...V("highlight",i,e/2)],Ke=i=>({pathString:wt(i.externalPoints),points:i.points.map(t=>mt(t))});class tr{constructor(t,e,r){this._currentStrokeIndex=0,this._mistakesOnStroke=0,this._totalMistakes=0,this._character=t,this._renderState=e,this._isActive=!1,this._positioner=r}startQuiz(t){this._isActive=!0,this._options=t;const e=vt(t.quizStartStrokeNum,this._character.strokes.length);return this._currentStrokeIndex=Math.min(e,this._character.strokes.length-1),this._mistakesOnStroke=0,this._totalMistakes=0,this._renderState.run(Ze(this._character,t.strokeFadeDuration,this._currentStrokeIndex))}startUserStroke(t){if(!this._isActive)return null;if(this._userStroke)return this.endUserStroke();const e=this._positioner.convertExternalPoint(t),r=jt();return this._userStroke=new Ue(r,e,t),this._renderState.run(Ge(r,e))}continueUserStroke(t){if(!this._userStroke)return Promise.resolve();const e=this._positioner.convertExternalPoint(t);this._userStroke.appendPoint(e,t);const r=this._userStroke.points.slice(0);return this._renderState.run(Je(this._userStroke.id,r))}setPositioner(t){this._positioner=t}endUserStroke(){var t;if(!this._userStroke)return;if(this._renderState.run(It(this._userStroke.id,(t=this._options.drawingFadeDuration)!==null&&t!==void 0?t:300)),this._userStroke.points.length===1){this._userStroke=void 0;return}const{acceptBackwardsStrokes:e,markStrokeCorrectAfterMisses:r}=this._options,s=this._getCurrentStroke(),{isMatch:n,meta:a}=Ee(this._userStroke,this._character,this._currentStrokeIndex,{isOutlineVisible:this._renderState.state.character.outline.opacity>0,leniency:this._options.leniency,averageDistanceThreshold:this._options.averageDistanceThreshold}),o=r&&this._mistakesOnStroke+1>=r;if(n||o||a.isStrokeBackwards&&e)this._handleSuccess(a);else{this._handleFailure(a);const{showHintAfterMisses:d,highlightColor:k,strokeHighlightSpeed:f}=this._options;d!==!1&&this._mistakesOnStroke>=d&&this._renderState.run(Jt(s,A(k),f))}this._userStroke=void 0}cancel(){this._isActive=!1,this._userStroke&&this._renderState.run(It(this._userStroke.id,this._options.drawingFadeDuration))}_getStrokeData({isCorrect:t,meta:e}){return{character:this._character.symbol,strokeNum:this._currentStrokeIndex,mistakesOnStroke:this._mistakesOnStroke,totalMistakes:this._totalMistakes,strokesRemaining:this._character.strokes.length-this._currentStrokeIndex-(t?1:0),drawnPath:Ke(this._userStroke),isBackwards:e.isStrokeBackwards}}nextStroke(){if(!this._options)return;const{strokes:t,symbol:e}=this._character,{onComplete:r,highlightOnComplete:s,strokeFadeDuration:n,highlightCompleteColor:a,highlightColor:o,strokeHighlightDuration:h}=this._options;let d=Ne("main",this._currentStrokeIndex,n);this._mistakesOnStroke=0,this._currentStrokeIndex+=1,this._currentStrokeIndex===t.length&&(this._isActive=!1,r==null||r({character:e,totalMistakes:this._totalMistakes}),s&&(d=d.concat(Xe(this._character,A(a||o),(h||0)*2)))),this._renderState.run(d)}_handleSuccess(t){if(!this._options)return;const{onCorrectStroke:e}=this._options;e==null||e({...this._getStrokeData({isCorrect:!0,meta:t})}),this.nextStroke()}_handleFailure(t){var e,r;this._mistakesOnStroke+=1,this._totalMistakes+=1,(e=(r=this._options).onMistake)===null||e===void 0||e.call(r,this._getStrokeData({isCorrect:!1,meta:t}))}_getCurrentStroke(){return this._character.strokes[this._currentStrokeIndex]}}function W(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function L(i,t,e){i.setAttributeNS(null,t,e)}function at(i,t){Object.keys(t).forEach(e=>L(i,e,t[e]))}function er(i){let t="";return window.location&&window.location.href&&(t=window.location.href.replace(/#[^#]*$/,"").replace(/"/gi,"%22")),`url("${t}#${i}")`}function te(i){var t;i==null||(t=i.parentNode)===null||t===void 0||t.removeChild(i)}class B{constructor(t){this.stroke=t,this._pathLength=t.getLength()+B.STROKE_WIDTH/2}_getStrokeDashoffset(t){return this._pathLength*.999*(1-t)}_getColor({strokeColor:t,radicalColor:e}){return e&&this.stroke.isInRadical?e:t}}B.STROKE_WIDTH=200;const zt=200;class rr extends B{constructor(t){super(t),this._oldProps=void 0}mount(t){this._animationPath=W("path"),this._clip=W("clipPath"),this._strokePath=W("path");const e=`mask-${jt()}`;L(this._clip,"id",e),L(this._strokePath,"d",this.stroke.path),this._animationPath.style.opacity="0",L(this._animationPath,"clip-path",er(e));const r=Yt(this.stroke.points,zt/2);return L(this._animationPath,"d",wt(r)),at(this._animationPath,{stroke:"#FFFFFF","stroke-width":zt.toString(),fill:"none","stroke-linecap":"round","stroke-linejoin":"miter","stroke-dasharray":`${this._pathLength},${this._pathLength}`}),this._clip.appendChild(this._strokePath),t.defs.appendChild(this._clip),t.svg.appendChild(this._animationPath),this}render(t){var e,r;if(t===this._oldProps||!this._animationPath)return;t.displayPortion!==((e=this._oldProps)===null||e===void 0?void 0:e.displayPortion)&&(this._animationPath.style.strokeDashoffset=this._getStrokeDashoffset(t.displayPortion).toString());const s=this._getColor(t);if(!this._oldProps||s!==this._getColor(this._oldProps)){const{r:n,g:a,b:o,a:h}=s;at(this._animationPath,{stroke:`rgba(${n},${a},${o},${h})`})}t.opacity!==((r=this._oldProps)===null||r===void 0?void 0:r.opacity)&&(this._animationPath.style.opacity=t.opacity.toString()),this._oldProps=t}}class gt{constructor(t){this._oldProps=void 0,this._strokeRenderers=t.strokes.map(e=>new rr(e))}mount(t){const e=t.createSubRenderTarget();this._group=e.svg,this._strokeRenderers.forEach(r=>{r.mount(e)})}render(t){var e,r;if(t===this._oldProps||!this._group)return;const{opacity:s,strokes:n,strokeColor:a,radicalColor:o=null}=t;if(s!==((e=this._oldProps)===null||e===void 0?void 0:e.opacity)&&(this._group.style.opacity=s.toString(),!ke)){var h;s===0?this._group.style.display="none":((h=this._oldProps)===null||h===void 0?void 0:h.opacity)===0&&this._group.style.removeProperty("display")}const d=!this._oldProps||a!==this._oldProps.strokeColor||o!==this._oldProps.radicalColor;if(d||n!==((r=this._oldProps)===null||r===void 0?void 0:r.strokes))for(let f=0;f{if(this._userStrokeRenderers[S])return this._userStrokeRenderers[S];const Y=new sr;return Y.mount(this._positionedTarget),this._userStrokeRenderers[S]=Y,Y})().render(H)}}destroy(){te(this._positionedTarget.svg),this._positionedTarget.defs.innerHTML=""}}class ee{constructor(t){this.node=t}addPointerStartListener(t){this.node.addEventListener("mousedown",e=>{t(this._eventify(e,this._getMousePoint))}),this.node.addEventListener("touchstart",e=>{t(this._eventify(e,this._getTouchPoint))})}addPointerMoveListener(t){this.node.addEventListener("mousemove",e=>{t(this._eventify(e,this._getMousePoint))}),this.node.addEventListener("touchmove",e=>{t(this._eventify(e,this._getTouchPoint))})}addPointerEndListener(t){document.addEventListener("mouseup",t),document.addEventListener("touchend",t)}getBoundingClientRect(){return this.node.getBoundingClientRect()}updateDimensions(t,e){this.node.setAttribute("width",`${t}`),this.node.setAttribute("height",`${e}`)}_eventify(t,e){return{getPoint:()=>e.call(this,t),preventDefault:()=>t.preventDefault()}}_getMousePoint(t){const{left:e,top:r}=this.getBoundingClientRect(),s=t.clientX-e,n=t.clientY-r;return{x:s,y:n}}_getTouchPoint(t){const{left:e,top:r}=this.getBoundingClientRect(),s=t.touches[0].clientX-e,n=t.touches[0].clientY-r;return{x:s,y:n}}}class ht extends ee{constructor(t,e){super(t),this.svg=t,this.defs=e,"createSVGPoint"in t&&(this._pt=t.createSVGPoint())}static init(t,e="100%",r="100%"){const s=typeof t=="string"?document.getElementById(t):t;if(!s)throw new Error(`HanziWriter target element not found: ${t}`);const n=s.nodeName.toUpperCase(),a=(()=>{if(n==="SVG"||n==="G")return s;{const h=W("svg");return s.appendChild(h),h}})();at(a,{width:e,height:r});const o=W("defs");return a.appendChild(o),new ht(a,o)}createSubRenderTarget(){const t=W("g");return this.svg.appendChild(t),new ht(t,this.defs)}_getMousePoint(t){if(this._pt&&(this._pt.x=t.clientX,this._pt.y=t.clientY,"getScreenCTM"in this.node)){var e;const r=this._pt.matrixTransform((e=this.node.getScreenCTM())===null||e===void 0?void 0:e.inverse());return{x:r.x,y:r.y}}return super._getMousePoint.call(this,t)}_getTouchPoint(t){if(this._pt&&(this._pt.x=t.touches[0].clientX,this._pt.y=t.touches[0].clientY,"getScreenCTM"in this.node)){var e;const r=this._pt.matrixTransform((e=this.node.getScreenCTM())===null||e===void 0?void 0:e.inverse());return{x:r.x,y:r.y}}return super._getTouchPoint(t)}}var nr={HanziWriterRenderer:ir,createRenderTarget:ht.init};const re=(i,t)=>{i.beginPath();const e=t[0],r=t.slice(1);i.moveTo(e.x,e.y);for(const s of r)i.lineTo(s.x,s.y);i.stroke()},or=i=>{const t=i.split(/(^|\s+)(?=[A-Z])/).filter(r=>r!==" "),e=[r=>r.beginPath()];for(const r of t){const[s,...n]=r.split(/\s+/),a=n.map(o=>parseFloat(o));s==="M"?e.push(o=>o.moveTo(...a)):s==="L"?e.push(o=>o.lineTo(...a)):s==="C"?e.push(o=>o.bezierCurveTo(...a)):s==="Q"&&e.push(o=>o.quadraticCurveTo(...a))}return r=>e.forEach(s=>s(r))};class ar extends B{constructor(t,e=!0){super(t),e&&Path2D?this._path2D=new Path2D(this.stroke.path):this._pathCmd=or(this.stroke.path),this._extendedMaskPoints=Yt(this.stroke.points,B.STROKE_WIDTH/2)}render(t,e){if(e.opacity<.05)return;if(t.save(),this._path2D)t.clip(this._path2D);else{var r;(r=this._pathCmd)===null||r===void 0||r.call(this,t),t.globalAlpha=0,t.stroke(),t.clip()}const{r:s,g:n,b:a,a:o}=this._getColor(e),h=o===1?`rgb(${s},${n},${a})`:`rgb(${s},${n},${a},${o})`,d=this._getStrokeDashoffset(e.displayPortion);t.globalAlpha=e.opacity,t.strokeStyle=h,t.fillStyle=h,t.lineWidth=B.STROKE_WIDTH,t.lineCap="round",t.lineJoin="round",t.setLineDash([this._pathLength,this._pathLength],d),t.lineDashOffset=d,re(t,this._extendedMaskPoints),t.restore()}}class pt{constructor(t){this._strokeRenderers=t.strokes.map(e=>new ar(e))}render(t,e){if(e.opacity<.05)return;const{opacity:r,strokeColor:s,radicalColor:n,strokes:a}=e;for(let o=0;o{this._outlineCharRenderer.render(f,{opacity:e.opacity,strokes:e.strokes,strokeColor:n}),this._mainCharRenderer.render(f,{opacity:r.opacity,strokes:r.strokes,strokeColor:a,radicalColor:o}),this._highlightCharRenderer.render(f,{opacity:s.opacity,strokes:s.strokes,strokeColor:h});const $=t.userStrokes||{};for(const S in $){const M=$[S];if(M){const H={strokeWidth:k,strokeColor:d,...M};hr(f,H)}}})}}class Ct extends ee{constructor(t){super(t)}static init(t,e="100%",r="100%"){const s=typeof t=="string"?document.getElementById(t):t;if(!s)throw new Error(`HanziWriter target element not found: ${t}`);const n=s.nodeName.toUpperCase(),a=(()=>{if(n==="CANVAS")return s;const o=document.createElement("canvas");return s.appendChild(o),o})();return a.setAttribute("width",e),a.setAttribute("height",r),new Ct(a)}getContext(){return this.node.getContext("2d")}}var lr={HanziWriterRenderer:cr,createRenderTarget:Ct.init};const ur="2.0",dr=i=>`https://cdn.jsdelivr.net/npm/hanzi-writer-data@${ur}/${i}.json`,_r=(i,t,e)=>{const r=new XMLHttpRequest;r.overrideMimeType&&r.overrideMimeType("application/json"),r.open("GET",dr(i),!0),r.onerror=s=>{e(r,s)},r.onreadystatechange=()=>{r.readyState===4&&(r.status===200?t(JSON.parse(r.responseText)):r.status!==0&&e&&e(r))},r.send(null)},Wt={charDataLoader:_r,onLoadCharDataError:null,onLoadCharDataSuccess:null,showOutline:!0,showCharacter:!0,renderer:"svg",width:0,height:0,padding:20,strokeAnimationSpeed:1,strokeFadeDuration:400,strokeHighlightDuration:200,strokeHighlightSpeed:2,delayBetweenStrokes:1e3,delayBetweenLoops:2e3,strokeColor:"#555",radicalColor:null,highlightColor:"#AAF",outlineColor:"#DDD",drawingColor:"#333",leniency:1,showHintAfterMisses:3,highlightOnComplete:!0,highlightCompleteColor:null,markStrokeCorrectAfterMisses:!1,acceptBackwardsStrokes:!1,quizStartStrokeNum:0,averageDistanceThreshold:350,drawingFadeDuration:300,drawingWidth:4,strokeWidth:2,outlineWidth:2,rendererOverride:{}};class Bt{constructor(t){this._loadCounter=0,this._isLoading=!1,this.loadingFailed=!1,this._options=t}_debouncedLoad(t,e){const r=a=>{if(e===this._loadCounter){var o;(o=this._resolve)===null||o===void 0||o.call(this,a)}},s=a=>{if(e===this._loadCounter){var o;(o=this._reject)===null||o===void 0||o.call(this,a)}},n=this._options.charDataLoader(t,r,s);n&&("then"in n?n.then(r).catch(s):r(n))}_setupLoadingPromise(){return new Promise((t,e)=>{this._resolve=t,this._reject=e}).then(t=>{var e,r;return this._isLoading=!1,(e=(r=this._options).onLoadCharDataSuccess)===null||e===void 0||e.call(r,t),t}).catch(t=>{if(this._isLoading=!1,this.loadingFailed=!0,this._options.onLoadCharDataError){this._options.onLoadCharDataError(t);return}if(t instanceof Error)throw t;const e=new Error(`Failed to load char data for ${this._loadingChar}`);throw e.reason=t,e})}loadCharData(t){this._loadingChar=t;const e=this._setupLoadingPromise();return this.loadingFailed=!1,this._isLoading=!0,this._loadCounter++,this._debouncedLoad(t,this._loadCounter),e}}class E{constructor(t,e={}){const{HanziWriterRenderer:r,createRenderTarget:s}=e.renderer==="canvas"?lr:nr,n=e.rendererOverride||{};this._renderer={HanziWriterRenderer:n.HanziWriterRenderer||r,createRenderTarget:n.createRenderTarget||s},this.target=this._renderer.createRenderTarget(t,e.width,e.height),this._options=this._assignOptions(e),this._loadingManager=new Bt(this._options),this._setupListeners()}static create(t,e,r){const s=new E(t,r);return s.setCharacter(e),s}static loadCharacterData(t,e={}){const r=(()=>{const{_loadingManager:s,_loadingOptions:n}=E;return(s==null?void 0:s._loadingChar)===t&&n===e?s:new Bt({...Wt,...e})})();return E._loadingManager=r,E._loadingOptions=e,r.loadCharData(t)}static getScalingTransform(t,e,r=0){const s=new Et({width:t,height:e,padding:r});return{x:s.xOffset,y:s.yOffset,scale:s.scale,transform:pe(` + translate(${s.xOffset}, ${s.height-s.yOffset}) + scale(${s.scale}, ${-1*s.scale}) + `).replace(/\s+/g," ")}}showCharacter(t={}){return this._options.showCharacter=!0,this._withData(()=>{var e;return(e=this._renderState)===null||e===void 0?void 0:e.run(kt("main",this._character,typeof t.duration=="number"?t.duration:this._options.strokeFadeDuration)).then(r=>{var s;return(s=t.onComplete)===null||s===void 0||s.call(t,r),r})})}hideCharacter(t={}){return this._options.showCharacter=!1,this._withData(()=>{var e;return(e=this._renderState)===null||e===void 0?void 0:e.run(V("main",this._character,typeof t.duration=="number"?t.duration:this._options.strokeFadeDuration)).then(r=>{var s;return(s=t.onComplete)===null||s===void 0||s.call(t,r),r})})}animateCharacter(t={}){return this.cancelQuiz(),this._withData(()=>{var e;return(e=this._renderState)===null||e===void 0?void 0:e.run(Kt("main",this._character,this._options.strokeFadeDuration,this._options.strokeAnimationSpeed,this._options.delayBetweenStrokes)).then(r=>{var s;return(s=t.onComplete)===null||s===void 0||s.call(t,r),r})})}animateStroke(t,e={}){return this.cancelQuiz(),this._withData(()=>{var r;return(r=this._renderState)===null||r===void 0?void 0:r.run(Ye("main",this._character,vt(t,this._character.strokes.length),this._options.strokeAnimationSpeed)).then(s=>{var n;return(n=e.onComplete)===null||n===void 0||n.call(e,s),s})})}highlightStroke(t,e={}){const r=()=>{if(!(!this._character||!this._renderState))return this._renderState.run(Jt(fe(this._character.strokes,t),A(this._options.highlightColor),this._options.strokeHighlightSpeed)).then(s=>{var n;return(n=e.onComplete)===null||n===void 0||n.call(e,s),s})};return this._withData(r)}async loopCharacterAnimation(){return this.cancelQuiz(),this._withData(()=>this._renderState.run(Qe("main",this._character,this._options.strokeFadeDuration,this._options.strokeAnimationSpeed,this._options.delayBetweenStrokes,this._options.delayBetweenLoops),{loop:!0}))}pauseAnimation(){return this._withData(()=>{var t;return(t=this._renderState)===null||t===void 0?void 0:t.pauseAll()})}resumeAnimation(){return this._withData(()=>{var t;return(t=this._renderState)===null||t===void 0?void 0:t.resumeAll()})}showOutline(t={}){return this._options.showOutline=!0,this._withData(()=>{var e;return(e=this._renderState)===null||e===void 0?void 0:e.run(kt("outline",this._character,typeof t.duration=="number"?t.duration:this._options.strokeFadeDuration)).then(r=>{var s;return(s=t.onComplete)===null||s===void 0||s.call(t,r),r})})}hideOutline(t={}){return this._options.showOutline=!1,this._withData(()=>{var e;return(e=this._renderState)===null||e===void 0?void 0:e.run(V("outline",this._character,typeof t.duration=="number"?t.duration:this._options.strokeFadeDuration)).then(r=>{var s;return(s=t.onComplete)===null||s===void 0||s.call(t,r),r})})}updateDimensions({width:t,height:e,padding:r}){if(t!==void 0&&(this._options.width=t),e!==void 0&&(this._options.height=e),r!==void 0&&(this._options.padding=r),this.target.updateDimensions(this._options.width,this._options.height),this._character&&this._renderState&&this._hanziWriterRenderer&&this._positioner){this._hanziWriterRenderer.destroy();const s=this._initAndMountHanziWriterRenderer(this._character);this._renderState.overwriteOnStateChange(n=>s.render(n)),s.render(this._renderState.state),this._quiz&&this._quiz.setPositioner(this._positioner)}}updateColor(t,e,r={}){var s;let n=[];const a=t==="radicalColor"&&!e?this._options.strokeColor:e,o=A(a);this._options[t]=e;const h=(s=r.duration)!==null&&s!==void 0?s:this._options.strokeFadeDuration;return n=n.concat(Ft(t,o,h)),t==="radicalColor"&&!e&&(n=n.concat(Ft(t,null,0))),this._withData(()=>{var d;return(d=this._renderState)===null||d===void 0?void 0:d.run(n).then(k=>{var f;return(f=r.onComplete)===null||f===void 0||f.call(r,k),k})})}quiz(t={}){return this._withData(async()=>{this._character&&this._renderState&&this._positioner&&(this.cancelQuiz(),this._quiz=new tr(this._character,this._renderState,this._positioner),this._options={...this._options,...t},this._quiz.startQuiz(this._options))})}skipQuizStroke(){this._quiz&&this._quiz.nextStroke()}cancelQuiz(){this._quiz&&(this._quiz.cancel(),this._quiz=void 0)}setCharacter(t){return this.cancelQuiz(),this._char=t,this._hanziWriterRenderer&&this._hanziWriterRenderer.destroy(),this._renderState&&this._renderState.cancelAll(),this._hanziWriterRenderer=null,this._withDataPromise=this._loadingManager.loadCharData(t).then(e=>{if(!e||this._loadingManager.loadingFailed)return;this._character=Re(t,e),this._renderState=new ve(this._character,this._options,s=>r.render(s));const r=this._initAndMountHanziWriterRenderer(this._character);r.render(this._renderState.state)}),this._withDataPromise}_initAndMountHanziWriterRenderer(t){const{width:e,height:r,padding:s}=this._options;this._positioner=new Et({width:e,height:r,padding:s});const n=new this._renderer.HanziWriterRenderer(t,this._positioner);return n.mount(this.target),this._hanziWriterRenderer=n,n}async getCharacterData(){if(!this._char)throw new Error("setCharacter() must be called before calling getCharacterData()");return await this._withData(()=>this._character)}_assignOptions(t){const e={...Wt,...t};return t.strokeAnimationDuration&&!t.strokeAnimationSpeed&&(e.strokeAnimationSpeed=500/t.strokeAnimationDuration),t.strokeHighlightDuration&&!t.strokeHighlightSpeed&&(e.strokeHighlightSpeed=500/e.strokeHighlightDuration),t.highlightCompleteColor||(e.highlightCompleteColor=e.highlightColor),this._fillWidthAndHeight(e)}_fillWidthAndHeight(t){const e={...t};if(e.width&&!e.height)e.height=e.width;else if(e.height&&!e.width)e.width=e.height;else if(!e.width&&!e.height){const{width:r,height:s}=this.target.getBoundingClientRect(),n=Math.min(r,s);e.width=n,e.height=n}return e}_withData(t){if(this._loadingManager.loadingFailed)throw Error("Failed to load character data. Call setCharacter and try again.");return this._withDataPromise?this._withDataPromise.then(()=>{if(!this._loadingManager.loadingFailed)return t()}):Promise.resolve().then(t)}_setupListeners(){this.target.addPointerStartListener(t=>{this._quiz&&(t.preventDefault(),this._quiz.startUserStroke(t.getPoint()))}),this.target.addPointerMoveListener(t=>{this._quiz&&(t.preventDefault(),this._quiz.continueUserStroke(t.getPoint()))}),this.target.addPointerEndListener(()=>{var t;(t=this._quiz)===null||t===void 0||t.endUserStroke()})}}E._loadingManager=null;E._loadingOptions=null;const fr=E;var se={exports:{}};(function(i,t){(function(e,r){i.exports=r()})(_e,function(){var e=1e3,r=6e4,s=36e5,n="millisecond",a="second",o="minute",h="hour",d="day",k="week",f="month",$="quarter",S="year",M="date",H="Invalid Date",$t=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ie={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var u=["th","st","nd","rd"],c=g%100;return"["+g+(u[(c-20)%10]||u[c]||u[0])+"]"}},lt=function(g,u,c){var _=String(g);return!_||_.length>=u?g:""+Array(u+1-_.length).join(c)+g},ne={s:lt,z:function(g){var u=-g.utcOffset(),c=Math.abs(u),_=Math.floor(c/60),l=c%60;return(u<=0?"+":"-")+lt(_,2,"0")+":"+lt(l,2,"0")},m:function g(u,c){if(u.date()1)return g(m[0])}else{var y=u.name;F[y]=u,l=y}return!_&&l&&(N=l),l||!_&&N},D=function(g,u){if(ut(g))return g.clone();var c=typeof u=="object"?u:{};return c.date=g,c.args=arguments,new tt(c)},v=ne;v.l=K,v.i=ut,v.w=function(g,u){return D(g,{locale:u.$L,utc:u.$u,x:u.$x,$offset:u.$offset})};var tt=function(){function g(c){this.$L=K(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[Dt]=!0}var u=g.prototype;return u.parse=function(c){this.$d=function(_){var l=_.date,p=_.utc;if(l===null)return new Date(NaN);if(v.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var m=l.match($t);if(m){var y=m[2]-1||0,C=(m[7]||"0").substring(0,3);return p?new Date(Date.UTC(m[1],y,m[3]||1,m[4]||0,m[5]||0,m[6]||0,C)):new Date(m[1],y,m[3]||1,m[4]||0,m[5]||0,m[6]||0,C)}}return new Date(l)}(c),this.init()},u.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},u.$utils=function(){return v},u.isValid=function(){return this.$d.toString()!==H},u.isSame=function(c,_){var l=D(c);return this.startOf(_)<=l&&l<=this.endOf(_)},u.isAfter=function(c,_){return D(c)mr.split(",").map(h=>h.split(""))),r=Mt(!1);he(()=>{s();const o="2024-01-21";console.log(j()),console.log(j(o)),j().isSame(j(o),"day")&&(r.value=!0),console.log(j().isSame(j(o),"day"))});const s=async()=>{let o=0;for(const h in e.value)for(const d in e.value[h])await a({dom:t.value[o],text:e.value[h][d],config:{strokeColor:n()}}).animateCharacter(),o++},n=()=>{const o=Math.floor(Math.random()*256),h=Math.floor(Math.random()*256),d=Math.floor(Math.random()*256);return"rgb("+o+","+h+","+d+")"},a=({dom:o,text:h,config:d={}})=>{const k={width:45,height:45,padding:5,delayBetweenStrokes:0,strokeAnimationSpeed:5,showCharacter:!1,showOutline:!1};return fr.create(o,h,{...k,...d})};return(o,h)=>ce((J(),G("div",pr,[(J(!0),G(xt,null,Tt(e.value,(d,k)=>(J(),G("div",{class:"writer-content",key:k},[(J(!0),G(xt,null,Tt(d,(f,$)=>(J(),G("div",{class:"writer",key:$,ref_for:!0,ref_key:"writerRef",ref:t}))),128))]))),128))],512)),[[le,r.value]])}}),yr=ue(kr,[["__scopeId","data-v-6cf90ace"]]);export{yr as default}; diff --git a/static/js/index-B36xn1AJ.js b/static/js/index-B36xn1AJ.js new file mode 100644 index 0000000..d2543d2 --- /dev/null +++ b/static/js/index-B36xn1AJ.js @@ -0,0 +1 @@ +import{d as m,i as c,k as E,j as k,o as f,a as v,b as p,_,C as y}from"./index-By46uPpP.js";const B={class:"input-tag"},N=m({__name:"InputTag",setup(R){const o=c(),r=()=>{const t=window.getSelection&&window.getSelection();t&&t.rangeCount&&(o.value=t.getRangeAt(0))};E(()=>{document.addEventListener("selectionchange",r,!1),a.value.addEventListener("keydown",t=>{t.key==="Enter"&&(console.log("enter"),t.preventDefault())})}),k(()=>{document.removeEventListener("selectionchange",r,!1)});const a=c(),w=t=>{const e=``;h(e);const n=a.value.innerHTML;l.value=n},l=c(),C=t=>{console.log("input",t);const e=t.target.innerHTML.toString().replace(/(\r\n)|(\n)|(
)/g,"");l.value=e},T=()=>{a.value.focus()},s=c(),x=()=>{console.log("Blur")},A=()=>{if(console.log("Focus"),s.value&&s.value.rangeCount>0&&document.createRange){const t=document.createRange();t.setStart(s.value.getRangeAt(0).startContainer,s.value.getRangeAt(0).startOffset),t.collapse(!0);const e=window.getSelection();e.removeAllRanges(),e.addRange(t)}},S=t=>{t.stopPropagation(),t.preventDefault();let e="";const n=t.originalEvent||t;n.clipboardData&&n.clipboardData.getData?e=n.clipboardData.getData("text/plain"):window.clipboardData&&window.clipboardData.getData&&(e=window.clipboardData.getData("Text")),document.queryCommandSupported("insertText")?document.execCommand("insertText",!1,e):document.execCommand("paste",!1,e)},h=t=>{let e,n;if(window.getSelection){if(e=window.getSelection(),e&&e.rangeCount===0&&o.value!==null&&e.addRange(o.value),e&&e.rangeCount&&(n=e.getRangeAt(0)),["",null,void 0].includes(n))n=d().getRangeAt(0);else{const i=document.createRange();i.selectNode(a.value);const D=n.compareBoundaryPoints(Range.START_TO_START,i),b=n.compareBoundaryPoints(Range.END_TO_END,i);D!==-1&&b!==1||(n=d().getRangeAt(0))}const u=n.createContextualFragment(t),g=u.lastChild;n.insertNode(u),g&&(n=n.cloneRange(),n.setStartAfter(g),n.collapse(!0),e.removeAllRanges(),e.addRange(n))}else document.selection&&document.selection.type!=="Control"&&document.selection.createRange().pasteHTML(t)},d=t=>{if(window.getSelection){a.value.focus();const e=window.getSelection();return e.selectAllChildren(l.value),e.collapseToEnd(),e}else if(document.selection){const e=document.selection.createRange();return e.moveToElementText(l.value),e.collapse(!1),e.select(),e}};return(t,e)=>(f(),v("div",B,[p("button",{class:"btn",onClick:e[0]||(e[0]=n=>w("TAG"))},"添加标签"),p("div",{ref_key:"inputRef",ref:a,class:"myTextArea",contenteditable:"true",placeholder:"请输入",onClick:T,onInput:C,onBlur:x,onFocus:A,onPaste:S},null,544)]))}}),H=_(N,[["__scopeId","data-v-92a497a9"]]),I={class:"input-tag-container"},L=m({__name:"index",setup(R){return(o,r)=>(f(),v("div",I,[y(H)]))}}),M=_(L,[["__scopeId","data-v-dd273656"]]);export{M as default}; diff --git a/static/js/index-B3luEHte.js b/static/js/index-B3luEHte.js deleted file mode 100644 index 47da896..0000000 --- a/static/js/index-B3luEHte.js +++ /dev/null @@ -1 +0,0 @@ -import e from"./index-CC0Y7Pe6.js";import{d as o,f as t,e as a,g as r,o as s}from"./index-DblQHoIm.js";import{_ as n}from"./plugin-vueexport-helper-DlAUqK2U.js";const c={class:"game-layout-container"},_=o({__name:"index",setup(m){return(d,i)=>(s(),t("div",c,[a(e),r("",!0)]))}}),u=n(_,[["__scopeId","data-v-59e34bff"]]);export{u as default}; diff --git a/static/js/index-B5MciD-4.js b/static/js/index-B5MciD-4.js new file mode 100644 index 0000000..d472be6 --- /dev/null +++ b/static/js/index-B5MciD-4.js @@ -0,0 +1 @@ +import{d as i,i as d,o as c,f as h,E as I,a as l,r as S,t as x,F as b,T as k,_ as u,C as E}from"./index-By46uPpP.js";const T=["onDragstart","onDragenter","onDragover"],w=i({__name:"GridSort",setup(_){const r=d([]);for(let e=1;e<10;e++)r.value.push({id:Math.random(),value:String(e)});const n=d(0),p=(e,a)=>{n.value=a;const t=e.target,s={src:t.src,id:Math.random(),dataset:t.dataset};e.dataTransfer.setData("elementInfo",JSON.stringify(s))},v=(e,a)=>{e.preventDefault()},g=(e,a)=>{if(e.preventDefault(),n.value!==a){const t=r.value[n.value];r.value.splice(n.value,1),r.value.splice(a,0,t),n.value=a}},D=e=>{e.preventDefault()},f=e=>{e.stopPropagation(),e.preventDefault()},m=e=>{e.dataTransfer.clearData()};return(e,a)=>(c(),h(k,{name:"flip",class:"view-content",tag:"div"},{default:I(()=>[(c(!0),l(b,null,S(r.value,(t,s)=>(c(),l("li",{key:t.id,class:"view-item",draggable:"true",onDragstart:o=>p(o,s),onDragend:m,onDragenter:o=>g(o,s),onDragover:o=>v(o,s),onDragleave:D,onDrop:f},x(t.value),41,T))),128))]),_:1}))}}),y=u(w,[["__scopeId","data-v-b6b66bee"]]),B={class:"drag-container"},C=i({__name:"index",setup(_){return(r,n)=>(c(),l("div",B,[E(y)]))}}),F=u(C,[["__scopeId","data-v-3e8a30a0"]]);export{F as default}; diff --git a/static/js/index-B6s7WMow.js b/static/js/index-B6s7WMow.js new file mode 100644 index 0000000..2fb73d9 --- /dev/null +++ b/static/js/index-B6s7WMow.js @@ -0,0 +1 @@ +import{_ as o,f as n,g as t,o as c}from"./index-By46uPpP.js";const r={};function s(_,a){const e=t("RouterView");return c(),n(e)}const i=o(r,[["render",s]]);export{i as default}; diff --git a/static/js/index-BCBPNXMe.js b/static/js/index-BCBPNXMe.js deleted file mode 100644 index 59c765a..0000000 --- a/static/js/index-BCBPNXMe.js +++ /dev/null @@ -1 +0,0 @@ -import{d as u,n as m,o as d,f as r,a as t,F as y,i as f,t as s,p as x,b as g,e as b}from"./index-DblQHoIm.js";import{_ as h}from"./plugin-vueexport-helper-DlAUqK2U.js";const w=function(c,l=null){const n=document.createElement("iframe"),o=document.body.appendChild(n);n.id="myIframe",n.setAttribute("style","position:absolute;width:0;height:0;top:-500px;left:-500px;");const e=o.contentWindow||o.contentDocument,i=o.contentDocument||(o==null?void 0:o.contentWindow.document),_=document.getElementById(c);if(i.open(),l){const a="";i.write(a)}i.write(''),i.write("
"+_.innerHTML+"
"),i.close(),n.contentWindow.focus(),n.onload=function(){try{setTimeout(function(){e.focus();try{e.document.execCommand("print",!1,void 0)||e.print()}catch{e.print()}e.close()},100)}catch(a){console.log("err",a)}setTimeout(function(){document.body.removeChild(n)},100)}},p=c=>(x("data-v-c2819d42"),c=c(),g(),c),v=p(()=>t("caption",null," 表格标题 ",-1)),I=p(()=>t("thead",null,[t("tr",null,[t("th",{rowspan:"2",style:{height:"30px"}},"学号"),t("th",{rowspan:"2",style:{height:"30px"}},"姓名"),t("th",{rowspan:"2",style:{height:"30px"}},"性别"),t("th",{colspan:"4",style:{height:"30px"}},"成绩"),t("th",{rowspan:"2",style:{height:"30px"}},"备注")]),t("tr",null,[t("th",{style:{height:"30px"}},"平时"),t("th",{style:{height:"30px"}},"实训"),t("th",{style:{height:"30px"}},"期末"),t("th",{style:{height:"30px"}},"总成绩")])],-1)),T=p(()=>t("td",null,s("没有备注"),-1)),C=u({__name:"PrintTable",setup(c){const l=m([1,2,3,4,5,6,7,8,9]);return(n,o)=>(d(),r("table",null,[v,I,t("tbody",null,[(d(!0),r(y,null,f(l.value,e=>(d(),r("tr",{key:e},[t("td",null,s(e),1),t("td",null,s(e),1),t("td",null,s(e),1),t("td",null,s(e),1),t("td",null,s(e),1),t("td",null,s(e),1),t("td",null,s(e),1),T]))),128))])]))}}),D=h(C,[["__scopeId","data-v-c2819d42"]]),P={class:"print-container"},k={id:"printTableId"},B=u({__name:"index",setup(c){const l=()=>{w("printTableId","")};return(n,o)=>(d(),r("div",P,[t("div",{class:"header"},[t("button",{onClick:l},"Go To Print")]),t("div",k,[b(D)])]))}}),E=h(B,[["__scopeId","data-v-917c9ff5"]]);export{E as default}; diff --git a/static/js/index-BSM4-hGh.js b/static/js/index-BSM4-hGh.js deleted file mode 100644 index a5bb2eb..0000000 --- a/static/js/index-BSM4-hGh.js +++ /dev/null @@ -1 +0,0 @@ -import{d as b,h as r,k as n,l as o,f as h,m,o as u}from"./index-DblQHoIm.js";import{_ as p}from"./plugin-vueexport-helper-DlAUqK2U.js";const _={class:"christmas-container"},f=m('

Merry Christmas

',1),x=[f],g=b({__name:"index",setup(y){const e=r(()=>document.body.clientWidth);n(e,()=>{a()});const a=()=>{const c=document.querySelector(".christmas-container").parentNode,s=c.clientWidth,i=c.clientHeight,t=s/800,d=i/1e3;console.log("scaleRate",s,t,i,d);const l=document.querySelector("#christmas-container");t<1?l.style.transform=`scale(${t})`:d<1&&(l.style.transform=`scale(${d})`)};return o(()=>{a(),window.addEventListener("resize",a)}),(v,c)=>(u(),h("div",_,x))}}),C=p(g,[["__scopeId","data-v-b49ca31c"]]);export{C as default}; diff --git a/static/js/index-BnIqCsVu.js b/static/js/index-BnIqCsVu.js deleted file mode 100644 index 6a3b01e..0000000 --- a/static/js/index-BnIqCsVu.js +++ /dev/null @@ -1 +0,0 @@ -import{u as W}from"./index-DEDEmN9i.js";import{C as T,D as V,E as j,F as H,G as I,A as O,B as z,a as J,b as K,c as P,d as Q,e as U,f as X,g as Y,h as Z,i as tt,j as et,k as st,l as ot,m as at,n as rt,o as nt,p as ct,q as lt,r as ut,s as it,t as dt,u as ft}from"./B4-cC9vRKeP.js";import{n as o,d as pt,h as L,l as vt,f as c,a as d,t as mt,F as b,i as F,o as l,g as _t}from"./index-DblQHoIm.js";import{g as kt}from"./color-CWPKctqu.js";import{_ as gt}from"./plugin-vueexport-helper-DlAUqK2U.js";const ht=[T,V,j,H,I,O,z,J,K,P,Q,U,X,Y,Z,tt,et,st,ot,at,rt,nt,ct,lt,ut,it,dt,ft];function yt(){const k=o(ht),f=o([]);return f.value=k.value.map(i=>W(i,{playbackRate:.5})),{playList:f}}const At={class:"wave-container"},Rt={class:"controller"},Ct={class:"orbit-group"},Lt=["id","d","stroke","stroke-width"],bt=["transform"],Ft=["cx","cy","r","stroke","fill"],Bt=["x2","y2","stroke"],Nt=pt({__name:"index",setup(k){const f=o(1),{playList:i}=yt(),g=L(()=>i.value.length),v=o([]),B=()=>{const e=i.value.map((a,t)=>{const s=y(t),n=`M ${s},0 A ${s} ${s} 180 1 0 -${s},0`,r=A(t);return{d:n,stroke:r,strokeWidth:1}});v.value=e},N=o(!1),h=o([]),S=()=>{h.value=v.value.map((e,a)=>{const t=-y(a),s=0,n=5,r=A(a);return{cx:t,cy:s,r:n,fill:r,rotate:0}})},y=e=>25+e*800/(g.value*2),A=e=>{const a=Math.round(e/g.value*360*100)/100;return kt(a)},w=e=>e<180?e:e<360?360-e:0,x=e=>180/(900/(254-e*2)),G=o(),M=o(),D=o(30),R=new Map,E=L(()=>h.value.map((e,a)=>{var p;const s=x(a)*m.value/D.value%360,n=w(s),r=Math.round(n);return _.value&&(r==0||r==180)&&R.get(a)!=r&&((p=i.value[a])==null||p.play({playbackRate:f.value})),R.set(a,r),{...e,transform:`rotate(${n})`}})),m=o(0),$=o(.5),u=o(),_=o(!1),q=()=>{u.value?(cancelAnimationFrame(u.value),u.value=void 0,_.value=!1):(_.value=!0,u.value=requestAnimationFrame(C))},C=()=>{m.value=m.value+$.value,u.value=requestAnimationFrame(C)};return vt(()=>{B(),S()}),(e,a)=>(l(),c("div",At,[d("div",Rt,[d("div",{class:"controller-item-btn",onClick:q},mt(u.value?"Stop":"Start"),1)]),(l(),c("svg",null,[d("g",Ct,[(l(!0),c(b,null,F(v.value,(t,s)=>(l(),c("path",{key:s,id:`orbit${s}`,d:t.d,stroke:t.stroke,"stroke-width":t.strokeWidth,"stroke-linecap":"round",fill:"none"},null,8,Lt))),128))]),d("g",{class:"circle-group",ref_key:"circleGroupRef",ref:G},[(l(!0),c(b,null,F(E.value,(t,s)=>(l(),c("g",{key:s,transform:t.transform},[d("circle",{ref_for:!0,ref_key:"circleRef",ref:M,cx:t.cx,cy:t.cy,r:t.r,stroke:t.fill,fill:t.fill},null,8,Ft),N.value?(l(),c("line",{key:0,x1:"0",y1:"0",x2:t.cx,y2:t.cy,stroke:t.fill},null,8,Bt)):_t("",!0)],8,bt))),128))],512)]))]))}}),Dt=gt(Nt,[["__scopeId","data-v-f34e75dd"]]);export{Dt as default}; diff --git a/static/js/index-BnNPthHu.js b/static/js/index-BnNPthHu.js deleted file mode 100644 index f50eb22..0000000 --- a/static/js/index-BnNPthHu.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,h as l,f as n,F as p,i as u,u as _,o,t as d,j as m}from"./index-DblQHoIm.js";import{_ as k}from"./plugin-vueexport-helper-DlAUqK2U.js";const f={class:"preview-layout-container custom-bg-10"},h=["onClick"],v=i({__name:"index",setup(b){const a=_(),r=l(()=>(m??[]).map(e=>({label:e.name,key:e.path}))),c=({label:e,key:s})=>{const t=a.resolve({name:e,path:s});window.open(t.href,"_blank")};return(e,s)=>(o(),n("div",f,[(o(!0),n(p,null,u(r.value,t=>(o(),n("div",{class:"preview-item",key:t.key,onClick:x=>c(t)},d(t.label),9,h))),128))]))}}),w=k(v,[["__scopeId","data-v-e16a3d9b"]]);export{w as default}; diff --git a/static/js/index-Bs2G5HVR.js b/static/js/index-Bs2G5HVR.js deleted file mode 100644 index f16cd15..0000000 --- a/static/js/index-Bs2G5HVR.js +++ /dev/null @@ -1 +0,0 @@ -import{g as I}from"./color-CWPKctqu.js";import{d as N,n as u,h as d,l as w,f as s,a as i,F as f,i as $,o as l,g as A}from"./index-DblQHoIm.js";import{_ as S}from"./plugin-vueexport-helper-DlAUqK2U.js";const B={class:"wave-container"},L={class:"orbit-group"},F=["id","d","stroke"],H={class:"circle-group"},R=["fill"],q=["dur","id","path","begin","repeatCount"],V=["dur","id","path","begin"],E=900,k=127,T=100,j=N({__name:"index",setup(x){const a=u(28),g=d(()=>new Array(a.value).fill(0)),e=u(!0),h=u(10),v=u(10),W=u(1);w(()=>{var c,t;const n=((c=document.querySelector(".wave-container"))==null?void 0:c.clientWidth)??0,r=((t=document.querySelector(".wave-container"))==null?void 0:t.clientHeight)??0,o=Math.min(n,r)/a.value||a.value;console.log("containerWidth =>",n,r,o),h.value=Math.floor(o-1),v.value=Math.floor(o/2-1)});const _=d(()=>(g.value??[]).map((n,r)=>{const o=p(r),c=h.value+r*v.value,t=`M 0,-${c} A ${c} ${c} 180 1 1 0,${c}`,M=`M 0,-${c} A ${c} ${c} 180 1 1 0,${c} A ${c} ${c} 180 1 1 0,-${c}`,b=`M 0,${c} A ${c} ${c} 180 1 0 0,-${c}`;return{strokeColor:o,semicirclePath:t,fullCirclePath:M,reverseSemicirclePath:b}})),C=d(()=>_.value.map((n,r)=>{const o=p(r),c=h.value+r*v.value;return{fill:o,cx:c,cy:0,clockWisePath:e.value?n==null?void 0:n.fullCirclePath:n==null?void 0:n.semicirclePath,clockWiseId:`clockWise${r}`,anticlockWisePath:n==null?void 0:n.reverseSemicirclePath,anticlockWiseId:`anticlockWise${r}`,dur:y(r)}})),p=n=>{const r=Math.round(n/a.value*360*100)/100;return I(r)},P=d(()=>(k-T)/(a.value-1)),y=n=>{const r=(k-n*P.value)*2,o=E/r;return console.log(`第${n+1}个, 每个半圆花费${o}秒`),o/W.value};return(n,r)=>(l(),s("div",B,[(l(),s("svg",null,[i("g",L,[(l(!0),s(f,null,$(_.value,(o,c)=>(l(),s("path",{key:c,id:`orbit${c}`,d:e.value?o==null?void 0:o.fullCirclePath:o==null?void 0:o.semicirclePath,stroke:o==null?void 0:o.strokeColor,fill:"none"},null,8,F))),128))]),i("g",H,[(l(!0),s(f,null,$(C.value,(o,c)=>(l(),s("circle",{key:c,class:"circle",cx:0,cy:0,fill:o==null?void 0:o.fill,r:"6"},[i("animateMotion",{dur:o==null?void 0:o.dur,id:o==null?void 0:o.clockWiseId,path:o==null?void 0:o.clockWisePath,begin:e.value?"0":`0;${o==null?void 0:o.anticlockWiseId}.end`,repeatCount:e.value?"indefinite":""},null,8,q),e.value?A("",!0):(l(),s("animateMotion",{key:0,dur:o==null?void 0:o.dur,id:o==null?void 0:o.anticlockWiseId,path:o==null?void 0:o.anticlockWisePath,begin:`${o==null?void 0:o.clockWiseId}.end`},null,8,V))],8,R))),128))])]))]))}}),J=S(j,[["__scopeId","data-v-7b330f03"]]);export{J as default}; diff --git a/static/js/index-Btxr3i5B.js b/static/js/index-Btxr3i5B.js deleted file mode 100644 index f70205b..0000000 --- a/static/js/index-Btxr3i5B.js +++ /dev/null @@ -1 +0,0 @@ -import{d as F,h as R,n as x,C as T,f as E,a as _,z as S,p as Y,b as q,o as B,s as se,k as K,D as M,E as j,G as O,g as N,v as U,F as oe,i as ne,y as ae,l as re,e as D,c as ue,H as le,t as ce}from"./index-DblQHoIm.js";import{_ as I}from"./plugin-vueexport-helper-DlAUqK2U.js";const ie=n=>{const s=n.toString(16).toUpperCase();return s.length==1?"0"+s:s},P=n=>{const s=pe(n).substr(1).split(""),t=s[0]+s[1],o=s[2]+s[3],v=s[4]+s[5],m=s[6]+s[7],l=parseInt(t,16),e=parseInt(o,16),r=parseInt(v,16),i=parseInt(m,16)/255;return{hex:"#"+t+o+v,hexa:"#"+t+o+v+m,r:l,g:e,b:r,a:i}},pe=n=>{if(!n||n.length<3)return"#000000FF";let s=n.toUpperCase();if(s.startsWith("#")&&(s=s.substr(1)),s.length<3)return"#000000FF";let t,o,v,m;if(t=o=v="00",m="FF",s.length===3){const e=s.repeat(2).split("").map(r=>J(r));t=e[0]+e[1],o=e[2]+e[3],v=e[4]+e[5]}else if(s.length>=6){const l=s.split("").map(e=>J(e));t=l[0]+l[1],o=l[2]+l[3],v=l[4]+l[5],l.length===8&&(m=l[6]+l[7])}return`#${t}${o}${v}${m}`},J=n=>n.length<0||n.length>1?"0":isNaN(n)?["A","B","C","D","E","F"].includes(n.toUpperCase())?n.toUpperCase():"0":n,Q=n=>{const s=l=>l>255?255:l<0?0:Math.round(l),t=n/60*255,o=s(Math.abs(t-765)-255),v=s(510-Math.abs(t-510)),m=s(510-Math.abs(t-1020));return{r:o,g:v,b:m}},z=(n,s,t)=>{let o,v,m,l,e,r=0,i=0,g=0;switch(s<0&&(s=0),s>1&&(s=1),t<0&&(t=0),t>1&&(t=1),n%=360,n<0&&(n+=360),n/=60,o=Math.floor(n),v=n-o,m=t*(1-s),l=t*(1-s*v),e=t*(1-s*(1-v)),o){case 0:r=t,i=e,g=m;break;case 1:r=l,i=t,g=m;break;case 2:r=m,i=t,g=e;break;case 3:r=m,i=l,g=t;break;case 4:r=e,i=m,g=t;break;case 5:r=t,i=m,g=l;break}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(g*255)}},Z=n=>{const{r:s,g:t,b:o}=n;let v=(1<<24)+s*65536+t*256+o;return v=v.toString(16).toUpperCase(),"#"+v.slice(1)},W=n=>{let s=n.substring(1);s="0x"+(s.length<6?l(s,2):s);const t=s>>16,o=s>>8&"0xff",v=s&"0xff";return{r:t,g:o,b:v};function m(e,r){let i="";for(let g=0;g{n=n/255,s=s/255,t=t/255;const o=Math.max(n,s,t),v=Math.min(n,s,t),m=o-v,l=o,e=o===0?0:m/o;let r=0;if(m!==0){switch(o){case n:r=(s-t)/m+(s(Y("data-v-f01603c6"),n=n(),q(),n),de=ee(()=>_("div",{class:"sat-container"},null,-1)),ve=ee(()=>_("div",{class:"val-container"},null,-1)),he=F({__name:"Gradient",props:{width:{},currentColor:{},hue:{},sat:{},val:{}},emits:["update:sat","update:val"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:p,g:f,b:d}=Q(o.hue);return`rgba(${p}, ${f}, ${d}, 1)`}),l=R(()=>o.width),e=x(0),r=x(0),i=x(0),g=x(),w=x(),k=p=>{p.which===1&&(C(),u(),p.target!=w.value&&(a(p.offsetX,p.offsetY),p.stopPropagation(),p.preventDefault()))},$=()=>{h()},c=p=>{let f=p.pageX-e.value,d=p.pageY-r.value;f=Math.min(l.value,Math.max(0,f)),d=Math.min(i.value,Math.max(0,d)),a(f,d)},a=(p,f)=>{w.value.style.transform=`translate(${p}px, ${f}px)`;const d=p/l.value,b=1-f/i.value;v("update:sat",d),v("update:val",b)},u=()=>{const p=g.value.getBoundingClientRect();e.value=p.left,r.value=p.top,i.value=p.height};s({setSizePoses:u,setCursor:()=>{const p=l.value*o.sat,f=i.value*(1-o.val);w.value.style.transform=`translate(${p}px, ${f}px)`}});const C=()=>{document.addEventListener("mouseup",$),document.addEventListener("mousemove",c)},h=()=>{document.removeEventListener("mouseup",$),document.removeEventListener("mousemove",c)};return T(()=>{h()}),(p,f)=>(B(),E("div",{class:"gradient-content",ref_key:"gradientRef",ref:g,style:S({backgroundColor:m.value}),onMousedown:k},[de,ve,_("div",{ref_key:"gradientCursorRef",ref:w,class:"cursor-container",style:S({backgroundColor:o.currentColor})},null,4)],36))}}),fe=I(he,[["__scopeId","data-v-f01603c6"]]),me=F({__name:"Hue",props:{width:{},hue:{}},emits:["update:hue"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:C,g:h,b:p}=Q(o.hue);return`rgba(${C}, ${h}, ${p}, 1)`}),l=R(()=>o.width),e=x(0),r=x(),i=x(),g=C=>{C.which===1&&(u(),c(),C.target!=i.value&&($(C.offsetX),C.stopPropagation(),C.preventDefault()))},w=()=>{y()},k=C=>{let h=C.pageX-e.value;h=Math.min(l.value,Math.max(0,h)),$(h)},$=C=>{i.value.style.transform=`translate(${C}px, 0px)`;const h=Math.round(C/l.value*360*100)/100;v("update:hue",h)},c=()=>{const C=r.value.getBoundingClientRect();e.value=C.left};s({setSizePoses:c,setCursor:()=>{const C=o.hue*l.value/360;i.value.style.transform=`translate(${C}px, 0px)`}});const u=()=>{document.addEventListener("mouseup",w),document.addEventListener("mousemove",k)},y=()=>{document.removeEventListener("mouseup",w),document.removeEventListener("mousemove",k)};return T(()=>{y()}),(C,h)=>(B(),E("div",{ref_key:"hueRef",ref:r,class:"hue-slider",onMousedown:g},[_("div",{ref_key:"hueCursorRef",ref:i,class:"slider-cursor",style:S({backgroundColor:m.value})},null,4)],544))}}),ge=I(me,[["__scopeId","data-v-2da596e5"]]),be=F({__name:"Opacity",props:{width:{},hue:{},sat:{},val:{},alpha:{}},emits:["update:alpha"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:h,g:p,b:f}=z(o.hue,o.sat,o.val),d=`rgba(${h}, ${p}, ${f}, 0)`,b=`rgba(${h}, ${p}, ${f}, 1)`;return`linear-gradient(to right, ${d}, ${b})`}),l=R(()=>{const{r:h,g:p,b:f}=z(o.hue,o.sat,o.val);return`rgba(${h}, ${p}, ${f}, ${o.alpha})`}),e=R(()=>o.width),r=x(0),i=x(),g=x(),w=h=>{h.which===1&&(y(),a(),h.target!=g.value&&(c(h.offsetX),h.stopPropagation(),h.preventDefault()))},k=()=>{C()},$=h=>{let p=h.pageX-r.value;p=Math.min(e.value,Math.max(0,p)),c(p)},c=h=>{g.value.style.transform=`translate(${h}px, 0px)`;const p=h/e.value*100/100;v("update:alpha",p)},a=()=>{const h=i.value.getBoundingClientRect();r.value=h.left};s({setSizePoses:a,setCursor:()=>{const h=o.alpha*e.value;g.value.style.transform=`translate(${h}px, 0px)`}});const y=()=>{document.addEventListener("mouseup",k),document.addEventListener("mousemove",$)},C=()=>{document.removeEventListener("mouseup",k),document.removeEventListener("mousemove",$)};return T(()=>{C()}),(h,p)=>(B(),E("div",{ref_key:"alphaRef",ref:i,class:"alpha-slider",onMousedown:w},[_("div",{class:"alpha-slider-content",style:S({background:m.value})},[_("div",{ref_key:"alphaCursorRef",ref:g,class:"slider-cursor",style:S({background:l.value})},null,4)],4)],544))}}),Ce=I(be,[["__scopeId","data-v-13dce5c2"]]),te=n=>(Y("data-v-ab4d0fa4"),n=n(),q(),n),_e={class:"input-content"},xe=["value"],we=te(()=>_("option",{class:"input-select-option",value:"hex"},"HEX",-1)),ye=te(()=>_("option",{class:"input-select-option",value:"rgb"},"RGB",-1)),$e=[we,ye],ke={class:"input-rgb"},Be={class:"input-rgb-item"},Re={class:"input-rgb-item"},Ee={class:"input-rgb-item"},Me={key:0,class:"input-rgb-item"},Se={class:"input-hex"},Ue=F({__name:"ColorInput",props:{hue:{},sat:{},val:{},alpha:{},showOpacity:{type:Boolean}},emits:["update:hue","update:sat","update:val","update:alpha"],setup(n,{emit:s}){const t=n,o=s,v=x("hex"),m=c=>{const a=c.target.value;v.value=a},l=()=>{const{r:c,g:a,b:u}=z(t.hue,t.sat,t.val),y=Z({r:c,g:a,b:u});return{r:c,g:a,b:u,a:t.alpha,hex:y}},e=se({r:0,g:0,b:0,a:1,hex:"#FFFE00FF"});K([()=>t.hue,()=>t.sat,()=>t.val,()=>t.alpha],()=>{const{r:c,g:a,b:u,a:y,hex:C}=l();e.r=c,e.g=a,e.b=u,e.a=y,e.hex=C},{immediate:!0});const r=()=>{let c=Number(e.r);c=isNaN(c)?0:c>255?255:c<0?0:c;let a=Number(e.g);a=isNaN(a)?0:a>255?255:a<0?0:a;let u=Number(e.b);return u=isNaN(u)?0:u>255?255:u<0?0:u,{r:c,g:a,b:u}},i=()=>{let c=Number(e.a);return c=isNaN(c)?0:c>1?1:c<0?0:c,c},g=c=>{var a;if(c=="rgb"){const{r:u,g:y,b:C}=r(),{h,s:p,v:f}=A({r:u,g:y,b:C});U(()=>{o("update:hue",h),o("update:sat",p),o("update:val",f)})}else if(c=="a"){const u=i();U(()=>{o("update:alpha",u)})}else if(c=="hex"&&((a=e.hex)==null?void 0:a.length)>=7){const{hex:u}=P(e.hex),{r:y,g:C,b:h}=W(u),{h:p,s:f,v:d}=A({r:y,g:C,b:h});U(()=>{o("update:hue",p),o("update:sat",f),o("update:val",d)})}},w=()=>{const{r:c,g:a,b:u}=r();e.r=c,e.g=a,e.b=u},k=()=>{const c=i();e.a=c},$=c=>{const a=c.target.value;if(a.length<7){const{hex:u}=l();e.hex=u}else if(a.length>=7){const{hex:u}=P(a.slice(0,7));e.hex=u}};return(c,a)=>(B(),E("div",_e,[_("select",{class:"input-select",value:v.value,onChange:m},$e,40,xe),M(_("div",ke,[_("div",Be,[M(_("input",{"onUpdate:modelValue":a[0]||(a[0]=u=>e.r=u),onInput:a[1]||(a[1]=u=>g("rgb")),onBlur:w},null,544),[[O,e.r]])]),_("div",Re,[M(_("input",{"onUpdate:modelValue":a[2]||(a[2]=u=>e.g=u),onInput:a[3]||(a[3]=u=>g("rgb")),onBlur:w},null,544),[[O,e.g]])]),_("div",Ee,[M(_("input",{"onUpdate:modelValue":a[4]||(a[4]=u=>e.b=u),onInput:a[5]||(a[5]=u=>g("rgb")),onBlur:w},null,544),[[O,e.b]])]),t.showOpacity?(B(),E("div",Me,[M(_("input",{class:"alpha-input","onUpdate:modelValue":a[6]||(a[6]=u=>e.a=u),onInput:a[7]||(a[7]=u=>g("a")),onBlur:k},null,544),[[O,e.a]])])):N("",!0)],512),[[j,v.value==="rgb"]]),M(_("div",Se,[M(_("input",{"onUpdate:modelValue":a[8]||(a[8]=u=>e.hex=u),onInput:a[9]||(a[9]=u=>g("hex")),onBlur:$},null,544),[[O,e.hex]]),t.showOpacity?M((B(),E("input",{key:0,class:"alpha-input","onUpdate:modelValue":a[10]||(a[10]=u=>e.a=u),onInput:a[11]||(a[11]=u=>g("a")),onBlur:k},null,544)),[[O,e.a]]):N("",!0)],512),[[j,v.value==="hex"]])]))}}),Fe=I(Ue,[["__scopeId","data-v-ab4d0fa4"]]),Ie={key:0,class:"swatch-content"},Le=["onClick"],Oe=F({__name:"Swatches",props:{swatches:{},hideSwatches:{type:Boolean,default:!1},showOpacity:{type:Boolean},currentColor:{}},emits:["select"],setup(n,{emit:s}){const t=n,o=s,v=R(()=>{const l=["#56CCF2","#4BDDD4","#61F0E7","#49F397","#96E24A","#F1E257","#FCB17A","#EB5C5C","#DD789C","#F563DE","#C18AF7","#8177F5","#9F71B5","#A9A1C0","#CEA3F9","#4792E6"];return t.showOpacity?t.swatches??l.map(e=>e+"FF"):t.swatches??l}),m=l=>{const{hex:e,a:r}=P(l);t.showOpacity?o("select",e,r):o("select",e)};return(l,e)=>l.hideSwatches?N("",!0):(B(),E("div",Ie,[(B(!0),E(oe,null,ne(v.value,r=>(B(),E("div",{key:r,class:ae(["swatch-item",{"has-border":t.currentColor===r}]),style:S({backgroundColor:r}),onClick:i=>m(r)},null,14,Le))),128))]))}}),He=I(Oe,[["__scopeId","data-v-5debd9cb"]]),De={class:"panel-content"},Ne={class:"controls-container"},Pe=F({__name:"Panel",props:{value:{default:""},width:{default:240},showOpacity:{type:Boolean,default:!0}},emits:["update:value","change"],setup(n,{emit:s}){const t=n,o=s,v=R(()=>t.width),m=x(),l=R(()=>{var f;return((f=m.value)==null?void 0:f.offsetWidth)??0}),e=x(0),r=x(0),i=x(0),g=x(1),w=R(()=>{const{r:f,g:d,b}=z(e.value,r.value,i.value),L=Z({r:f,g:d,b});if(t.showOpacity){const H=ie(Math.round(g.value*255));return L+H}else return L});K(w,()=>{U(()=>{o("update:value",w.value),o("change",w.value),u()})}),re(()=>{U(()=>{k()})});const k=()=>{if(t.value){const{hex:f,a:d}=P(t.value),{r:b,g:L,b:H}=W(f),{h:G,s:V,v:X}=A({r:b,g:L,b:H});e.value=G,r.value=V,i.value=X,t.showOpacity&&(g.value=d)}U(()=>{u()})},$=x(),c=x(),a=x(),u=()=>{y(),U(()=>{C()})},y=()=>{var f,d,b;(f=$.value)==null||f.setSizePoses(),(d=c.value)==null||d.setSizePoses(),(b=a.value)==null||b.setSizePoses()},C=()=>{var f,d,b;(f=$.value)==null||f.setCursor(),(d=c.value)==null||d.setCursor(),(b=a.value)==null||b.setCursor()},h=(f,d)=>{const{r:b,g:L,b:H}=W(f),{h:G,s:V,v:X}=A({r:b,g:L,b:H});e.value=G,r.value=V,i.value=X,t.showOpacity&&(g.value=d)},p=async()=>{const b=(await new window.EyeDropper().open({})).sRGBHex;h(b,"1")};return(f,d)=>(B(),E("div",De,[D(fe,{ref_key:"gradientRef",ref:$,width:v.value,currentColor:w.value,hue:e.value,sat:r.value,"onUpdate:sat":d[0]||(d[0]=b=>r.value=b),val:i.value,"onUpdate:val":d[1]||(d[1]=b=>i.value=b)},null,8,["width","currentColor","hue","sat","val"]),_("div",Ne,[_("div",{class:"slider-container",ref_key:"sliderRef",ref:m},[D(ge,{ref_key:"hueRef",ref:c,width:l.value,hue:e.value,"onUpdate:hue":d[2]||(d[2]=b=>e.value=b)},null,8,["width","hue"]),t.showOpacity?(B(),ue(Ce,{key:0,ref_key:"opacityRef",ref:a,width:l.value,alpha:g.value,"onUpdate:alpha":d[3]||(d[3]=b=>g.value=b),hue:e.value,sat:r.value,val:i.value},null,8,["width","alpha","hue","sat","val"])):N("",!0)],512),_("div",{class:"square",onClick:p},[_("span",{style:S({backgroundColor:w.value})},null,4)])]),D(Fe,{hue:e.value,"onUpdate:hue":d[4]||(d[4]=b=>e.value=b),sat:r.value,"onUpdate:sat":d[5]||(d[5]=b=>r.value=b),val:i.value,"onUpdate:val":d[6]||(d[6]=b=>i.value=b),alpha:g.value,"onUpdate:alpha":d[7]||(d[7]=b=>g.value=b),showOpacity:t.showOpacity},null,8,["hue","sat","val","alpha","showOpacity"]),D(He,le(f.$attrs,{currentColor:w.value,showOpacity:f.showOpacity,onSelect:h}),null,16,["currentColor","showOpacity"])]))}}),ze=I(Pe,[["__scopeId","data-v-2dcba686"]]),Ae=n=>(Y("data-v-b93e6bd1"),n=n(),q(),n),Ge={class:"color-picker-container"},Ve=Ae(()=>_("div",{class:"tips"},ce("Color Picker"),-1)),Xe={class:"color-panel"},We=F({__name:"index",setup(n){const s=x("#f2f5f7");return(t,o)=>(B(),E("div",Ge,[_("div",{class:"color-picker-content",style:S({"background-color":s.value})},[Ve,_("div",Xe,[D(ze,{value:s.value,"onUpdate:value":o[0]||(o[0]=v=>s.value=v)},null,8,["value"])])],4)]))}}),qe=I(We,[["__scopeId","data-v-b93e6bd1"]]);export{qe as default}; diff --git a/static/js/index-By46uPpP.js b/static/js/index-By46uPpP.js new file mode 100644 index 0000000..eeb22b0 --- /dev/null +++ b/static/js/index-By46uPpP.js @@ -0,0 +1,22 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/Filter-BI3HblDZ.js","static/css/Filter-C2oOhhXQ.css","static/js/Light-DI0ImfPE.js","static/css/Light-CkQ67LGo.css","static/js/Pop-BGnAlR0T.js","static/css/Pop-B_CKgP9O.css","static/js/Stars-CWCR_F-y.js","static/css/Stars-Ei3JcB-V.css","static/js/index-CIClU4gn.js","static/js/index-Cc7JnbWS.js","static/css/index-DWvJikDq.css","static/js/index-DoKAQG2x.js","static/css/index-B9WerH2a.css","static/js/index-v2aYuXbQ.js","static/js/color-CWPKctqu.js","static/css/index-D0MTDZ4D.css","static/js/index-uvhJy5fG.js","static/css/index-UDtw7Js3.css","static/js/index-CdstpUXs.js","static/css/index-DykBp_fr.css","static/js/index-B36xn1AJ.js","static/css/index-Dc81sOc0.css","static/js/index-B5MciD-4.js","static/css/index-CNMw-Cws.css","static/js/index-Q5L57mrM.js","static/css/index-CpRVAPTG.css","static/js/index-B1KFlCeS.js","static/js/commonjsHelpers-Cpj98o6Y.js","static/css/index-Bb0uzudi.css","static/js/index-IeShAYuC.js","static/css/index-CI-UQmnC.css"])))=>i.map(i=>d[i]); +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Rs(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const oe={},At=[],Te=()=>{},$i=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xs=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ni=Object.prototype.hasOwnProperty,W=(e,t)=>Ni.call(e,t),D=Array.isArray,Tt=e=>In(e)==="[object Map]",to=e=>In(e)==="[object Set]",B=e=>typeof e=="function",ce=e=>typeof e=="string",ut=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",no=e=>(re(e)||B(e))&&B(e.then)&&B(e.catch),so=Object.prototype.toString,In=e=>so.call(e),Fi=e=>In(e).slice(8,-1),ro=e=>In(e)==="[object Object]",As=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bt=Rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ln=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vi=/-(\w)/g,$e=Ln(e=>e.replace(Vi,(t,n)=>n?n.toUpperCase():"")),Hi=/\B([A-Z])/g,bt=Ln(e=>e.replace(Hi,"-$1").toLowerCase()),Mn=Ln(e=>e.charAt(0).toUpperCase()+e.slice(1)),zn=Ln(e=>e?`on${Mn(e)}`:""),lt=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ls=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Di=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Ys;const io=()=>Ys||(Ys=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Nn(e){let t="";if(ce(e))t=e;else if(D(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Gi=e=>ce(e)?e:e==null?"":D(e)||re(e)&&(e.toString===so||!B(e.toString))?co(e)?Gi(e.value):JSON.stringify(e,uo,2):String(e),uo=(e,t)=>co(t)?uo(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Qn(s,o)+" =>"]=r,n),{})}:to(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qn(n))}:ut(t)?Qn(t):re(t)&&!D(t)&&!ro(t)?String(t):t,Qn=(e,t="")=>{var n;return ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Me;class zi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),at()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=rt,n=mt;try{return rt=!0,mt=this,this._runnings++,Js(this),this.fn()}finally{Xs(this),this._runnings--,mt=n,rt=t}}stop(){this.active&&(Js(this),Xs(this),this.onStop&&this.onStop(),this.active=!1)}}function Ji(e){return e.value}function Js(e){e._trackId++,e._depsLength=0}function Xs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},fs=new WeakMap,_t=Symbol(""),as=Symbol("");function Ce(e,t,n){if(rt&&mt){let s=fs.get(e);s||fs.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=go(()=>s.delete(n))),ho(mt,r)}}function qe(e,t,n,s,r,o){const i=fs.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&D(e)){const c=Number(s);i.forEach((a,d)=>{(d==="length"||!ut(d)&&d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?As(n)&&l.push(i.get("length")):(l.push(i.get(_t)),Tt(e)&&l.push(i.get(as)));break;case"delete":D(e)||(l.push(i.get(_t)),Tt(e)&&l.push(i.get(as)));break;case"set":Tt(e)&&l.push(i.get(_t));break}Os();for(const c of l)c&&po(c,4);Is()}const Xi=Rs("__proto__,__v_isRef,__isVue"),mo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut)),Zs=Zi();function Zi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=q(this);for(let o=0,i=this.length;o{e[t]=function(...n){ft(),Os();const s=q(this)[t].apply(this,n);return Is(),at(),s}}),e}function el(e){ut(e)||(e=String(e));const t=q(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class _o{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?hl:Eo:o?bo:vo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!r){if(i&&W(Zs,n))return Reflect.get(Zs,n,s);if(n==="hasOwnProperty")return el}const l=Reflect.get(t,n,s);return(ut(n)?mo.has(n):Xi(n))||(r||Ce(t,"get",n),o)?l:we(l)?i&&As(n)?l:l.value:re(l)?r?wo(l):Vn(l):l}}class yo extends _o{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=yt(o);if(!It(s)&&!yt(s)&&(o=q(o),s=q(s)),!D(t)&&we(o)&&!we(s))return c?!1:(o.value=s,!0)}const i=D(t)&&As(n)?Number(n)e,Fn=e=>Reflect.getPrototypeOf(e);function ln(e,t,n=!1,s=!1){e=e.__v_raw;const r=q(e),o=q(t);n||(lt(t,o)&&Ce(r,"get",t),Ce(r,"get",o));const{has:i}=Fn(r),l=s?Ls:n?Ns:Yt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function cn(e,t=!1){const n=this.__v_raw,s=q(n),r=q(e);return t||(lt(e,r)&&Ce(s,"has",e),Ce(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function un(e,t=!1){return e=e.__v_raw,!t&&Ce(q(e),"iterate",_t),Reflect.get(e,"size",e)}function er(e,t=!1){!t&&!It(e)&&!yt(e)&&(e=q(e));const n=q(this);return Fn(n).has.call(n,e)||(n.add(e),qe(n,"add",e,e)),this}function tr(e,t,n=!1){!n&&!It(t)&&!yt(t)&&(t=q(t));const s=q(this),{has:r,get:o}=Fn(s);let i=r.call(s,e);i||(e=q(e),i=r.call(s,e));const l=o.call(s,e);return s.set(e,t),i?lt(t,l)&&qe(s,"set",e,t):qe(s,"add",e,t),this}function nr(e){const t=q(this),{has:n,get:s}=Fn(t);let r=n.call(t,e);r||(e=q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&qe(t,"delete",e,void 0),o}function sr(){const e=q(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function fn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=q(i),c=t?Ls:e?Ns:Yt;return!e&&Ce(l,"iterate",_t),i.forEach((a,d)=>s.call(r,c(a),c(d),o))}}function an(e,t,n){return function(...s){const r=this.__v_raw,o=q(r),i=Tt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),d=n?Ls:t?Ns:Yt;return!t&&Ce(o,"iterate",c?as:_t),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[d(h[0]),d(h[1])]:d(h),done:p}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ol(){const e={get(o){return ln(this,o)},get size(){return un(this)},has:cn,add:er,set:tr,delete:nr,clear:sr,forEach:fn(!1,!1)},t={get(o){return ln(this,o,!1,!0)},get size(){return un(this)},has:cn,add(o){return er.call(this,o,!0)},set(o,i){return tr.call(this,o,i,!0)},delete:nr,clear:sr,forEach:fn(!1,!0)},n={get(o){return ln(this,o,!0)},get size(){return un(this,!0)},has(o){return cn.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:fn(!0,!1)},s={get(o){return ln(this,o,!0,!0)},get size(){return un(this,!0)},has(o){return cn.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=an(o,!1,!1),n[o]=an(o,!0,!1),t[o]=an(o,!1,!0),s[o]=an(o,!0,!0)}),[e,n,t,s]}const[il,ll,cl,ul]=ol();function Ms(e,t){const n=t?e?ul:cl:e?ll:il;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const fl={get:Ms(!1,!1)},al={get:Ms(!1,!0)},dl={get:Ms(!0,!1)};const vo=new WeakMap,bo=new WeakMap,Eo=new WeakMap,hl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl(Fi(e))}function Vn(e){return yt(e)?e:$s(e,!1,nl,fl,vo)}function Co(e){return $s(e,!1,rl,al,bo)}function wo(e){return $s(e,!0,sl,dl,Eo)}function $s(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=gl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function kt(e){return yt(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function It(e){return!!(e&&e.__v_isShallow)}function So(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function ml(e){return Object.isExtensible(e)&&oo(e,"__v_skip",!0),e}const Yt=e=>re(e)?Vn(e):e,Ns=e=>re(e)?wo(e):e;class Ro{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ts(()=>t(this._value),()=>mn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=q(this);return(!t._cacheable||t.effect.dirty)&<(t._value,t._value=t.effect.run())&&mn(t,4),xo(t),t.effect._dirtyLevel>=2&&mn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function _l(e,t,n=!1){let s,r;const o=B(e);return o?(s=e,r=Te):(s=e.get,r=e.set),new Ro(s,r,o||!r,n)}function xo(e){var t;rt&&mt&&(e=q(e),ho(mt,(t=e.dep)!=null?t:e.dep=go(()=>e.dep=void 0,e instanceof Ro?e:void 0)))}function mn(e,t=4,n,s){e=q(e);const r=e.dep;r&&po(r,t)}function we(e){return!!(e&&e.__v_isRef===!0)}function _n(e){return Po(e,!1)}function yl(e){return Po(e,!0)}function Po(e,t){return we(e)?e:new vl(e,t)}class vl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:q(t),this._value=n?t:Yt(t)}get value(){return xo(this),this._value}set value(t){const n=this.__v_isShallow||It(t)||yt(t);t=n?t:q(t),lt(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Yt(t),mn(this,4))}}function ot(e){return we(e)?e.value:e}const bl={get:(e,t,n)=>ot(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return we(r)&&!we(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ao(e){return kt(e)?e:new Proxy(e,bl)}/** +* @vue/runtime-core v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function it(e,t,n,s){try{return s?e(...s):e()}catch(r){nn(r,t,n)}}function Oe(e,t,n,s){if(B(e)){const r=it(e,t,n,s);return r&&no(r)&&r.catch(o=>{nn(o,t,n)}),r}if(D(e)){const r=[];for(let o=0;o>>1,r=_e[s],o=Xt(r);oje&&_e.splice(t,1)}function Sl(e){D(e)?Ot.push(...e):(!et||!et.includes(e,e.allowRecurse?gt+1:gt))&&Ot.push(e),Io()}function rr(e,t,n=Jt?je+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s()}}}function Lo(e){if(Ot.length){const t=[...new Set(Ot)].sort((n,s)=>Xt(n)-Xt(s));if(Ot.length=0,et){et.push(...t);return}for(et=t,gt=0;gte.id==null?1/0:e.id,Rl=(e,t)=>{const n=Xt(e)-Xt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Mo(e){ds=!1,Jt=!0,_e.sort(Rl);try{for(je=0;je<_e.length;je++){const t=_e[je];t&&t.active!==!1&&it(t,t.i,t.i?15:14)}}finally{je=0,_e.length=0,Lo(),Jt=!1,Fs=null,(_e.length||Ot.length)&&Mo()}}let ge=null,Dn=null;function Cn(e){const t=ge;return ge=e,Dn=e&&e.type.__scopeId||null,t}function xl(e){Dn=e}function Pl(){Dn=null}function $o(e,t=ge,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&_r(-1);const o=Cn(t);let i;try{i=e(...r)}finally{Cn(o),s._d&&_r(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Hf(e,t){if(ge===null)return e;const n=Wn(ge),s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ho(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],Tl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe};function Ol(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 hs(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:C,onLeaveCancelled:P,onBeforeAppear:H,onAppear:F,onAfterAppear:A,onAppearCancelled:I}=t,K=String(e.key),ee=Ol(n,e),V=(k,Y)=>{k&&Oe(k,s,9,Y)},te=(k,Y)=>{const ne=Y[1];V(k,Y),D(k)?k.every(L=>L.length<=1)&&ne():k.length<=1&&ne()},ae={mode:i,persisted:l,beforeEnter(k){let Y=c;if(!n.isMounted)if(o)Y=H||c;else return;k[St]&&k[St](!0);const ne=ee[K];ne&&Rt(e,ne)&&ne.el[St]&&ne.el[St](),V(Y,[k])},enter(k){let Y=a,ne=d,L=h;if(!n.isMounted)if(o)Y=F||a,ne=A||d,L=I||h;else return;let G=!1;const de=k[dn]=Ie=>{G||(G=!0,Ie?V(L,[k]):V(ne,[k]),ae.delayedLeave&&ae.delayedLeave(),k[dn]=void 0)};Y?te(Y,[k,de]):de()},leave(k,Y){const ne=String(e.key);if(k[dn]&&k[dn](!0),n.isUnmounting)return Y();V(p,[k]);let L=!1;const G=k[St]=de=>{L||(L=!0,Y(),de?V(P,[k]):V(C,[k]),k[St]=void 0,ee[ne]===e&&delete ee[ne])};ee[ne]=e,m?te(m,[k,G]):G()},clone(k){return hs(k,t,n,s)}};return ae}function wn(e,t){e.shapeFlag&6&&e.component?wn(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 No(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function hn(e){B(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,d=0;const h=()=>(d++,c=null,p()),p=()=>{let m;return c||(m=c=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((P,H)=>{l(C,()=>P(h()),()=>H(C),d+1)});throw C}).then(C=>m!==c&&c?c:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),a=C,C)))};return Nt({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const m=pe;if(a)return()=>Yn(a,m);const C=A=>{c=null,nn(A,m,13,!s)};if(i&&m.suspense||rn)return p().then(A=>()=>Yn(A,m)).catch(A=>(C(A),()=>s?le(s,{error:A}):null));const P=_n(!1),H=_n(),F=_n(!!r);return r&&setTimeout(()=>{F.value=!1},r),o!=null&&setTimeout(()=>{if(!P.value&&!H.value){const A=new Error(`Async component timed out after ${o}ms.`);C(A),H.value=A}},o),p().then(()=>{P.value=!0,m.parent&&Vs(m.parent.vnode)&&(m.parent.effect.dirty=!0,Hn(m.parent.update))}).catch(A=>{C(A),H.value=A}),()=>{if(P.value&&a)return Yn(a,m);if(H.value&&s)return le(s,{error:H.value});if(n&&!F.value)return le(n)}}})}function Yn(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=le(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Vs=e=>e.type.__isKeepAlive;function Il(e,t){Fo(e,"a",t)}function Ll(e,t){Fo(e,"da",t)}function Fo(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(jn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Vs(r.parent.vnode)&&Ml(s,t,n,r),r=r.parent}}function Ml(e,t,n,s){const r=jn(t,e,s,!0);Ds(()=>{Ps(s[t],r)},n)}function jn(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ft();const l=sn(n),c=Oe(t,n,e,i);return l(),at(),c});return s?r.unshift(o):r.push(o),o}}const ze=e=>(t,n=pe)=>{(!rn||e==="sp")&&jn(e,(...s)=>t(...s),n)},$l=ze("bm"),Hs=ze("m"),Nl=ze("bu"),Vo=ze("u"),Ho=ze("bum"),Ds=ze("um"),Fl=ze("sp"),Vl=ze("rtg"),Hl=ze("rtc");function Dl(e,t=pe){jn("ec",e,t)}const Do="components";function Df(e,t){return Bo(Do,e,!0,t)||e}const jo=Symbol.for("v-ndc");function jl(e){return ce(e)?Bo(Do,e,!1)||e:e||jo}function Bo(e,t,n=!0,s=!1){const r=ge||pe;if(r){const o=r.type;{const l=Ic(o,!1);if(l&&(l===t||l===$e(t)||l===Mn($e(t))))return o}const i=or(r[e]||o[e],t)||or(r.appContext[e],t);return!i&&s?o:i}}function or(e,t){return e&&(e[t]||e[$e(t)]||e[Mn($e(t))])}function jf(e,t,n,s){let r;const o=n;if(D(e)||ce(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lxn(t)?!(t.type===Ge||t.type===Ee&&!ko(t.children)):!0)?e:null}const ps=e=>e?ci(e)?Wn(e):ps(e.parent):null,Kt=fe(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=>ps(e.parent),$root:e=>ps(e.root),$emit:e=>e.emit,$options:e=>js(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Hn(e.update)}),$nextTick:e=>e.n||(e.n=Oo.bind(e.proxy)),$watch:e=>fc.bind(e)}),Jn=(e,t)=>e!==oe&&!e.__isScriptSetup&&W(e,t),Bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Jn(s,t))return i[t]=1,s[t];if(r!==oe&&W(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&W(a,t))return i[t]=3,o[t];if(n!==oe&&W(n,t))return i[t]=4,n[t];gs&&(i[t]=0)}}const d=Kt[t];let h,p;if(d)return t==="$attrs"&&Ce(e.attrs,"get",""),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==oe&&W(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,W(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Jn(r,t)?(r[t]=n,!0):s!==oe&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==oe&&W(e,i)||Jn(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(Kt,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function lr(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gs=!0;function kl(e){const t=js(e),n=e.proxy,s=e.ctx;gs=!1,t.beforeCreate&&cr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:d,beforeMount:h,mounted:p,beforeUpdate:m,updated:C,activated:P,deactivated:H,beforeDestroy:F,beforeUnmount:A,destroyed:I,unmounted:K,render:ee,renderTracked:V,renderTriggered:te,errorCaptured:ae,serverPrefetch:k,expose:Y,inheritAttrs:ne,components:L,directives:G,filters:de}=t;if(a&&Ul(a,s,null),i)for(const Z in i){const z=i[Z];B(z)&&(s[Z]=z.bind(n))}if(r){const Z=r.call(n,n);re(Z)&&(e.data=Vn(Z))}if(gs=!0,o)for(const Z in o){const z=o[Z],ke=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Te,Qe=!B(z)&&B(z.set)?z.set.bind(n):Te,Fe=Ae({get:ke,set:Qe});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ve=>Fe.value=ve})}if(l)for(const Z in l)Uo(l[Z],s,n,Z);if(c){const Z=B(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(z=>{yn(z,Z[z])})}d&&cr(d,e,"c");function ue(Z,z){D(z)?z.forEach(ke=>Z(ke.bind(n))):z&&Z(z.bind(n))}if(ue($l,h),ue(Hs,p),ue(Nl,m),ue(Vo,C),ue(Il,P),ue(Ll,H),ue(Dl,ae),ue(Hl,V),ue(Vl,te),ue(Ho,A),ue(Ds,K),ue(Fl,k),D(Y))if(Y.length){const Z=e.exposed||(e.exposed={});Y.forEach(z=>{Object.defineProperty(Z,z,{get:()=>n[z],set:ke=>n[z]=ke})})}else e.exposed||(e.exposed={});ee&&e.render===Te&&(e.render=ee),ne!=null&&(e.inheritAttrs=ne),L&&(e.components=L),G&&(e.directives=G)}function Ul(e,t,n=Te){D(e)&&(e=ms(e));for(const s in e){const r=e[s];let o;re(r)?"default"in r?o=Be(r.from||s,r.default,!0):o=Be(r.from||s):o=Be(r),we(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function cr(e,t,n){Oe(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Uo(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(ce(e)){const o=t[e];B(o)&&vn(r,o)}else if(B(e))vn(r,e.bind(n));else if(re(e))if(D(e))e.forEach(o=>Uo(o,t,n,s));else{const o=B(e.handler)?e.handler.bind(n):t[e.handler];B(o)&&vn(r,o,e)}}function js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Sn(c,a,i,!0)),Sn(c,t,i)),re(t)&&o.set(t,c),c}function Sn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Sn(e,o,n,!0),r&&r.forEach(i=>Sn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Kl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Kl={data:ur,props:fr,emits:fr,methods:jt,computed:jt,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:jt,directives:jt,watch:ql,provide:ur,inject:Wl};function ur(e,t){return t?e?function(){return fe(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Wl(e,t){return jt(ms(e),ms(t))}function ms(e){if(D(e)){const t={};for(let n=0;n1)return n&&B(t)?t.call(s&&s.proxy):t}}const Wo={},qo=()=>Object.create(Wo),Go=e=>Object.getPrototypeOf(e)===Wo;function Ql(e,t,n,s=!1){const r={},o=qo();e.propsDefaults=Object.create(null),zo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Co(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Yl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=q(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,m]=Qo(h,t,!0);fe(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return re(e)&&s.set(e,At),At;if(D(o))for(let d=0;d-1,m[1]=P<0||C-1||W(m,"default"))&&l.push(h)}}}const a=[i,l];return re(e)&&s.set(e,a),a}function ar(e){return e[0]!=="$"&&!Bt(e)}function dr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hr(e,t){return dr(e)===dr(t)}function pr(e,t){return D(t)?t.findIndex(n=>hr(n,e)):B(t)&&hr(t,e)?0:-1}const Yo=e=>e[0]==="_"||e==="$stable",Bs=e=>D(e)?e.map(De):[De(e)],Xl=(e,t,n)=>{if(t._n)return t;const s=$o((...r)=>Bs(t(...r)),n);return s._c=!1,s},Jo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Yo(r))continue;const o=e[r];if(B(o))t[r]=Xl(r,o,s);else if(o!=null){const i=Bs(o);t[r]=()=>i}}},Xo=(e,t)=>{const n=Bs(t);e.slots.default=()=>n},Zo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Zl=(e,t,n)=>{const s=e.slots=qo();if(e.vnode.shapeFlag&32){const r=t._;r?(Zo(s,t,n),n&&oo(s,"_",r,!0)):Jo(t,s)}else t&&Xo(e,t)},ec=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Zo(r,t,n):(o=!t.$stable,Jo(t,r)),i=t}else t&&(Xo(e,t),i={default:1});if(o)for(const l in r)!Yo(l)&&i[l]==null&&delete r[l]};function ys(e,t,n,s,r=!1){if(D(e)){e.forEach((p,m)=>ys(p,t&&(D(t)?t[m]:t),n,s,r));return}if(Ut(s)&&!r)return;const o=s.shapeFlag&4?Wn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,d=l.refs===oe?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(ce(a)?(d[a]=null,W(h,a)&&(h[a]=null)):we(a)&&(a.value=null)),B(c))it(c,l,12,[i,d]);else{const p=ce(c),m=we(c);if(p||m){const C=()=>{if(e.f){const P=p?W(h,c)?h[c]:d[c]:c.value;r?D(P)&&Ps(P,o):D(P)?P.includes(o)||P.push(o):p?(d[c]=[o],W(h,c)&&(h[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else p?(d[c]=i,W(h,c)&&(h[c]=i)):m&&(c.value=i,e.k&&(d[e.k]=i))};i?(C.id=-1,be(C,n)):C()}}}const tc=Symbol("_vte"),nc=e=>e.__isTeleport,be=yc;function sc(e){return rc(e)}function rc(e,t){const n=io();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:d,parentNode:h,nextSibling:p,setScopeId:m=Te,insertStaticContent:C}=e,P=(u,f,g,v=null,_=null,E=null,R=void 0,w=null,S=!!f.dynamicChildren)=>{if(u===f)return;u&&!Rt(u,f)&&(v=y(u),ve(u,_,E,!0),u=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:b,ref:O,shapeFlag:N}=f;switch(b){case kn:H(u,f,g,v);break;case Ge:F(u,f,g,v);break;case qt:u==null&&A(f,g,v,R);break;case Ee:L(u,f,g,v,_,E,R,w,S);break;default:N&1?ee(u,f,g,v,_,E,R,w,S):N&6?G(u,f,g,v,_,E,R,w,S):(N&64||N&128)&&b.process(u,f,g,v,_,E,R,w,S,M)}O!=null&&_&&ys(O,u&&u.ref,E,f||u,!f)},H=(u,f,g,v)=>{if(u==null)s(f.el=l(f.children),g,v);else{const _=f.el=u.el;f.children!==u.children&&a(_,f.children)}},F=(u,f,g,v)=>{u==null?s(f.el=c(f.children||""),g,v):f.el=u.el},A=(u,f,g,v)=>{[u.el,u.anchor]=C(u.children,f,g,v,u.el,u.anchor)},I=({el:u,anchor:f},g,v)=>{let _;for(;u&&u!==f;)_=p(u),s(u,g,v),u=_;s(f,g,v)},K=({el:u,anchor:f})=>{let g;for(;u&&u!==f;)g=p(u),r(u),u=g;r(f)},ee=(u,f,g,v,_,E,R,w,S)=>{f.type==="svg"?R="svg":f.type==="math"&&(R="mathml"),u==null?V(f,g,v,_,E,R,w,S):k(u,f,_,E,R,w,S)},V=(u,f,g,v,_,E,R,w)=>{let S,b;const{props:O,shapeFlag:N,transition:$,dirs:j}=u;if(S=u.el=i(u.type,E,O&&O.is,O),N&8?d(S,u.children):N&16&&ae(u.children,S,null,v,_,Xn(u,E),R,w),j&&dt(u,null,v,"created"),te(S,u,u.scopeId,R,v),O){for(const se in O)se!=="value"&&!Bt(se)&&o(S,se,null,O[se],E,v);"value"in O&&o(S,"value",null,O.value,E),(b=O.onVnodeBeforeMount)&&He(b,v,u)}j&&dt(u,null,v,"beforeMount");const U=oc(_,$);U&&$.beforeEnter(S),s(S,f,g),((b=O&&O.onVnodeMounted)||U||j)&&be(()=>{b&&He(b,v,u),U&&$.enter(S),j&&dt(u,null,v,"mounted")},_)},te=(u,f,g,v,_)=>{if(g&&m(u,g),v)for(let E=0;E{for(let b=S;b{const w=f.el=u.el;let{patchFlag:S,dynamicChildren:b,dirs:O}=f;S|=u.patchFlag&16;const N=u.props||oe,$=f.props||oe;let j;if(g&&ht(g,!1),(j=$.onVnodeBeforeUpdate)&&He(j,g,f,u),O&&dt(f,u,g,"beforeUpdate"),g&&ht(g,!0),(N.innerHTML&&$.innerHTML==null||N.textContent&&$.textContent==null)&&d(w,""),b?Y(u.dynamicChildren,b,w,g,v,Xn(f,_),E):R||z(u,f,w,null,g,v,Xn(f,_),E,!1),S>0){if(S&16)ne(w,N,$,g,_);else if(S&2&&N.class!==$.class&&o(w,"class",null,$.class,_),S&4&&o(w,"style",N.style,$.style,_),S&8){const U=f.dynamicProps;for(let se=0;se{j&&He(j,g,f,u),O&&dt(f,u,g,"updated")},v)},Y=(u,f,g,v,_,E,R)=>{for(let w=0;w{if(f!==g){if(f!==oe)for(const E in f)!Bt(E)&&!(E in g)&&o(u,E,f[E],null,_,v);for(const E in g){if(Bt(E))continue;const R=g[E],w=f[E];R!==w&&E!=="value"&&o(u,E,w,R,_,v)}"value"in g&&o(u,"value",f.value,g.value,_)}},L=(u,f,g,v,_,E,R,w,S)=>{const b=f.el=u?u.el:l(""),O=f.anchor=u?u.anchor:l("");let{patchFlag:N,dynamicChildren:$,slotScopeIds:j}=f;j&&(w=w?w.concat(j):j),u==null?(s(b,g,v),s(O,g,v),ae(f.children||[],g,O,_,E,R,w,S)):N>0&&N&64&&$&&u.dynamicChildren?(Y(u.dynamicChildren,$,g,_,E,R,w),(f.key!=null||_&&f===_.subTree)&&ei(u,f,!0)):z(u,f,g,O,_,E,R,w,S)},G=(u,f,g,v,_,E,R,w,S)=>{f.slotScopeIds=w,u==null?f.shapeFlag&512?_.ctx.activate(f,g,v,R,S):de(f,g,v,_,E,R,S):Ie(u,f,S)},de=(u,f,g,v,_,E,R)=>{const w=u.component=xc(u,v,_);if(Vs(u)&&(w.ctx.renderer=M),Pc(w,!1,R),w.asyncDep){if(_&&_.registerDep(w,ue,R),!u.el){const S=w.subTree=le(Ge);F(null,S,f,g)}}else ue(w,u,f,g,_,E,R)},Ie=(u,f,g)=>{const v=f.component=u.component;if(gc(u,f,g))if(v.asyncDep&&!v.asyncResolved){Z(v,f,g);return}else v.next=f,wl(v.update),v.effect.dirty=!0,v.update();else f.el=u.el,v.vnode=f},ue=(u,f,g,v,_,E,R)=>{const w=()=>{if(u.isMounted){let{next:O,bu:N,u:$,parent:j,vnode:U}=u;{const wt=ti(u);if(wt){O&&(O.el=U.el,Z(u,O,R)),wt.asyncDep.then(()=>{u.isUnmounted||w()});return}}let se=O,Q;ht(u,!1),O?(O.el=U.el,Z(u,O,R)):O=U,N&&gn(N),(Q=O.props&&O.props.onVnodeBeforeUpdate)&&He(Q,j,O,U),ht(u,!0);const he=Zn(u),Le=u.subTree;u.subTree=he,P(Le,he,h(Le.el),y(Le),u,_,E),O.el=he.el,se===null&&mc(u,he.el),$&&be($,_),(Q=O.props&&O.props.onVnodeUpdated)&&be(()=>He(Q,j,O,U),_)}else{let O;const{el:N,props:$}=f,{bm:j,m:U,parent:se}=u,Q=Ut(f);if(ht(u,!1),j&&gn(j),!Q&&(O=$&&$.onVnodeBeforeMount)&&He(O,se,f),ht(u,!0),N&&ie){const he=()=>{u.subTree=Zn(u),ie(N,u.subTree,u,_,null)};Q?f.type.__asyncLoader().then(()=>!u.isUnmounted&&he()):he()}else{const he=u.subTree=Zn(u);P(null,he,g,v,u,_,E),f.el=he.el}if(U&&be(U,_),!Q&&(O=$&&$.onVnodeMounted)){const he=f;be(()=>He(O,se,he),_)}(f.shapeFlag&256||se&&Ut(se.vnode)&&se.vnode.shapeFlag&256)&&u.a&&be(u.a,_),u.isMounted=!0,f=g=v=null}},S=u.effect=new Ts(w,Te,()=>Hn(b),u.scope),b=u.update=()=>{S.dirty&&S.run()};b.i=u,b.id=u.uid,ht(u,!0),b()},Z=(u,f,g)=>{f.component=u;const v=u.vnode.props;u.vnode=f,u.next=null,Yl(u,f.props,v,g),ec(u,f.children,g),ft(),rr(u),at()},z=(u,f,g,v,_,E,R,w,S=!1)=>{const b=u&&u.children,O=u?u.shapeFlag:0,N=f.children,{patchFlag:$,shapeFlag:j}=f;if($>0){if($&128){Qe(b,N,g,v,_,E,R,w,S);return}else if($&256){ke(b,N,g,v,_,E,R,w,S);return}}j&8?(O&16&&xe(b,_,E),N!==b&&d(g,N)):O&16?j&16?Qe(b,N,g,v,_,E,R,w,S):xe(b,_,E,!0):(O&8&&d(g,""),j&16&&ae(N,g,v,_,E,R,w,S))},ke=(u,f,g,v,_,E,R,w,S)=>{u=u||At,f=f||At;const b=u.length,O=f.length,N=Math.min(b,O);let $;for($=0;$O?xe(u,_,E,!0,!1,N):ae(f,g,v,_,E,R,w,S,N)},Qe=(u,f,g,v,_,E,R,w,S)=>{let b=0;const O=f.length;let N=u.length-1,$=O-1;for(;b<=N&&b<=$;){const j=u[b],U=f[b]=S?tt(f[b]):De(f[b]);if(Rt(j,U))P(j,U,g,null,_,E,R,w,S);else break;b++}for(;b<=N&&b<=$;){const j=u[N],U=f[$]=S?tt(f[$]):De(f[$]);if(Rt(j,U))P(j,U,g,null,_,E,R,w,S);else break;N--,$--}if(b>N){if(b<=$){const j=$+1,U=j$)for(;b<=N;)ve(u[b],_,E,!0),b++;else{const j=b,U=b,se=new Map;for(b=U;b<=$;b++){const Se=f[b]=S?tt(f[b]):De(f[b]);Se.key!=null&&se.set(Se.key,b)}let Q,he=0;const Le=$-U+1;let wt=!1,Gs=0;const Ft=new Array(Le);for(b=0;b=Le){ve(Se,_,E,!0);continue}let Ve;if(Se.key!=null)Ve=se.get(Se.key);else for(Q=U;Q<=$;Q++)if(Ft[Q-U]===0&&Rt(Se,f[Q])){Ve=Q;break}Ve===void 0?ve(Se,_,E,!0):(Ft[Ve-U]=b+1,Ve>=Gs?Gs=Ve:wt=!0,P(Se,f[Ve],g,null,_,E,R,w,S),he++)}const zs=wt?ic(Ft):At;for(Q=zs.length-1,b=Le-1;b>=0;b--){const Se=U+b,Ve=f[Se],Qs=Se+1{const{el:E,type:R,transition:w,children:S,shapeFlag:b}=u;if(b&6){Fe(u.component.subTree,f,g,v);return}if(b&128){u.suspense.move(f,g,v);return}if(b&64){R.move(u,f,g,M);return}if(R===Ee){s(E,f,g);for(let N=0;Nw.enter(E),_);else{const{leave:N,delayLeave:$,afterLeave:j}=w,U=()=>s(E,f,g),se=()=>{N(E,()=>{U(),j&&j()})};$?$(E,U,se):se()}else s(E,f,g)},ve=(u,f,g,v=!1,_=!1)=>{const{type:E,props:R,ref:w,children:S,dynamicChildren:b,shapeFlag:O,patchFlag:N,dirs:$,cacheIndex:j}=u;if(N===-2&&(_=!1),w!=null&&ys(w,null,g,u,!0),j!=null&&(f.renderCache[j]=void 0),O&256){f.ctx.deactivate(u);return}const U=O&1&&$,se=!Ut(u);let Q;if(se&&(Q=R&&R.onVnodeBeforeUnmount)&&He(Q,f,u),O&6)on(u.component,g,v);else{if(O&128){u.suspense.unmount(g,v);return}U&&dt(u,null,f,"beforeUnmount"),O&64?u.type.remove(u,f,g,M,v):b&&!b.hasOnce&&(E!==Ee||N>0&&N&64)?xe(b,f,g,!1,!0):(E===Ee&&N&384||!_&&O&16)&&xe(S,f,g),v&&Et(u)}(se&&(Q=R&&R.onVnodeUnmounted)||U)&&be(()=>{Q&&He(Q,f,u),U&&dt(u,null,f,"unmounted")},g)},Et=u=>{const{type:f,el:g,anchor:v,transition:_}=u;if(f===Ee){Ct(g,v);return}if(f===qt){K(u);return}const E=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:w}=_,S=()=>R(g,E);w?w(u.el,E,S):S()}else E()},Ct=(u,f)=>{let g;for(;u!==f;)g=p(u),r(u),u=g;r(f)},on=(u,f,g)=>{const{bum:v,scope:_,update:E,subTree:R,um:w,m:S,a:b}=u;gr(S),gr(b),v&&gn(v),_.stop(),E&&(E.active=!1,ve(R,u,f,g)),w&&be(w,f),be(()=>{u.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},xe=(u,f,g,v=!1,_=!1,E=0)=>{for(let R=E;R{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=p(u.anchor||u.el),g=f&&f[tc];return g?p(g):f};let T=!1;const x=(u,f,g)=>{u==null?f._vnode&&ve(f._vnode,null,null,!0):P(f._vnode||null,u,f,null,null,null,g),T||(T=!0,rr(),Lo(),T=!1),f._vnode=u},M={p:P,um:ve,m:Fe,r:Et,mt:de,mc:ae,pc:z,pbc:Y,n:y,o:e};let J,ie;return{render:x,hydrate:J,createApp:zl(x,J)}}function Xn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ht({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ei(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ti(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ti(t)}function gr(e){if(e)for(let t=0;tBe(lc);function uc(e,t){return ks(e,null,{flush:"post"})}const pn={};function vn(e,t,n){return ks(e,t,n)}function ks(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=oe){if(t&&o){const V=t;t=(...te)=>{V(...te),ee()}}const c=pe,a=V=>s===!0?V:st(V,s===!1?1:void 0);let d,h=!1,p=!1;if(we(e)?(d=()=>e.value,h=It(e)):kt(e)?(d=()=>a(e),h=!0):D(e)?(p=!0,h=e.some(V=>kt(V)||It(V)),d=()=>e.map(V=>{if(we(V))return V.value;if(kt(V))return a(V);if(B(V))return it(V,c,2)})):B(e)?t?d=()=>it(e,c,2):d=()=>(m&&m(),Oe(e,c,3,[C])):d=Te,t&&s){const V=d;d=()=>st(V())}let m,C=V=>{m=I.onStop=()=>{it(V,c,4),m=I.onStop=void 0}},P;if(rn)if(C=Te,t?n&&Oe(t,c,3,[d(),p?[]:void 0,C]):d(),r==="sync"){const V=cc();P=V.__watcherHandles||(V.__watcherHandles=[])}else return Te;let H=p?new Array(e.length).fill(pn):pn;const F=()=>{if(!(!I.active||!I.dirty))if(t){const V=I.run();(s||h||(p?V.some((te,ae)=>lt(te,H[ae])):lt(V,H)))&&(m&&m(),Oe(t,c,3,[V,H===pn?void 0:p&&H[0]===pn?[]:H,C]),H=V)}else I.run()};F.allowRecurse=!!t;let A;r==="sync"?A=F:r==="post"?A=()=>be(F,c&&c.suspense):(F.pre=!0,c&&(F.id=c.uid),A=()=>Hn(F));const I=new Ts(d,Te,A),K=Yi(),ee=()=>{I.stop(),K&&Ps(K.effects,I)};return t?n?F():H=I.run():r==="post"?be(I.run.bind(I),c&&c.suspense):I.run(),P&&P.push(ee),ee}function fc(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let o;B(t)?o=t:(o=t.handler,n=t);const i=sn(this),l=ks(r,o.bind(s),n);return i(),l}function ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{st(s,t,n)});else if(ro(e)){for(const s in e)st(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&st(e[s],t,n)}return e}const ac=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$e(t)}Modifiers`]||e[`${bt(t)}Modifiers`];function dc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||oe;let r=n;const o=t.startsWith("update:"),i=o&&ac(s,t.slice(7));i&&(i.trim&&(r=n.map(d=>ce(d)?d.trim():d)),i.number&&(r=n.map(ls)));let l,c=s[l=zn(t)]||s[l=zn($e(t))];!c&&o&&(c=s[l=zn(bt(t))]),c&&Oe(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Oe(a,e,6,r)}}function si(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!B(e)){const c=a=>{const d=si(a,t,!0);d&&(l=!0,fe(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(re(e)&&s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):fe(i,o),re(e)&&s.set(e,i),i)}function Bn(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,bt(t))||W(e,t))}function Zn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:d,props:h,data:p,setupState:m,ctx:C,inheritAttrs:P}=e,H=Cn(e);let F,A;try{if(n.shapeFlag&4){const K=r||s,ee=K;F=De(a.call(ee,K,d,h,m,p,C)),A=l}else{const K=t;F=De(K.length>1?K(h,{attrs:l,slots:i,emit:c}):K(h,null)),A=t.props?l:hc(l)}}catch(K){Gt.length=0,nn(K,e,1),F=le(Ge)}let I=F;if(A&&P!==!1){const K=Object.keys(A),{shapeFlag:ee}=I;K.length&&ee&7&&(o&&K.some(xs)&&(A=pc(A,o)),I=vt(I,A,!1,!0))}return n.dirs&&(I=vt(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),F=I,Cn(H),F}const hc=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},pc=(e,t)=>{const n={};for(const s in e)(!xs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?mr(s,i,a):!!i;if(c&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;function yc(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}const Ee=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),qt=Symbol.for("v-stc"),Gt=[];let Re=null;function ct(e=!1){Gt.push(Re=e?null:[])}function vc(){Gt.pop(),Re=Gt[Gt.length-1]||null}let Zt=1;function _r(e){Zt+=e,e<0&&Re&&(Re.hasOnce=!0)}function ri(e){return e.dynamicChildren=Zt>0?Re||At:null,vc(),Zt>0&&Re&&Re.push(e),e}function Rn(e,t,n,s,r,o){return ri(Kn(e,t,n,s,r,o,!0))}function Un(e,t,n,s,r){return ri(le(e,t,n,s,r,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const oi=({key:e})=>e??null,bn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||we(e)||B(e)?{i:ge,r:e,k:t,f:!!n}:e:null);function Kn(e,t=null,n=null,s=0,r=null,o=e===Ee?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&oi(t),ref:t&&bn(t),scopeId:Dn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ge};return l?(Us(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),Zt>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const le=bc;function bc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===jo)&&(e=Ge),xn(e)){const l=vt(e,t,!0);return n&&Us(l,n),Zt>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(Lc(e)&&(e=e.__vccOpts),t){t=ii(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=Nn(l)),re(c)&&(So(c)&&!D(c)&&(c=fe({},c)),t.style=$n(c))}const i=ce(e)?1:_c(e)?128:nc(e)?64:re(e)?4:B(e)?2:0;return Kn(e,t,n,s,r,i,o,!0)}function ii(e){return e?So(e)||Go(e)?fe({},e):e:null}function vt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?wc(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&oi(a),ref:t&&t.ref?n&&o?D(o)?o.concat(bn(t)):[o,bn(t)]:bn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&wn(d,c.clone(d)),d}function Ec(e=" ",t=0){return le(kn,null,e,t)}function Bf(e,t){const n=le(qt,null,e);return n.staticCount=t,n}function Cc(e="",t=!1){return t?(ct(),Un(Ge,null,e)):le(Ge,null,e)}function De(e){return e==null||typeof e=="boolean"?le(Ge):D(e)?le(Ee,null,e.slice()):typeof e=="object"?tt(e):le(kn,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function Us(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Us(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Go(t)?t._ctx=ge:r===3&&ge&&(ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:ge},n=32):(t=String(t),s&64?(n=16,t=[Ec(t)]):n=8);e.children=t,e.shapeFlag|=n}function wc(...e){const t={};for(let n=0;npe||ge;let Pn,vs;{const e=io(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Pn=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),vs=t("__VUE_SSR_SETTERS__",n=>rn=n)}const sn=e=>{const t=pe;return Pn(e),e.scope.on(),()=>{e.scope.off(),Pn(t)}},yr=()=>{pe&&pe.scope.off(),Pn(null)};function ci(e){return e.vnode.shapeFlag&4}let rn=!1;function Pc(e,t=!1,n=!1){t&&vs(t);const{props:s,children:r}=e.vnode,o=ci(e);Ql(e,s,o,t),Zl(e,r,n);const i=o?Ac(e,t):void 0;return t&&vs(!1),i}function Ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bl);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Oc(e):null,o=sn(e);ft();const i=it(s,e,0,[e.props,r]);if(at(),o(),no(i)){if(i.then(yr,yr),t)return i.then(l=>{vr(e,l,t)}).catch(l=>{nn(l,e,0)});e.asyncDep=i}else vr(e,i,t)}else ui(e,t)}function vr(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Ao(t)),ui(e,n)}let br;function ui(e,t,n){const s=e.type;if(!e.render){if(!t&&br&&!s.render){const r=s.template||js(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=fe(fe({isCustomElement:o,delimiters:l},i),c);s.render=br(r,a)}}e.render=s.render||Te}{const r=sn(e);ft();try{kl(e)}finally{at(),r()}}}const Tc={get(e,t){return Ce(e,"get",""),e[t]}};function Oc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tc),slots:e.slots,emit:e.emit,expose:t}}function Wn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ao(ml(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function Ic(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}function Lc(e){return B(e)&&"__vccOpts"in e}const Ae=(e,t)=>_l(e,t,rn);function fi(e,t,n){const s=arguments.length;return s===2?re(t)&&!D(t)?xn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&xn(n)&&(n=[n]),le(e,t,n))}const Mc="3.4.33";/** +* @vue/runtime-dom v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const $c="http://www.w3.org/2000/svg",Nc="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Er=We&&We.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==="svg"?We.createElementNS($c,e):t==="mathml"?We.createElementNS(Nc,e):n?We.createElement(e,{is:n}):We.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Er.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Er.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Vt="animation",Lt=Symbol("_vtc"),ai={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},Vc=fe({},Tl,ai),pt=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function Hc(e){const t={};for(const L in e)L in ai||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,C=Dc(r),P=C&&C[0],H=C&&C[1],{onBeforeEnter:F,onEnter:A,onEnterCancelled:I,onLeave:K,onLeaveCancelled:ee,onBeforeAppear:V=F,onAppear:te=A,onAppearCancelled:ae=I}=t,k=(L,G,de)=>{Ze(L,G?d:l),Ze(L,G?a:i),de&&de()},Y=(L,G)=>{L._isLeaving=!1,Ze(L,h),Ze(L,m),Ze(L,p),G&&G()},ne=L=>(G,de)=>{const Ie=L?te:A,ue=()=>k(G,L,de);pt(Ie,[G,ue]),wr(()=>{Ze(G,L?c:o),Ke(G,L?d:l),Cr(Ie)||Sr(G,s,P,ue)})};return fe(t,{onBeforeEnter(L){pt(F,[L]),Ke(L,o),Ke(L,i)},onBeforeAppear(L){pt(V,[L]),Ke(L,c),Ke(L,a)},onEnter:ne(!1),onAppear:ne(!0),onLeave(L,G){L._isLeaving=!0;const de=()=>Y(L,G);Ke(L,h),Ke(L,p),hi(),wr(()=>{L._isLeaving&&(Ze(L,h),Ke(L,m),Cr(K)||Sr(L,s,H,de))}),pt(K,[L,de])},onEnterCancelled(L){k(L,!1),pt(I,[L])},onAppearCancelled(L){k(L,!0),pt(ae,[L])},onLeaveCancelled(L){Y(L),pt(ee,[L])}})}function Dc(e){if(e==null)return null;if(re(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return Di(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Lt]||(e[Lt]=new Set)).add(t)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Lt];n&&(n.delete(t),n.size||(e[Lt]=void 0))}function wr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jc=0;function Sr(e,t,n,s){const r=e._endId=++jc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=di(e,t);if(!i)return s();const a=i+"end";let d=0;const h=()=>{e.removeEventListener(a,p),o()},p=m=>{m.target===e&&++d>=c&&h()};setTimeout(()=>{d(n[C]||"").split(", "),r=s(`${Je}Delay`),o=s(`${Je}Duration`),i=Rr(r,o),l=s(`${Vt}Delay`),c=s(`${Vt}Duration`),a=Rr(l,c);let d=null,h=0,p=0;t===Je?i>0&&(d=Je,h=i,p=o.length):t===Vt?a>0&&(d=Vt,h=a,p=c.length):(h=Math.max(i,a),d=h>0?i>a?Je:Vt:null,p=d?d===Je?o.length:c.length:0);const m=d===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:d,timeout:h,propCount:p,hasTransform:m}}function Rr(e,t){for(;e.lengthxr(n)+xr(e[s])))}function xr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hi(){return document.body.offsetHeight}function Bc(e,t,n){const s=e[Lt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const An=Symbol("_vod"),pi=Symbol("_vsh"),kf={beforeMount(e,{value:t},{transition:n}){e[An]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ht(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),Ht(e,!0),s.enter(e)):s.leave(e,()=>{Ht(e,!1)}):Ht(e,t))},beforeUnmount(e,{value:t}){Ht(e,t)}};function Ht(e,t){e.style.display=t?e[An]:"none",e[pi]=!t}const gi=Symbol("");function Uf(e){const t=li();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Es(o,r))},s=()=>{const r=e(t.proxy);bs(t.subTree,r),n(r)};Hs(()=>{uc(s);const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ds(()=>r.disconnect())})}function bs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{bs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Es(e.el,t);else if(e.type===Ee)e.children.forEach(n=>bs(n,t));else if(e.type===qt){let{el:n,anchor:s}=e;for(;n&&(Es(n,t),n!==s);)n=n.nextSibling}}function Es(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[gi]=s}}const kc=/(^|;)\s*display\s*:/;function Uc(e,t,n){const s=e.style,r=ce(n);let o=!1;if(n&&!r){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&En(s,l,"")}else for(const i in t)n[i]==null&&En(s,i,"");for(const i in n)i==="display"&&(o=!0),En(s,i,n[i])}else if(r){if(t!==n){const i=s[gi];i&&(n+=";"+i),s.cssText=n,o=kc.test(n)}}else t&&e.removeAttribute("style");An in e&&(e[An]=o?s.display:"",e[pi]&&(s.display="none"))}const Pr=/\s*!important$/;function En(e,t,n){if(D(n))n.forEach(s=>En(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Kc(e,t);Pr.test(n)?e.setProperty(bt(s),n.replace(Pr,""),"important"):e[s]=n}}const Ar=["Webkit","Moz","ms"],ts={};function Kc(e,t){const n=ts[t];if(n)return n;let s=$e(t);if(s!=="filter"&&s in e)return ts[t]=s;s=Mn(s);for(let r=0;rns||(Qc.then(()=>ns=0),ns=Date.now());function Jc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Oe(Xc(s,n.value),t,5,[s])};return n.value=e,n.attached=Yc(),n}function Xc(e,t){if(D(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 Mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zc=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Bc(e,s,i):t==="style"?Uc(e,n,s):On(t)?xs(t)||Gc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eu(e,t,s,i))?(Wc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Or(e,t,s,i,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Or(e,t,s,i))};function eu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mr(t)&&B(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Mr(t)&&ce(n)?!1:t in e}const mi=new WeakMap,_i=new WeakMap,Tn=Symbol("_moveCb"),$r=Symbol("_enterCb"),yi={name:"TransitionGroup",props:fe({},Vc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=li(),s=Al();let r,o;return Vo(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!ou(r[0].el,n.vnode.el,i))return;r.forEach(nu),r.forEach(su);const l=r.filter(ru);hi(),l.forEach(c=>{const a=c.el,d=a.style;Ke(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const h=a[Tn]=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",h),a[Tn]=null,Ze(a,i))};a.addEventListener("transitionend",h)})}),()=>{const i=q(e),l=Hc(i);let c=i.tag||Ee;if(r=[],o)for(let a=0;adelete e.mode;yi.props;const Kf=yi;function nu(e){const t=e.el;t[Tn]&&t[Tn](),t[$r]&&t[$r]()}function su(e){_i.set(e,e.el.getBoundingClientRect())}function ru(e){const t=mi.get(e),n=_i.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function ou(e,t,n){const s=e.cloneNode(),r=e[Lt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=di(s);return o.removeChild(s),i}const Nr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>gn(t,n):t};function iu(e){e.target.composing=!0}function Fr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ss=Symbol("_assign"),Wf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ss]=Nr(r);const o=s||r.props&&r.props.type==="number";xt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ls(l)),e[ss](l)}),n&&xt(e,"change",()=>{e.value=e.value.trim()}),t||(xt(e,"compositionstart",iu),xt(e,"compositionend",Fr),xt(e,"change",Fr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ss]=Nr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ls(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},lu=fe({patchProp:Zc},Fc);let Vr;function cu(){return Vr||(Vr=sc(lu))}const uu=(...e)=>{const t=cu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=au(s);if(!r)return;const o=t._component;!B(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,fu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function fu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function au(e){return ce(e)?document.querySelector(e):e}/*! + * vue-router v4.4.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Pt=typeof document<"u";function du(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const X=Object.assign;function rs(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ne(r)?r.map(e):e(r)}return n}const zt=()=>{},Ne=Array.isArray,vi=/#/g,hu=/&/g,pu=/\//g,gu=/=/g,mu=/\?/g,bi=/\+/g,_u=/%5B/g,yu=/%5D/g,Ei=/%5E/g,vu=/%60/g,Ci=/%7B/g,bu=/%7C/g,wi=/%7D/g,Eu=/%20/g;function Ks(e){return encodeURI(""+e).replace(bu,"|").replace(_u,"[").replace(yu,"]")}function Cu(e){return Ks(e).replace(Ci,"{").replace(wi,"}").replace(Ei,"^")}function Cs(e){return Ks(e).replace(bi,"%2B").replace(Eu,"+").replace(vi,"%23").replace(hu,"%26").replace(vu,"`").replace(Ci,"{").replace(wi,"}").replace(Ei,"^")}function wu(e){return Cs(e).replace(gu,"%3D")}function Su(e){return Ks(e).replace(vi,"%23").replace(mu,"%3F")}function Ru(e){return e==null?"":Su(e).replace(pu,"%2F")}function en(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const xu=/\/$/,Pu=e=>e.replace(xu,"");function os(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Iu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:en(i)}}function Au(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Tu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Mt(t.matched[s],n.matched[r])&&Si(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Mt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Si(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ou(e[n],t[n]))return!1;return!0}function Ou(e,t){return Ne(e)?Dr(e,t):Ne(t)?Dr(t,e):e===t}function Dr(e,t){return Ne(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Iu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Xe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var tn;(function(e){e.pop="pop",e.push="push"})(tn||(tn={}));var Qt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Qt||(Qt={}));function Lu(e){if(!e)if(Pt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Pu(e)}const Mu=/^[^#]+#/;function $u(e,t){return e.replace(Mu,"#")+t}function Nu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const qn=()=>({left:window.scrollX,top:window.scrollY});function Fu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Nu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jr(e,t){return(history.state?history.state.position-t:-1)+e}const ws=new Map;function Vu(e,t){ws.set(e,t)}function Hu(e){const t=ws.get(e);return ws.delete(e),t}let Du=()=>location.protocol+"//"+location.host;function Ri(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Hr(c,"")}return Hr(n,e)+s+r}function ju(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=Ri(e,location),C=n.value,P=t.value;let H=0;if(p){if(n.value=m,t.value=p,i&&i===C){i=null;return}H=P?p.position-P.position:0}else s(m);r.forEach(F=>{F(n.value,C,{delta:H,type:tn.pop,direction:H?H>0?Qt.forward:Qt.back:Qt.unknown})})};function c(){i=n.value}function a(p){r.push(p);const m=()=>{const C=r.indexOf(p);C>-1&&r.splice(C,1)};return o.push(m),m}function d(){const{history:p}=window;p.state&&p.replaceState(X({},p.state,{scroll:qn()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:a,destroy:h}}function Br(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?qn():null}}function Bu(e){const{history:t,location:n}=window,s={value:Ri(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,d){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Du()+e+c;try{t[d?"replaceState":"pushState"](a,"",p),r.value=a}catch(m){console.error(m),n[d?"replace":"assign"](p)}}function i(c,a){const d=X({},t.state,Br(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,d,!0),s.value=c}function l(c,a){const d=X({},r.value,t.state,{forward:c,scroll:qn()});o(d.current,d,!0);const h=X({},Br(s.value,c,null),{position:d.position+1},a);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function ku(e){e=Lu(e);const t=Bu(e),n=ju(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=X({location:"",base:e,go:s,createHref:$u.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Uu(e){return typeof e=="string"||e&&typeof e=="object"}function xi(e){return typeof e=="string"||typeof e=="symbol"}const Pi=Symbol("");var kr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(kr||(kr={}));function $t(e,t){return X(new Error,{type:e,[Pi]:!0},t)}function Ue(e,t){return e instanceof Error&&Pi in e&&(t==null||!!(e.type&t))}const Ur="[^/]+?",Ku={sensitive:!1,strict:!1,start:!0,end:!0},Wu=/[.+*?^${}()[\]/\\]/g;function qu(e,t){const n=X({},Ku,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const d=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Ai(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const zu={type:0,value:""},Qu=/[a-zA-Z0-9_]/;function Yu(e){if(!e)return[[]];if(e==="/")return[[zu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",d="";function h(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l{i(I)}:zt}function i(h){if(xi(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function l(){return n}function c(h){const p=nf(h,n);n.splice(p,0,h),h.record.name&&!qr(h)&&s.set(h.record.name,h)}function a(h,p){let m,C={},P,H;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw $t(1,{location:h});H=m.record.name,C=X(Wr(p.params,m.keys.filter(I=>!I.optional).concat(m.parent?m.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),h.params&&Wr(h.params,m.keys.map(I=>I.name))),P=m.stringify(C)}else if(h.path!=null)P=h.path,m=n.find(I=>I.re.test(P)),m&&(C=m.parse(P),H=m.record.name);else{if(m=p.name?s.get(p.name):n.find(I=>I.re.test(p.path)),!m)throw $t(1,{location:h,currentLocation:p});H=m.record.name,C=X({},p.params,h.params),P=m.stringify(C)}const F=[];let A=m;for(;A;)F.unshift(A.record),A=A.parent;return{name:H,path:P,params:C,matched:F,meta:tf(F)}}e.forEach(h=>o(h));function d(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:d,getRoutes:l,getRecordMatcher:r}}function Wr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ef(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ef(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function qr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tf(e){return e.reduce((t,n)=>X(t,n.meta),{})}function Gr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function nf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ai(e,t[o])<0?s=o:n=o+1}const r=sf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function sf(e){let t=e;for(;t=t.parent;)if(Ti(t)&&Ai(e,t)===0)return t}function Ti({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function rf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Cs(o)):[s&&Cs(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function of(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ne(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const lf=Symbol(""),Qr=Symbol(""),Gn=Symbol(""),Oi=Symbol(""),Ss=Symbol("");function Dt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=p=>{p===!1?c($t(4,{from:n,to:t})):p instanceof Error?c(p):Uu(p)?c($t(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},d=o(()=>e.call(s&&s.instances[r],t,n,a));let h=Promise.resolve(d);e.length<3&&(h=h.then(a)),h.catch(p=>c(p))})}function is(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(cf(c)){const d=(c.__vccOpts||c)[t];d&&o.push(nt(d,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=du(d)?d.default:d;i.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&nt(m,n,s,i,l,r)()}))}}return o}function cf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Yr(e){const t=Be(Gn),n=Be(Oi),s=Ae(()=>{const c=ot(e.to);return t.resolve(c)}),r=Ae(()=>{const{matched:c}=s.value,{length:a}=c,d=c[a-1],h=n.matched;if(!d||!h.length)return-1;const p=h.findIndex(Mt.bind(null,d));if(p>-1)return p;const m=Jr(c[a-2]);return a>1&&Jr(d)===m&&h[h.length-1].path!==m?h.findIndex(Mt.bind(null,c[a-2])):p}),o=Ae(()=>r.value>-1&&df(n.params,s.value.params)),i=Ae(()=>r.value>-1&&r.value===n.matched.length-1&&Si(n.params,s.value.params));function l(c={}){return af(c)?t[ot(e.replace)?"replace":"push"](ot(e.to)).catch(zt):Promise.resolve()}return{route:s,href:Ae(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const uf=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Yr,setup(e,{slots:t}){const n=Vn(Yr(e)),{options:s}=Be(Gn),r=Ae(()=>({[Xr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Xr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),ff=uf;function af(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function df(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ne(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Jr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xr=(e,t,n)=>e??t??n,hf=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(Ss),r=Ae(()=>e.route||s.value),o=Be(Qr,0),i=Ae(()=>{let a=ot(o);const{matched:d}=r.value;let h;for(;(h=d[a])&&!h.components;)a++;return a}),l=Ae(()=>r.value.matched[i.value]);yn(Qr,Ae(()=>i.value+1)),yn(lf,l),yn(Ss,r);const c=_n();return vn(()=>[c.value,l.value,e.name],([a,d,h],[p,m,C])=>{d&&(d.instances[h]=a,m&&m!==d&&a&&a===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),a&&d&&(!m||!Mt(d,m)||!p)&&(d.enterCallbacks[h]||[]).forEach(P=>P(a))},{flush:"post"}),()=>{const a=r.value,d=e.name,h=l.value,p=h&&h.components[d];if(!p)return Zr(n.default,{Component:p,route:a});const m=h.props[d],C=m?m===!0?a.params:typeof m=="function"?m(a):m:null,H=fi(p,X({},C,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(h.instances[d]=null)},ref:c}));return Zr(n.default,{Component:H,route:a})||H}}});function Zr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ii=hf;function pf(e){const t=Xu(e.routes,e),n=e.parseQuery||rf,s=e.stringifyQuery||zr,r=e.history,o=Dt(),i=Dt(),l=Dt(),c=yl(Xe);let a=Xe;Pt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rs.bind(null,y=>""+y),h=rs.bind(null,Ru),p=rs.bind(null,en);function m(y,T){let x,M;return xi(y)?(x=t.getRecordMatcher(y),M=T):M=y,t.addRoute(M,x)}function C(y){const T=t.getRecordMatcher(y);T&&t.removeRoute(T)}function P(){return t.getRoutes().map(y=>y.record)}function H(y){return!!t.getRecordMatcher(y)}function F(y,T){if(T=X({},T||c.value),typeof y=="string"){const f=os(n,y,T.path),g=t.resolve({path:f.path},T),v=r.createHref(f.fullPath);return X(f,g,{params:p(g.params),hash:en(f.hash),redirectedFrom:void 0,href:v})}let x;if(y.path!=null)x=X({},y,{path:os(n,y.path,T.path).path});else{const f=X({},y.params);for(const g in f)f[g]==null&&delete f[g];x=X({},y,{params:h(f)}),T.params=h(T.params)}const M=t.resolve(x,T),J=y.hash||"";M.params=d(p(M.params));const ie=Au(s,X({},y,{hash:Cu(J),path:M.path})),u=r.createHref(ie);return X({fullPath:ie,hash:J,query:s===zr?of(y.query):y.query||{}},M,{redirectedFrom:void 0,href:u})}function A(y){return typeof y=="string"?os(n,y,c.value.path):X({},y)}function I(y,T){if(a!==y)return $t(8,{from:T,to:y})}function K(y){return te(y)}function ee(y){return K(X(A(y),{replace:!0}))}function V(y){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:x}=T;let M=typeof x=="function"?x(y):x;return typeof M=="string"&&(M=M.includes("?")||M.includes("#")?M=A(M):{path:M},M.params={}),X({query:y.query,hash:y.hash,params:M.path!=null?{}:y.params},M)}}function te(y,T){const x=a=F(y),M=c.value,J=y.state,ie=y.force,u=y.replace===!0,f=V(x);if(f)return te(X(A(f),{state:typeof f=="object"?X({},J,f.state):J,force:ie,replace:u}),T||x);const g=x;g.redirectedFrom=T;let v;return!ie&&Tu(s,M,x)&&(v=$t(16,{to:g,from:M}),Fe(M,M,!0,!1)),(v?Promise.resolve(v):Y(g,M)).catch(_=>Ue(_)?Ue(_,2)?_:Qe(_):z(_,g,M)).then(_=>{if(_){if(Ue(_,2))return te(X({replace:u},A(_.to),{state:typeof _.to=="object"?X({},J,_.to.state):J,force:ie}),T||g)}else _=L(g,M,!0,u,J);return ne(g,M,_),_})}function ae(y,T){const x=I(y,T);return x?Promise.reject(x):Promise.resolve()}function k(y){const T=Ct.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(y):y()}function Y(y,T){let x;const[M,J,ie]=gf(y,T);x=is(M.reverse(),"beforeRouteLeave",y,T);for(const f of M)f.leaveGuards.forEach(g=>{x.push(nt(g,y,T))});const u=ae.bind(null,y,T);return x.push(u),xe(x).then(()=>{x=[];for(const f of o.list())x.push(nt(f,y,T));return x.push(u),xe(x)}).then(()=>{x=is(J,"beforeRouteUpdate",y,T);for(const f of J)f.updateGuards.forEach(g=>{x.push(nt(g,y,T))});return x.push(u),xe(x)}).then(()=>{x=[];for(const f of ie)if(f.beforeEnter)if(Ne(f.beforeEnter))for(const g of f.beforeEnter)x.push(nt(g,y,T));else x.push(nt(f.beforeEnter,y,T));return x.push(u),xe(x)}).then(()=>(y.matched.forEach(f=>f.enterCallbacks={}),x=is(ie,"beforeRouteEnter",y,T,k),x.push(u),xe(x))).then(()=>{x=[];for(const f of i.list())x.push(nt(f,y,T));return x.push(u),xe(x)}).catch(f=>Ue(f,8)?f:Promise.reject(f))}function ne(y,T,x){l.list().forEach(M=>k(()=>M(y,T,x)))}function L(y,T,x,M,J){const ie=I(y,T);if(ie)return ie;const u=T===Xe,f=Pt?history.state:{};x&&(M||u?r.replace(y.fullPath,X({scroll:u&&f&&f.scroll},J)):r.push(y.fullPath,J)),c.value=y,Fe(y,T,x,u),Qe()}let G;function de(){G||(G=r.listen((y,T,x)=>{if(!on.listening)return;const M=F(y),J=V(M);if(J){te(X(J,{replace:!0}),M).catch(zt);return}a=M;const ie=c.value;Pt&&Vu(jr(ie.fullPath,x.delta),qn()),Y(M,ie).catch(u=>Ue(u,12)?u:Ue(u,2)?(te(u.to,M).then(f=>{Ue(f,20)&&!x.delta&&x.type===tn.pop&&r.go(-1,!1)}).catch(zt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(u,M,ie))).then(u=>{u=u||L(M,ie,!1),u&&(x.delta&&!Ue(u,8)?r.go(-x.delta,!1):x.type===tn.pop&&Ue(u,20)&&r.go(-1,!1)),ne(M,ie,u)}).catch(zt)}))}let Ie=Dt(),ue=Dt(),Z;function z(y,T,x){Qe(y);const M=ue.list();return M.length?M.forEach(J=>J(y,T,x)):console.error(y),Promise.reject(y)}function ke(){return Z&&c.value!==Xe?Promise.resolve():new Promise((y,T)=>{Ie.add([y,T])})}function Qe(y){return Z||(Z=!y,de(),Ie.list().forEach(([T,x])=>y?x(y):T()),Ie.reset()),y}function Fe(y,T,x,M){const{scrollBehavior:J}=e;if(!Pt||!J)return Promise.resolve();const ie=!x&&Hu(jr(y.fullPath,0))||(M||!x)&&history.state&&history.state.scroll||null;return Oo().then(()=>J(y,T,ie)).then(u=>u&&Fu(u)).catch(u=>z(u,y,T))}const ve=y=>r.go(y);let Et;const Ct=new Set,on={currentRoute:c,listening:!0,addRoute:m,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:H,getRoutes:P,resolve:F,options:e,push:K,replace:ee,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ue.add,isReady:ke,install(y){const T=this;y.component("RouterLink",ff),y.component("RouterView",Ii),y.config.globalProperties.$router=T,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>ot(c)}),Pt&&!Et&&c.value===Xe&&(Et=!0,K(r.location).catch(J=>{}));const x={};for(const J in Xe)Object.defineProperty(x,J,{get:()=>c.value[J],enumerable:!0});y.provide(Gn,T),y.provide(Oi,Co(x)),y.provide(Ss,c);const M=y.unmount;Ct.add(y),y.unmount=function(){Ct.delete(y),Ct.size<1&&(a=Xe,G&&G(),G=null,c.value=Xe,Et=!1,Z=!1),M()}}};function xe(y){return y.reduce((T,x)=>T.then(()=>k(x)),Promise.resolve())}return on}function gf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iMt(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>Mt(a,c))||r.push(c))}return[n,s,r]}function qf(){return Be(Gn)}const Ws=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},mf={},_f=e=>(xl("data-v-8625da7d"),e=e(),Pl(),e),yf={class:"custom-profile-container"},vf=_f(()=>Kn("span",null,"Composition",-1)),bf=[vf];function Ef(e,t){return ct(),Rn("div",yf,bf)}const Cf=Ws(mf,[["render",Ef],["__scopeId","data-v-8625da7d"]]),wf="modulepreload",Sf=function(e){return"/pages/"+e},eo={},me=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=Sf(l),l in eo)return;eo[l]=!0;const c=l.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":wf,c||(d.as="script",d.crossOrigin=""),d.href=l,i&&d.setAttribute("nonce",i),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Rf={class:"background-container"},xf=Nt({__name:"index",props:{type:{}},setup(e){const t=e,n=Ae(()=>{const s={Filter:hn(()=>me(()=>import("./Filter-BI3HblDZ.js"),__vite__mapDeps([0,1]))),Light:hn(()=>me(()=>import("./Light-DI0ImfPE.js"),__vite__mapDeps([2,3]))),Pop:hn(()=>me(()=>import("./Pop-BGnAlR0T.js"),__vite__mapDeps([4,5]))),Stars:hn(()=>me(()=>import("./Stars-CWCR_F-y.js"),__vite__mapDeps([6,7])))},r=Object.keys(s);let o=0;return t.type?o=r.indexOf(t.type):o=Math.floor(Math.random()*r.length),s[r[o]]});return(s,r)=>(ct(),Rn("div",Rf,[(ct(),Un(jl(n.value),Ki(ii(s.$attrs)),null,16))]))}}),Pf=Ws(xf,[["__scopeId","data-v-7f9ee5e4"]]),Af={class:"base-layout-container"},Tf={key:0,class:"base-layout-desc"},Of={class:"base-layout-default"},If=Nt({__name:"BaseLayout",setup(e){return(t,n)=>(ct(),Rn("div",Af,[le(Cf),t.$slots.desc?(ct(),Rn("div",Tf,[ir(t.$slots,"desc",{},void 0,!0)])):Cc("",!0),Kn("div",Of,[ir(t.$slots,"default",{},void 0,!0)]),le(ot(Pf),{type:"Stars"})]))}}),Lf=Ws(If,[["__scopeId","data-v-6e32bf2a"]]),Mf=Nt({__name:"App",setup(e){return(t,n)=>(ct(),Un(Lf,null,{default:$o(()=>[le(ot(Ii))]),_:1}))}}),$f={path:"/preview",name:"preview",redirect:"/preview/firework",component:()=>me(()=>import("./index-B6s7WMow.js"),[]),children:[{path:"/preview/firework",name:"firework",component:()=>me(()=>import("./index-CIClU4gn.js"),__vite__mapDeps([8,9,10]))},{path:"/preview/radio-grid-transition",name:"radio-grid-transition",component:()=>me(()=>import("./index-DoKAQG2x.js"),__vite__mapDeps([11,12]))},{path:"/preview/clock",name:"clock",component:()=>me(()=>import("./index-v2aYuXbQ.js"),__vite__mapDeps([13,14,15]))},{path:"/preview/wave-rotate",name:"wave-rotate",component:()=>me(()=>import("./index-uvhJy5fG.js"),__vite__mapDeps([16,9,14,17]))}]},Nf={path:"/business",name:"business",redirect:()=>({path:"/business/color-picker"}),component:()=>me(()=>import("./index-DLSqNUUH.js"),[]),children:[{path:"/business/color-picker",name:"color-picker",component:()=>me(()=>import("./index-CdstpUXs.js"),__vite__mapDeps([18,19]))},{path:"/business/input-tag",name:"input-tag",component:()=>me(()=>import("./index-B36xn1AJ.js"),__vite__mapDeps([20,21]))},{path:"/business/drag",name:"drag",component:()=>me(()=>import("./index-B5MciD-4.js"),__vite__mapDeps([22,23]))},{path:"/business/virtual-list",name:"virtual-list",component:()=>me(()=>import("./index-Q5L57mrM.js"),__vite__mapDeps([24,25]))},{path:"/business/writer",name:"writer",component:()=>me(()=>import("./index-B1KFlCeS.js"),__vite__mapDeps([26,27,28]))}]};var Ff={VITE_BASE_URL:"/",VITE_GLOB_APP_TITLE:"Composiiton One",VITE_GLOB_APP_SHORT_NAME:"composiiton_one",BASE_URL:"/pages/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Li=[{path:"/",alias:"/home",name:"home",component:()=>me(()=>import("./index-IeShAYuC.js"),__vite__mapDeps([29,30]))},$f,Nf];console.log("routes ===>",Li,Ff);const Vf="/pages/",qs=pf({history:ku(Vf),routes:[...Li]});qs.beforeEach((e,t,n)=>{n()});qs.afterEach(()=>{});const Mi=uu(Mf);Mi.use(qs);Mi.mount("#app");export{kf as A,Wf as B,le as C,wc as D,$o as E,Ee as F,ir as G,Bf as H,Kf as T,Ws as _,Rn as a,Kn as b,Ae as c,Nt as d,Pl as e,Un as f,Df as g,Vn as h,_n as i,Ds as j,Hs as k,Uf as l,Nn as m,Oo as n,ct as o,xl as p,$n as q,jf as r,ot as s,Gi as t,qf as u,Cc as v,me as w,vn as x,Ho as y,Hf as z}; diff --git a/static/js/index-CC0Y7Pe6.js b/static/js/index-CC0Y7Pe6.js deleted file mode 100644 index e134c2a..0000000 --- a/static/js/index-CC0Y7Pe6.js +++ /dev/null @@ -1 +0,0 @@ -import{d as se,n as j,h as ne,l as ae,f as W,a as h,t as K,g as oe,p as re,b as le,o as X}from"./index-DblQHoIm.js";import{_ as ce}from"./plugin-vueexport-helper-DlAUqK2U.js";function ie(){let C={screenSize:[13,20],intervals:1e3},E,z,p=0;const u=new Map;let T=!0,N=null,$=null,D="",B="",v=[0,0],I=new Set;const x="bg";let F=0,G=()=>{};const S=["I","L","J","Z","S","T","O"],O={I:[[1,1,1,1]],L:[[1,1,1],[1,0,0]],J:[[1,1,1],[0,0,1]],Z:[[1,1,0],[0,1,1]],S:[[0,1,1],[1,1,0]],T:[[1,1,1],[0,1,0]],O:[[1,1],[1,1]]},y=function(e={}){a(e)};y.create=(e={})=>new y(e),y.prototype={get map(){return[...u.values()]},get status(){return p},get isPause(){return T},get score(){return F},get nextShap(){return{type:B,shapData:$}}},y.prototype.ready=function(){console.log("ready: "),p===0&&(A(),H(),p=1)},y.prototype.play=function(){p===1&&(p=2),T&&(T=!1,R())},y.prototype.pause=function(){T=!0},y.prototype.over=function(){p=3},y.prototype.again=function(e={}){a(e),this.ready()},y.prototype.update=function(e){G=e},y.prototype.action=function(e){const[t,s]=v;p!==2||T||(e==="left"?M([t-1,s]):e==="right"?M([t+1,s]):e==="lower"?M([t,s+1],!0):e==="change"&&w())};const a=(e={})=>{C={...C,...e},E=C.screenSize,z=C.intervals,v=[0,0],I=new Set,p=0,F=0,T=!0;const{datas:t,index:s}=r();$=t,B=s},A=()=>{const[e,t]=E;for(let s=0;s{const[e]=E;N=$,D=B,v=[Math.floor(e/2)-(!(e&1)&&D==="I"?2:1),0];const t=l(v);_(t,D,!1);const{datas:s,index:n}=r();$=s,B=n,Y(t)&&(p=3),G()},R=()=>{if(!(T||p===3)){if(p===2){const[e,t]=v;M([e,t+1],!0)}setTimeout(()=>{R()},z)}},r=()=>{const e=Math.random()*S.length<<0,t=S[e];return{index:t,datas:O[t]}},M=([e,t],s=!1)=>{const n=l([e,t]);if(s===!0&&g([e,t])){L(),H();return}k(n)||V(n)||J([e,t])},J=e=>{let t=l(v);_(t,x),t=l(e),_(t,D),v=e,G()},_=(e,t,s=!0)=>{e.forEach(n=>{const o=b(n);!s&&u.get(o).type!==x||u.set(o,{type:t,vector:n})})},L=()=>{const e=P();Z(e)},P=()=>{const[e,t]=E,s=[];for(let n=t-1;n>=0;n--){let o=!0;for(let c=0;c{const n=s.length,o=s[0].length,c=[];for(let d=0;d=4?m=[i+e+1,d+t-1]:D==="O"&&(m[0]+=1),c.push(m)}return c},Z=e=>{const[t]=E;q([...e]).forEach(n=>{for(let o=n;o>=0;o--)for(let c=0;c{const e=ee(N),t=l(v,e);k(t)||V(t)||(_(l(v),x),_(t,D),N=e,G())},g=e=>{const t=l(e);if(k(t)||V(t)){const s=l(v).map(n=>b(n));return I=new Set([...I,...s]),!0}return!1},k=e=>{const[t,s]=E;return e.some(([n,o])=>n<0||n>=t||o>=s)},V=e=>e.some(t=>I.has(b(t))),Y=e=>{const[,t]=v;return!!(t<=0&&V(e))},q=(e,t=[])=>{if(e.length<=0)return t;const s=Math.min(...e),n=e.indexOf(s);return t.push(e.splice(n,1)[0]),q(e,t)},ee=(e,t=!0)=>{const s=e[0].length,n=e.length,o=s-1,c=n-1,d=[];for(let i=0;i`${e}_${t}`;return y}const U=C=>(re("data-v-2e7ea974"),C=C(),le(),C),ue={class:"tetris-wrapper"},pe={class:"info"},de=U(()=>h("div",{class:"next"},"下一个",-1)),he={class:"next-box"},fe=U(()=>h("div",{class:"score_title"},"得分",-1)),ve={class:"score"},ye=U(()=>h("div",{class:"status_title"},"状态",-1)),Se={class:"status"},ge={key:0,class:"mask"},f=30,xe=se({__name:"index",setup(C){const E=ie(),z=[13,20],p=[5,2],u=j(),T=()=>{u.value.style.width=`${p[0]*f}px`,u.value.style.height=`${p[1]*f}px`},N=R=>{const r=document.createElement("div"),{type:M,shapData:J}=R,[_,L]=p,P=new Set,l=J.length,Z=J[0].length;r.style.width=`${_*f}px`,r.style.height=`${L*f}px`,u.value.innerHTML=null;for(let w=0;w{$.value.style.width=`${z[0]*f}px`,$.value.style.height=`${z[1]*f}px`},B=R=>{console.log("renderGame data: ",R);const r=document.createElement("div"),[M,J]=z;$.value.innerHTML=null,r.style.width=`${M*f}px`,r.style.height=`${J*f}px`,R.forEach(_=>{const[L,P]=_.vector,l=document.createElement("div");l.style.width=l.style.height=`${f}px`,l.style.left=`${L*f}px`,l.style.top=`${P*f}px`,l.setAttribute("class",`rect rect-${_.type}`),r.appendChild(l)}),$.value.appendChild(r)},v=()=>{console.log("handleReady: "),console.log("TJS.value: ",a.value),a.value.status===0&&a.value.ready()},I=()=>{O.value=!1,!(a.value.status!==1&&a.value.status!==2)&&a.value.play()},x=()=>{a.value.status===2&&(a.value.pause(),O.value=!0)},F=()=>{a.value.status===2&&(a.value.over(),S.value=a.value.status,O.value=!1)},G=()=>{a.value.status===3&&a.value.again()},S=j(-1),O=j(!1),y=ne(()=>S.value==-1?"请先准备":S.value==0||S.value==1?"请开始游戏":S.value==2?"正在游戏中":S.value==3?"结束了,需要重来":O.value?"暂停了":""),a=j(),A=j(0),H=()=>{a.value=new E({screenSize:z,intervals:1e3}),console.log(a.value),a.value.update(()=>{B(a.value.map),N(a.value.nextShap),A.value=a.value.score,S.value=a.value.status}),a.value&&document.addEventListener("keydown",R=>{const{keyCode:r}=R;r===37?a.value.action("left"):r===39?a.value.action("right"):r===38?a.value.action("change"):r===40&&a.value.action("lower")})};return ae(()=>{T(),D(),H(),console.log("TJS.value: ",a.value)}),(R,r)=>(X(),W("div",ue,[h("div",{class:"action"},[h("div",{class:"ready",onClick:v},"准备"),h("div",{class:"play",onClick:I},"开始"),h("div",{class:"pause",onClick:x},"暂停"),h("div",{class:"over",onClick:F},"结束"),h("div",{class:"over",onClick:G},"重来")]),h("div",pe,[de,h("div",he,[h("div",{class:"next-shape",ref_key:"nextShapeRef",ref:u},null,512)]),fe,h("div",ve,K(A.value),1),ye,h("div",Se,K(S.value),1)]),S.value!==2||O.value?(X(),W("div",ge,K(y.value),1)):oe("",!0),h("div",{class:"tetris-container",ref_key:"tetrisContainerRef",ref:$},null,512)]))}}),me=ce(xe,[["__scopeId","data-v-2e7ea974"]]);export{me as default}; diff --git a/static/js/index-CIClU4gn.js b/static/js/index-CIClU4gn.js new file mode 100644 index 0000000..0debc4e --- /dev/null +++ b/static/js/index-CIClU4gn.js @@ -0,0 +1,11 @@ +import{c as Ht,h as qt,i as ye,d as ve,j as Ce,k as be,a as Me,o as Le,p as ke,e as Ee,b as st,_ as xe}from"./index-By46uPpP.js";import{u as Ie}from"./index-Cc7JnbWS.js";function Fe(v){const h={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5},p=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],S=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],g=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],m=typeof window<"u"&&typeof window.document<"u"?window.document:{},f="fullscreenEnabled"in m&&Object.keys(h)||p[0]in m&&p||S[0]in m&&S||g[0]in m&&g||[],w={requestFullscreen:function(y){return y[f[h.requestFullscreen]]()},requestFullscreenFunction:function(y){return y[f[h.requestFullscreen]]},get exitFullscreen(){return m[f[h.exitFullscreen]].bind(m)},addEventListener:function(y,F,T){return m.addEventListener(f[h[y]],F,T)},removeEventListener:function(y,F){return m.removeEventListener(f[h[y]],F)},get fullscreenEnabled(){return!!m[f[h.fullscreenEnabled]]},set fullscreenEnabled(d){},get fullscreenElement(){return m[f[h.fullscreenElement]]},set fullscreenElement(d){},get onfullscreenchange(){return m[("on"+f[h.fullscreenchange]).toLowerCase()]},set onfullscreenchange(d){return m[("on"+f[h.fullscreenchange]).toLowerCase()]=d},get onfullscreenerror(){return m[("on"+f[h.fullscreenerror]).toLowerCase()]},set onfullscreenerror(d){return m[("on"+f[h.fullscreenerror]).toLowerCase()]=d}};v.fscreen=w}function _e(v){const h={};return h.toDeg=180/v.PI,h.toRad=v.PI/180,h.halfPI=v.PI/2,h.twoPI=v.PI*2,h.dist=(p,S)=>v.sqrt(p*p+S*S),h.pointDist=(p,S,g,m)=>{const f=g-p,w=m-S;return v.sqrt(f*f+w*w)},h.angle=(p,S)=>h.halfPI+v.atan2(S,p),h.pointAngle=(p,S,g,m)=>h.halfPI+v.atan2(m-S,g-p),h.splitVector=(p,S)=>({x:v.sin(S)*p,y:-v.cos(S)*p}),h.random=(p,S)=>v.random()*(S-p)+p,h.randomInt=(p,S)=>(v.random()*(S-p+1)|0)+p,h.randomChoice=function(S){return arguments.length===1&&Array.isArray(S)?S[v.random()*S.length|0]:arguments[v.random()*arguments.length|0]},h.clamp=function(S,g,m){return v.min(v.max(S,g),m)},h}const St=_e(Math);function De(v){const h={};h.addListener=function(d){if(typeof d!="function")throw"Ticker.addListener() requires a function reference passed for a callback.";g.push(d),p||(p=!0,m())};let p=!1,S=0;const g=[];function m(){requestAnimationFrame(f)}function f(w){let d=w-S;S=w,d<0?d=17:d>68&&(d=68),g.forEach(y=>y.call(v,d,d/16.6667)),m()}return h}function Te(v,h,p){let S=0;function g(m){if(typeof m=="string"&&(m=h.getElementById(m)),!m)return;this.canvas=m,this.ctx=m.getContext("2d"),this.canvas.style.touchAction="none",this.speed=1,this.dpr=g.disableHighDPI?1:(v.devicePixelRatio||1)/(this.ctx.backingStorePixelRatio||1),this.width=m.width,this.height=m.height,this.naturalWidth=this.width*this.dpr,this.naturalHeight=this.height*this.dpr,this.width!==this.naturalWidth&&(this.canvas.width=this.naturalWidth,this.canvas.height=this.naturalHeight,this.canvas.style.width=this.width+"px",this.canvas.style.height=this.height+"px");const f=["blackdiamondfireworks.de"],w=h.location.hostname;f.some(d=>w.includes(d))&&setTimeout(()=>{const y=` +

Hi! Sorry to interrupt the fireworks.

+

My name is Caleb. Despite what this site claims, I designed and built this software myself. I've spent a couple hundred hours of my own time, over two years, making it.

+

The owner of this site clearly doesn't respect my work, and has labeled it as their own.

+

If you were enjoying the show, please check out my official version here!

+

If you're the owner, contact me.

`;h.body.innerHTML=y},18e4),g.stages.push(this),this._listeners={resize:[],pointerstart:[],pointermove:[],pointerend:[],lastPointerPos:{x:0,y:0}}}return g.stages=[],g.disableHighDPI=!1,g.prototype.addEventListener=function(f,w){var d;try{f==="ticker"?p.addListener(w):(d=this._listeners)==null||d[f].push(w)}catch{throw"Invalid Event"}},g.prototype.dispatchEvent=function(f,w){const d=this._listeners[f];if(d)d.forEach(y=>y.call(this,w));else throw"Invalid Event"},g.prototype.resize=function(f,w){this.width=f,this.height=w,this.naturalWidth=f*this.dpr,this.naturalHeight=w*this.dpr,this.canvas.width=this.naturalWidth,this.canvas.height=this.naturalHeight,this.canvas.style.width=f+"px",this.canvas.style.height=w+"px",this.dispatchEvent("resize")},g.windowToCanvas=function(f,w,d){const y=f.getBoundingClientRect();return{x:(w-y.left)*(f.width/y.width),y:(d-y.top)*(f.height/y.height)}},g.mouseHandler=function(f){if(Date.now()-S<500)return;let w="start";f.type==="mousemove"?w="move":f.type==="mouseup"&&(w="end"),g.stages.forEach(d=>{const y=g.windowToCanvas(d.canvas,f.clientX,f.clientY);d.pointerEvent(w,y.x/d.dpr,y.y/d.dpr)})},g.touchHandler=function(f){S=Date.now();let w="start";f.type==="touchmove"?w="move":f.type==="touchend"&&(w="end"),g.stages.forEach(d=>{for(const y of Array.from(f.changedTouches)){let F;w!=="end"?(F=g.windowToCanvas(d.canvas,y.clientX,y.clientY),d._listeners.lastPointerPos=F,w==="start"&&d.pointerEvent("move",F.x/d.dpr,F.y/d.dpr)):F=d._listeners.lastPointerPos,d.pointerEvent(w,F.x/d.dpr,F.y/d.dpr)}})},g.prototype.pointerEvent=function(f,w,d){const y={type:f,x:w,y:d};y.onCanvas=w>=0&&w<=this.width&&d>=0&&d<=this.height,this.dispatchEvent("pointer"+f,y)},h.addEventListener("mousedown",g.mouseHandler),h.addEventListener("mousemove",g.mouseHandler),h.addEventListener("mouseup",g.mouseHandler),h.addEventListener("touchstart",g.touchHandler),h.addEventListener("touchmove",g.touchHandler),h.addEventListener("touchend",g.touchHandler),g}const Pe=De(window),Rt=Te(window,document,Pe);function He(){const v=window.innerWidth<=640,h=window.innerWidth>800,p=h&&window.innerHeight<300,S=Ht(()=>v?.9:p?.75:1),g=Ht(()=>{const f=navigator.hardwareConcurrency;if(f){const w=window.innerWidth<=1024?4:8;return f>=w}else return!1});return{state:qt({paused:!1,soundEnabled:!0,menuOpen:!1,openHelpTopic:null,fullscreen:!1,config:{quality:g.value?3:2,shell:"Random",size:h?"3":p?"1.2":"2",autoLaunch:!0,finale:!1,skyLighting:2,hideControls:p,longExposure:!1,scaleFactor:S.value}})}}const Re="/pages/static/mp3/burst-sm-1-giaWz7DW.mp3",qe="/pages/static/mp3/burst-sm-2-j5DbIoqH.mp3",We="/pages/static/mp3/burst1-CfBzmPqS.mp3",ze="/pages/static/mp3/burst2-DuB8hlxd.mp3",Oe="/pages/static/mp3/crackle-sm-1-DKPg9x1c.mp3",Ae="/pages/static/mp3/crackle1-CElk69-5.mp3",Ve="/pages/static/mp3/lift1-2qhCOFJo.mp3",Ye="/pages/static/mp3/lift2-BHJKxzJE.mp3",Ge="/pages/static/mp3/lift3-Cs9CTP3o.mp3",Xe=[Re,qe,We,ze,Oe,Ae,Ve,Ye,Ge];function Be(){const v=ye(Xe),h=qt({burstSm1:void 0,burstSm2:void 0,burst1:void 0,burst2:void 0,crackleSm1:void 0,crackle1:void 0,lift1:void 0,lift2:void 0,lift3:void 0});return Object.keys(h).forEach((p,S)=>{h[p]=Ie(v.value[S])}),{playList:h}}const Ne=v=>(ke("data-v-bc47398e"),v=v(),Ee(),v),je={class:"fireworks-container"},Ue=Ne(()=>st("div",{class:"stage-container"},[st("div",{class:"canvas-container"},[st("canvas",{id:"trails-canvas"}),st("canvas",{id:"main-canvas"})])],-1)),Ke=[Ue],Qe=ve({__name:"index",setup(v){const{state:h}=He(),{playList:p}=Be();return Ce(()=>{window.fscreen=null}),be(()=>{navigator.mediaDevices.getUserMedia({audio:!0}),Fe(window);const S=window.innerWidth>800,g=S&&window.innerHeight<300,m=7680,f=4320,w=.9;let d=1,y,F,T=1,Z=!1,Q=!1;const Wt=1,wt=3,yt=0,C={Red:"#ff0043",Green:"#14fc56",Blue:"#1e7fff",Purple:"#e60aff",Gold:"#ffbf36",White:"#ffffff"},W="_INVISIBLE_",R=Math.PI*2,rt=Math.PI*.5,vt=new Rt("trails-canvas"),P=new Rt("main-canvas"),Ct=[vt,P];console.log(Ct);function zt(){T=Ot(),Z=T===Wt,Q=T===wt,at()===yt&&(z.canvasContainer.style.backgroundColor="#000"),O.drawWidth=T===wt?.75:1}const it=(t=h)=>!t.paused&&!t.menuOpen,Ot=()=>+h.config.quality,A=()=>h.config.shell,B=()=>+h.config.size,At=()=>h.config.finale,at=()=>+h.config.skyLighting,bt=()=>h.config.scaleFactor,z={stageContainer:".stage-container",canvasContainer:".canvas-container"};Object.keys(z).forEach(t=>{z[t]=document.querySelector(z[t])}),console.log(z);const V=Object.keys(C).map(t=>C[t]),lt=[...V,W];lt.reduce((t,e,o)=>(t[e]=o,t),{});const Mt={};V.forEach(t=>{Mt[t]={r:parseInt(t.substr(1,2),16),g:parseInt(t.substr(3,2),16),b:parseInt(t.substr(5,2),16)}});function tt(){return V[Math.random()*V.length|0]}let Lt;function x(t){const e=t&&t.notSame,o=t&&t.notColor,r=t&&t.limitWhite;let s=tt();if(r&&s===C.White&&Math.random()<.6&&(s=tt()),e)for(;s===Lt;)s=tt();else if(o)for(;s===o;)s=tt();return Lt=s,s}function ct(){return Math.random()<.5?C.Gold:C.White}function N(t){return t===C.White||t===C.Gold?x({notColor:t}):ct()}const $=(t=1)=>{const e=Math.random()<.25,o=Math.random()<.72,r=o?x({limitWhite:!0}):[x(),x({notSame:!0})],s=o&&Math.random()<.42,c=s&&N(r),a=o&&(Math.random()<.2||r===C.White)?c||x({notColor:r,limitWhite:!0}):null,l=!s&&r!==C.White&&Math.random()<.42;let i=e?1.1:1.25;return Z&&(i*=.8),Q&&(i=1.2),{shellSize:t,spreadSize:300+t*100,starLife:900+t*200,starDensity:i,color:r,secondColor:a,glitter:e?"light":"",glitterColor:ct(),pistil:s,pistilColor:c,streamers:l}},Vt=(t=1)=>{const e=$(t);e.starLife*=1.5;const o=x({notColor:C.White});return e.streamers=!0,Math.random()<.42&&N(o),e.color=W,e.secondColor=o,e.glitter="",e},Yt=(t=1)=>{const e=x({limitWhite:!0});return{shellSize:t,spreadSize:280+t*92,starLife:1100+t*200,starLifeVariation:.4,starDensity:1.1,color:e,glitter:"light",glitterColor:C.White,strobe:!0,strobeColor:Math.random()<.5?C.White:null,pistil:Math.random()<.5,pistilColor:N(e)}},Gt=(t=1)=>{const e=x(),o=Math.random()<.5;return{shellSize:t,color:e,spreadSize:250+t*75,starDensity:o?.15:.4,starLife:1800+t*200,glitter:o?"thick":"heavy"}},ht=(t=1)=>{const e=x(),o=Math.random()<.75;return{shellSize:t,ring:!0,color:e,spreadSize:300+t*100,starLife:900+t*200,starCount:2.2*R*(t+1),pistil:o,pistilColor:N(e),glitter:o?"":"light",glitterColor:e===C.Gold?C.Gold:C.White,streamers:Math.random()<.3}},Xt=(t=1)=>{const e=x({limitWhite:!0});return{shellSize:t,spreadSize:300+t*100,starLife:750+t*160,starLifeVariation:.4,starDensity:.85,color:e,crossette:!0,pistil:Math.random()<.5,pistilColor:N(e)}},Bt=(t=1)=>({shellSize:t,spreadSize:300+t*120,starDensity:.12,starLife:500+t*50,starLifeVariation:.5,color:Math.random()<.65?"random":Math.random()<.15?x():[x(),x({notSame:!0})],floral:!0}),Nt=(t=1)=>({shellSize:t,color:W,spreadSize:300+t*120,starDensity:.12,starLife:500+t*50,starLifeVariation:.5,glitter:"medium",glitterColor:C.Gold,fallingLeaves:!0}),jt=(t=1)=>({shellSize:t,spreadSize:300+t*100,starDensity:.6,starLife:3e3+t*300,glitter:"willow",glitterColor:C.Gold,color:W}),Ut=(t=1)=>{const e=Math.random()<.75?C.Gold:x();return{shellSize:t,spreadSize:380+t*75,starDensity:Z?.65:1,starLife:600+t*100,starLifeVariation:.32,glitter:"light",glitterColor:C.Gold,color:e,crackle:!0,pistil:Math.random()<.65,pistilColor:N(e)}},Kt=(t=1)=>{const e=x();return{shellSize:t,horsetail:!0,color:e,spreadSize:250+t*38,starDensity:.9,starLife:2500+t*300,glitter:"medium",glitterColor:Math.random()<.5?ct():e,strobe:e===C.White}};function dt(){return Math.random()<.5?"Crysanthemum":Et[Math.random()*(Et.length-1)+1|0]}function kt(t){var e;return g?nt()(t):(e=H[dt()])==null?void 0:e.call(H,t)}function et(t){var e;return(e=H[A()])==null?void 0:e.call(H,t)}const Qt=["Falling Leaves","Floral","Willow"];function nt(){const t=A()==="Random";let e=t?dt():A();if(t)for(;Qt.includes(e);)e=dt();return H[e]}const H={Random:kt,Crackle:Ut,Crossette:Xt,Crysanthemum:$,"Falling Leaves":Nt,Floral:Bt,Ghost:Vt,"Horse Tail":Kt,Palm:Gt,Ring:ht,Strobe:Yt,Willow:jt},Et=Object.keys(H);function $t(){zt()}function xt(t){return(1-.18*2)*t+.18}function It(t){return t*.75}function Jt(){return xt(Math.random())}function Zt(){return It(Math.random())}function ot(){const t=B(),e=Math.min(2.5,t),o=Math.random()*e,r=t-o,s=e===0?Math.random():1-o/e,c=Math.random()*(1-s*.65)*.5,a=Math.random()<.5?.5-c:.5+c;return{size:r,x:xt(a),height:It(s)}}function te(t){const e=new _(et(B())),o=P.width,r=P.height;e.launch(t?t.x/o:Jt(),t?1-t.y/r:Zt())}function ee(){const t=ot(),e=new _(et(t.size));e.launch(t.x,t.height);let o=e.starLife;return e.fallingLeaves&&(o=4600),900+Math.random()*600+o}function ne(){const t=nt(),e=ot(),o=new _(t(e.size));o.launch(e.x,e.height);const r=o.starLife;return 900+Math.random()*600+r}function Ft(){const t=ot(),e=ot(),o=new _(et(t.size)),r=new _(et(e.size)),s=Math.random()*.2-.1,c=Math.random()*.2-.1;o.launch(.3+s,t.height),setTimeout(()=>{r.launch(.7+c,e.height)},100);let a=Math.max(o.starLife,r.starLife);return(o.fallingLeaves||r.fallingLeaves)&&(a=4600),900+Math.random()*600+a}function oe(){const t=nt(),e=B(),o=Math.max(0,e-1.25),r=Math.random()*.08-.04;new _(t(e)).launch(.5+r,.7);const c=1e3+Math.random()*400,a=1e3+Math.random()*400;return setTimeout(()=>{const l=Math.random()*.08-.04;new _(t(o)).launch(.2+l,.1)},c),setTimeout(()=>{const l=Math.random()*.08-.04;new _(t(o)).launch(.8+l,.1)},a),4e3}function se(){const t=S?7:4,e=B(),o=Math.max(0,e-3),r=Math.random()<.78?$:ht,s=kt;function c(i,u){const b=A()==="Random"?u?s:r:H[A()],n=new _(b(u?e:o)),I=i<=.5?i/.5:(1-i)/.5;n.launch(i,u?.75:I*.42)}let a=0,l=0;for(;a<=t;){if(a===t)setTimeout(()=>{c(.5,!0)},l);else{const i=a/t*.5,u=Math.random()*30+30;setTimeout(()=>{c(i,!1)},l),setTimeout(()=>{c(1-i,!1)},l+u)}a++,l+=200}return 3400+t*250}function j(){j.lastCalled=Date.now();const t=S?11:5,e=S?3:1,o=Math.max(0,B()-2),r=Math.random()<.78?$:ht,s=nt();function c(i,u){const b=A()==="Random"?u?s:r:H[A()],n=new _(b(o)),I=(Math.cos(i*5*Math.PI+rt)+1)/2;n.launch(i,I*.75)}let a=0,l=0;for(;a{c(.5+i,k)},l),setTimeout(()=>{c(.5-i,k)},l+u),a+=2}l+=200}return 3400+t*120}j.cooldown=15e3,j.lastCalled=Date.now();let _t=!0;const re=32;let ut=0;function ie(){if(_t)return _t=!1,g?Ft():(new _($(B())).launch(.5,.5),2400);if(At())return ne(),utj.cooldown)return j();if(t<.1)return se();if(t<.6&&!g)return ee();if(t<.8)return Ft();if(t<1)return oe()}let J=!1;function ae(t){it()&&(Tt(t)?J=!0:t.onCanvas&&te(t))}function le(){J=!1}function ce(t){it()&&J&&Tt(t)}P.addEventListener("pointerstart",ae),P.addEventListener("pointerend",le),P.addEventListener("pointermove",ce);function Dt(){const t=window.innerWidth,e=window.innerHeight,o=Math.min(t,m),r=t<=420?e:Math.min(e,f);z.stageContainer.style.width=o+"px",z.stageContainer.style.height=r+"px",Ct.forEach(c=>c.resize(o,r));const s=bt();y=o/s,F=r/s}Dt(),window.addEventListener("resize",Dt);let ft=0,U=0,pt=0;function Tt(t){if(J||t.y>=P.height-44){const o=(t.x-16)/(P.width-32);return d=Math.min(Math.max(o,0),1),U=1,!0}return!1}function he(t,e){ft++,J||(U-=e/30,U<0&&(U=0)),h.config.autoLaunch&&(pt-=t,pt<=0&&(pt=ie()*1.25))}function de(t,e){if(!it())return;const o=t*d,r=d*e;he(o,e);const s=1-(1-D.airDrag)*r,c=1-(1-D.airDragHeavy)*r,a=1-(1-O.airDrag)*r,l=o/1e3*w;lt.forEach(i=>{const u=D.active[i];for(let b=u.length-1;b>=0;b=b-1){const n=u[b];if(n.updateFrame!==ft)if(n.updateFrame=ft,n.life-=o,n.life<=0)u.splice(b,1),D.returnInstance(n);else{const I=Math.pow(n.life/n.fullLife,.5),M=1-I;if(n.prevX=n.x,n.prevY=n.y,n.x+=n.speedX*r,n.y+=n.speedY*r,n.heavy?(n.speedX*=c,n.speedY*=c):(n.speedX*=s,n.speedY*=s),n.speedY+=l,n.spinRadius&&(n.spinAngle+=n.spinSpeed*r,n.x+=Math.sin(n.spinAngle)*n.spinRadius*r,n.y+=Math.cos(n.spinAngle)*n.spinRadius*r),n.sparkFreq)for(n.sparkTimer-=o;n.sparkTimer<0;)n.sparkTimer+=n.sparkFreq*.75+n.sparkFreq*M*4,O.add(n.x,n.y,n.sparkColor,Math.random()*R,Math.random()*n.sparkSpeed*I,n.sparkLife*.8+Math.random()*n.sparkLifeVariation*n.sparkLife);n.life=0;b=b-1){const n=k[b];n.life-=o,n.life<=0?(k.splice(b,1),O.returnInstance(n)):(n.prevX=n.x,n.prevY=n.y,n.x+=n.speedX*r,n.y+=n.speedY*r,n.speedX*=a,n.speedY*=a,n.speedY+=l)}}),ue(r)}function ue(t){const{dpr:e}=P,o=y,r=F,s=vt.ctx,c=P.ctx;at()!==yt&&fe(t);const a=bt();for(s.scale(e*a,e*a),c.scale(e*a,e*a),s.globalCompositeOperation="source-over",s.fillStyle=`rgba(0, 0, 0, ${h.config.longExposure?.0025:.175*t})`,s.fillRect(0,0,o,r),c.clearRect(0,0,o,r);K.active.length;){const l=K.active.pop(),i=s.createRadialGradient(l.x,l.y,0,l.x,l.y,l.radius);i.addColorStop(.024,"rgba(255, 255, 255, 1)"),i.addColorStop(.125,"rgba(255, 160, 20, 0.2)"),i.addColorStop(.32,"rgba(255, 140, 20, 0.11)"),i.addColorStop(1,"rgba(255, 120, 20, 0)"),s.fillStyle=i,s.fillRect(l.x-l.radius,l.y-l.radius,l.radius*2,l.radius*2),K.returnInstance(l)}s.globalCompositeOperation="lighten",s.lineWidth=D.drawWidth,s.lineCap=Z?"square":"round",c.strokeStyle="#fff",c.lineWidth=1,c.beginPath(),V.forEach(l=>{const i=D.active[l];s.strokeStyle=l,s.beginPath(),i.forEach(u=>{u.visible&&(s.moveTo(u.x,u.y),s.lineTo(u.prevX,u.prevY),c.moveTo(u.x,u.y),c.lineTo(u.x-u.speedX*1.6,u.y-u.speedY*1.6))}),s.stroke()}),c.stroke(),s.lineWidth=O.drawWidth,s.lineCap="butt",V.forEach(l=>{const i=O.active[l];s.strokeStyle=l,s.beginPath(),i.forEach(u=>{s.moveTo(u.x,u.y),s.lineTo(u.prevX,u.prevY)}),s.stroke()}),U&&(c.globalAlpha=U,c.fillStyle=C.Blue,c.fillRect(0,r-6,o*d,6),c.globalAlpha=1),s.setTransform(1,0,0,1,0,0),c.setTransform(1,0,0,1,0,0)}const q={r:0,g:0,b:0},E={r:0,g:0,b:0};function fe(t){const e=at()*15,o=500;let r=0;E.r=0,E.g=0,E.b=0,V.forEach(l=>{const i=Mt[l],u=D.active[l].length;r+=u,E.r+=i.r*u,E.g+=i.g*u,E.b+=i.b*u});const s=Math.pow(Math.min(1,r/o),.3),c=Math.max(1,E.r,E.g,E.b);E.r=E.r/c*e*s,E.g=E.g/c*e*s,E.b=E.b/c*e*s;const a=10;q.r+=(E.r-q.r)/a*t,q.g+=(E.g-q.g)/a*t,q.b+=(E.b-q.b)/a*t,z.canvasContainer.style.backgroundColor=`rgb(${q.r|0}, ${q.g|0}, ${q.b|0})`}P.addEventListener("ticker",de);function mt(t,e,o,r,s){const c=e/o,a=t+e-c*.5;if(a>t)for(let l=t;la;l=l+c)s(l+Math.random()*c*r)}function Y(t,e,o=0,r=R){const c=2*(.5*Math.sqrt(t/Math.PI))*Math.PI,a=c/2;for(let l=0;l<=a;l++){const i=l/a*rt,u=Math.cos(i),k=c*u,b=k*(r/R),n=R/k,I=Math.random()*n+o,M=n*.33;for(let L=0;L{D.add(t.x,t.y,t.color,o,Math.random()*.6+.75,600)})}function me(t){const e=12+6*T;Y(e,(r,s)=>{D.add(t.x,t.y,t.color,r,s*2.4,1e3+Math.random()*300,t.speedX,t.speedY)}),K.add(t.x,t.y,46),Math.random()<.5?p.burstSm1.play():p.burstSm2.play()}function ge(t){Y(7,(o,r)=>{const s=D.add(t.x,t.y,W,o,r*2.4,2400+Math.random()*600,t.speedX,t.speedY);s.sparkColor=C.Gold,s.sparkFreq=144/T,s.sparkSpeed=.28,s.sparkLife=750,s.sparkLifeVariation=3.2}),K.add(t.x,t.y,46),Math.random()<.5?p.burstSm1.play():p.burstSm2.play()}function Se(t){mt(0,R,Q?32:16,1.8,o=>{O.add(t.x,t.y,C.Gold,o,Math.pow(Math.random(),.45)*2.4,300+Math.random()*200)})}class _{constructor(e){if(Object.assign(this,e),this.starLifeVariation=e.starLifeVariation||.125,this.color=e.color||x(),this.glitterColor=e.glitterColor||this.color,!this.starCount){const o=e.starDensity||1,r=this.spreadSize/54;this.starCount=Math.max(6,r*r*o)}}launch(e,o){const r=y,s=F,c=60,a=50,i=s-s*.45,u=e*(r-c*2)+c,k=s,b=i-o*(i-a),n=k-b,I=Math.pow(n*.04,.64),M=this.comet=D.add(u,k,typeof this.color=="string"&&this.color!=="random"?this.color:C.White,Math.PI,I*(this.horsetail?1.2:1),I*(this.horsetail?100:400));M.heavy=!0,M.spinRadius=St.random(.32,.85),M.sparkFreq=32/T,Q&&(M.sparkFreq=8),M.sparkLife=320,M.sparkLifeVariation=3,(this.glitter==="willow"||this.fallingLeaves)&&(M.sparkFreq=20/T,M.sparkSpeed=.5,M.sparkLife=500),this.color===W&&(M.sparkColor=C.Gold),Math.random()>.4&&!this.horsetail&&(M.secondColor=W,M.transitionTime=Math.pow(Math.random(),1.5)*700+500),M.onDeath=G=>this.burst(G.x,G.y);const L=Math.random();L<.33?p.lift1.play():L<.66?p.lift2.play():p.lift3.play()}burst(e,o){const r=this.spreadSize/96;let s,c,a,l,i,u=.25,k=!1;this.crossette&&(c=n=>{k||(p.crackleSm1.play(),k=!0),pe(n)}),this.crackle&&(c=n=>{k||(p.crackle1.play(),k=!0),Se(n)}),this.floral&&(c=me),this.fallingLeaves&&(c=ge),this.glitter==="light"?(a=400,l=.3,i=300,u=2):this.glitter==="medium"?(a=200,l=.44,i=700,u=2):this.glitter==="heavy"?(a=80,l=.8,i=1400,u=2):this.glitter==="thick"?(a=16,l=Q?1.65:1.5,i=1400,u=3):this.glitter==="streamer"?(a=32,l=1.05,i=620,u=2):this.glitter==="willow"?(a=120,l=.34,i=1400,u=3.8):a=0,a=a/T;const b=(n,I)=>{const M=this.spreadSize/1800,L=D.add(e,o,s||x(),n,I*r,this.starLife+Math.random()*this.starLife*this.starLifeVariation,this.horsetail?this.comet&&this.comet.speedX:0,this.horsetail?this.comet&&this.comet.speedY:-M);this.secondColor&&(L.transitionTime=this.starLife*(Math.random()*.05+.32),L.secondColor=this.secondColor),this.strobe&&(L.transitionTime=this.starLife*(Math.random()*.08+.46),L.strobe=!0,L.strobeFreq=Math.random()*20+40,this.strobeColor&&(L.secondColor=this.strobeColor)),L.onDeath=c,this.glitter&&(L.sparkFreq=a,L.sparkSpeed=l,L.sparkLife=i,L.sparkLifeVariation=u,L.sparkColor=this.glitterColor,L.sparkTimer=Math.random()*L.sparkFreq)};if(typeof this.color=="string")if(this.color==="random"?s=null:s=this.color,this.ring){const n=Math.random()*Math.PI,I=Math.pow(Math.random(),2)*.85+.15;mt(0,R,this.starCount,0,M=>{const L=Math.sin(M)*r*I,G=Math.cos(M)*r,gt=St.pointDist(0,0,L,G),we=St.pointAngle(0,0,L,G)+n,X=D.add(e,o,s,we,gt,this.starLife+Math.random()*this.starLife*this.starLifeVariation);this.glitter&&(X.sparkFreq=a,X.sparkSpeed=l,X.sparkLife=i,X.sparkLifeVariation=u,X.sparkColor=this.glitterColor,X.sparkTimer=Math.random()*X.sparkFreq)})}else Y(this.starCount,b);else if(Array.isArray(this.color))if(Math.random()<.5){const n=Math.random()*Math.PI,I=n+Math.PI,M=Math.PI;s=this.color[0],Y(this.starCount,b,n,M),s=this.color[1],Y(this.starCount,b,I,M)}else s=this.color[0],Y(this.starCount/2,b),s=this.color[1],Y(this.starCount/2,b);else throw new Error("Invalid shell color. Expected string or array of strings, but got: "+this.color);this.pistil&&new _({spreadSize:this.spreadSize*.5,starLife:this.starLife*.6,starLifeVariation:this.starLifeVariation,starDensity:1.4,color:this.pistilColor,glitter:"light",glitterColor:this.pistilColor===C.Gold?C.Gold:C.White}).burst(e,o),this.streamers&&new _({spreadSize:this.spreadSize*.9,starLife:this.starLife*.8,starLifeVariation:this.starLifeVariation,starCount:Math.floor(Math.max(6,this.spreadSize/45)),color:C.White,glitter:"streamer"}).burst(e,o),K.add(e,o,this.spreadSize/4),this.comet&&(Math.random()<.5?p.burst1.play():p.burst2.play())}}const K={active:[],_pool:[],_new(){return{}},add(t,e,o){const r=this._pool.pop()||this._new();return r.x=t,r.y=e,r.radius=o,this.active.push(r),r},returnInstance(t){this._pool.push(t)}};function Pt(){const t={};return lt.forEach(e=>{t[e]=[]}),t}const D={drawWidth:3,airDrag:.98,airDragHeavy:.992,active:Pt(),_pool:[],_new(){return{}},add(t,e,o,r,s,c,a,l){const i=this._pool.pop()||this._new();return i.visible=!0,i.heavy=!1,i.x=t,i.y=e,i.prevX=t,i.prevY=e,i.color=o,i.speedX=Math.sin(r)*s+(a||0),i.speedY=Math.cos(r)*s+(l||0),i.life=c,i.fullLife=c,i.spinAngle=Math.random()*R,i.spinSpeed=.8,i.spinRadius=0,i.sparkFreq=0,i.sparkSpeed=1,i.sparkTimer=0,i.sparkColor=o,i.sparkLife=750,i.sparkLifeVariation=.25,i.strobe=!1,this.active[o].push(i),i},returnInstance(t){t.onDeath&&t.onDeath(t),t.onDeath=null,t.secondColor=null,t.transitionTime=0,t.colorChanged=!1,this._pool.push(t)}},O={drawWidth:0,airDrag:.9,active:Pt(),_pool:[],_new(){return{}},add(t,e,o,r,s,c){const a=this._pool.pop()||this._new();return a.x=t,a.y=e,a.prevX=t,a.prevY=e,a.color=o,a.speedX=Math.sin(r)*s,a.speedY=Math.cos(r)*s,a.life=c,this.active[o].push(a),a},returnInstance(t){this._pool.push(t)}};$t()}),(S,g)=>(Le(),Me("div",je,Ke))}}),tn=xe(Qe,[["__scopeId","data-v-bc47398e"]]);export{tn as default}; diff --git a/static/js/index-Cc7JnbWS.js b/static/js/index-Cc7JnbWS.js new file mode 100644 index 0000000..544d5b5 --- /dev/null +++ b/static/js/index-Cc7JnbWS.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/howler-Dcj4_M-0.js","static/js/commonjsHelpers-Cpj98o6Y.js"])))=>i.map(i=>d[i]); +import{i as o,k as h,w as m,s as u,x as d}from"./index-By46uPpP.js";function H(v,{volume:t=1,playbackRate:r=1,soundEnabled:p=!0,interrupt:y=!1,autoplay:w=!1,onload:f,...i}={}){const n=o(null),l=o(!1),s=o(null),e=o(null);function c(){var a;typeof f=="function"&&f.call(this),s.value=(s.value||((a=e.value)==null?void 0:a.duration())||0)*1e3,w===!0&&(l.value=!0)}return h(async()=>{const a=await m(()=>import("./howler-Dcj4_M-0.js").then(_=>_.h),__vite__mapDeps([0,1]));n.value=a.default.Howl,e.value=new n.value({src:u(v),volume:u(t),rate:u(r),onload:c,...i})}),d(()=>[v],()=>{n.value&&n.value&&e&&e.value&&(e.value=new n.value({src:u(v),volume:u(t),rate:u(r),onload:c,...i}))}),d(()=>[u(t),u(r)],()=>{e.value&&(e.value.volume(u(t)),e.value.rate(u(r)))}),{play:a=>{typeof a>"u"&&(a={}),!(!e.value||!p&&!a.forceSoundEnabled)&&(y&&e.value.stop(),a.playbackRate&&e.value.rate(a.playbackRate),e.value.play(a.id),e.value.once("end",()=>{e.value&&e.value&&!e.value.playing()&&(l.value=!1)}),l.value=!0)},sound:e,isPlaying:l,duration:s,pause:a=>{e.value&&(e.value.pause(typeof a=="number"?a:void 0),l.value=!1)},stop:a=>{e.value&&(e.value.stop(typeof a=="number"?a:void 0),l.value=!1)}}}export{H as u}; diff --git a/static/js/index-CdstpUXs.js b/static/js/index-CdstpUXs.js new file mode 100644 index 0000000..427e091 --- /dev/null +++ b/static/js/index-CdstpUXs.js @@ -0,0 +1 @@ +import{d as F,c as R,i as _,y as T,a as M,b as x,q as S,p as q,e as Y,o as B,_ as I,h as se,x as K,z as E,A as j,B as O,v as N,n as U,F as oe,r as ne,m as ae,k as re,C as H,f as ue,D as le,t as ce}from"./index-By46uPpP.js";const ie=n=>{const s=n.toString(16).toUpperCase();return s.length==1?"0"+s:s},P=n=>{const s=pe(n).substr(1).split(""),t=s[0]+s[1],o=s[2]+s[3],v=s[4]+s[5],m=s[6]+s[7],l=parseInt(t,16),e=parseInt(o,16),r=parseInt(v,16),i=parseInt(m,16)/255;return{hex:"#"+t+o+v,hexa:"#"+t+o+v+m,r:l,g:e,b:r,a:i}},pe=n=>{if(!n||n.length<3)return"#000000FF";let s=n.toUpperCase();if(s.startsWith("#")&&(s=s.substr(1)),s.length<3)return"#000000FF";let t,o,v,m;if(t=o=v="00",m="FF",s.length===3){const e=s.repeat(2).split("").map(r=>J(r));t=e[0]+e[1],o=e[2]+e[3],v=e[4]+e[5]}else if(s.length>=6){const l=s.split("").map(e=>J(e));t=l[0]+l[1],o=l[2]+l[3],v=l[4]+l[5],l.length===8&&(m=l[6]+l[7])}return`#${t}${o}${v}${m}`},J=n=>n.length<0||n.length>1?"0":isNaN(n)?["A","B","C","D","E","F"].includes(n.toUpperCase())?n.toUpperCase():"0":n,Q=n=>{const s=l=>l>255?255:l<0?0:Math.round(l),t=n/60*255,o=s(Math.abs(t-765)-255),v=s(510-Math.abs(t-510)),m=s(510-Math.abs(t-1020));return{r:o,g:v,b:m}},A=(n,s,t)=>{let o,v,m,l,e,r=0,i=0,g=0;switch(s<0&&(s=0),s>1&&(s=1),t<0&&(t=0),t>1&&(t=1),n%=360,n<0&&(n+=360),n/=60,o=Math.floor(n),v=n-o,m=t*(1-s),l=t*(1-s*v),e=t*(1-s*(1-v)),o){case 0:r=t,i=e,g=m;break;case 1:r=l,i=t,g=m;break;case 2:r=m,i=t,g=e;break;case 3:r=m,i=l,g=t;break;case 4:r=e,i=m,g=t;break;case 5:r=t,i=m,g=l;break}return{r:Math.round(r*255),g:Math.round(i*255),b:Math.round(g*255)}},Z=n=>{const{r:s,g:t,b:o}=n;let v=(1<<24)+s*65536+t*256+o;return v=v.toString(16).toUpperCase(),"#"+v.slice(1)},W=n=>{let s=n.substring(1);s="0x"+(s.length<6?l(s,2):s);const t=s>>16,o=s>>8&"0xff",v=s&"0xff";return{r:t,g:o,b:v};function m(e,r){let i="";for(let g=0;g{n=n/255,s=s/255,t=t/255;const o=Math.max(n,s,t),v=Math.min(n,s,t),m=o-v,l=o,e=o===0?0:m/o;let r=0;if(m!==0){switch(o){case n:r=(s-t)/m+(s(q("data-v-26c86644"),n=n(),Y(),n),de=ee(()=>x("div",{class:"sat-container"},null,-1)),ve=ee(()=>x("div",{class:"val-container"},null,-1)),he=F({__name:"Gradient",props:{width:{},currentColor:{},hue:{},sat:{},val:{}},emits:["update:sat","update:val"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:p,g:f,b:d}=Q(o.hue);return`rgba(${p}, ${f}, ${d}, 1)`}),l=R(()=>o.width),e=_(0),r=_(0),i=_(0),g=_(),w=_(),k=p=>{p.which===1&&(b(),u(),p.target!=w.value&&(a(p.offsetX,p.offsetY),p.stopPropagation(),p.preventDefault()))},$=()=>{h()},c=p=>{let f=p.pageX-e.value,d=p.pageY-r.value;f=Math.min(l.value,Math.max(0,f)),d=Math.min(i.value,Math.max(0,d)),a(f,d)},a=(p,f)=>{w.value.style.transform=`translate(${p}px, ${f}px)`;const d=p/l.value,C=1-f/i.value;v("update:sat",d),v("update:val",C)},u=()=>{const p=g.value.getBoundingClientRect();e.value=p.left,r.value=p.top,i.value=p.height};s({setSizePoses:u,setCursor:()=>{const p=l.value*o.sat,f=i.value*(1-o.val);w.value.style.transform=`translate(${p}px, ${f}px)`}});const b=()=>{document.addEventListener("mouseup",$),document.addEventListener("mousemove",c)},h=()=>{document.removeEventListener("mouseup",$),document.removeEventListener("mousemove",c)};return T(()=>{h()}),(p,f)=>(B(),M("div",{class:"gradient-content",ref_key:"gradientRef",ref:g,style:S({backgroundColor:m.value}),onMousedown:k},[de,ve,x("div",{ref_key:"gradientCursorRef",ref:w,class:"cursor-container",style:S({backgroundColor:o.currentColor})},null,4)],36))}}),fe=I(he,[["__scopeId","data-v-26c86644"]]),me=F({__name:"Hue",props:{width:{},hue:{}},emits:["update:hue"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:b,g:h,b:p}=Q(o.hue);return`rgba(${b}, ${h}, ${p}, 1)`}),l=R(()=>o.width),e=_(0),r=_(),i=_(),g=b=>{b.which===1&&(u(),c(),b.target!=i.value&&($(b.offsetX),b.stopPropagation(),b.preventDefault()))},w=()=>{y()},k=b=>{let h=b.pageX-e.value;h=Math.min(l.value,Math.max(0,h)),$(h)},$=b=>{i.value.style.transform=`translate(${b}px, 0px)`;const h=Math.round(b/l.value*360*100)/100;v("update:hue",h)},c=()=>{const b=r.value.getBoundingClientRect();e.value=b.left};s({setSizePoses:c,setCursor:()=>{const b=o.hue*l.value/360;i.value.style.transform=`translate(${b}px, 0px)`}});const u=()=>{document.addEventListener("mouseup",w),document.addEventListener("mousemove",k)},y=()=>{document.removeEventListener("mouseup",w),document.removeEventListener("mousemove",k)};return T(()=>{y()}),(b,h)=>(B(),M("div",{ref_key:"hueRef",ref:r,class:"hue-slider",onMousedown:g},[x("div",{ref_key:"hueCursorRef",ref:i,class:"slider-cursor",style:S({backgroundColor:m.value})},null,4)],544))}}),ge=I(me,[["__scopeId","data-v-a366f40b"]]),Ce=F({__name:"Opacity",props:{width:{},hue:{},sat:{},val:{},alpha:{}},emits:["update:alpha"],setup(n,{expose:s,emit:t}){const o=n,v=t,m=R(()=>{const{r:h,g:p,b:f}=A(o.hue,o.sat,o.val),d=`rgba(${h}, ${p}, ${f}, 0)`,C=`rgba(${h}, ${p}, ${f}, 1)`;return`linear-gradient(to right, ${d}, ${C})`}),l=R(()=>{const{r:h,g:p,b:f}=A(o.hue,o.sat,o.val);return`rgba(${h}, ${p}, ${f}, ${o.alpha})`}),e=R(()=>o.width),r=_(0),i=_(),g=_(),w=h=>{h.which===1&&(y(),a(),h.target!=g.value&&(c(h.offsetX),h.stopPropagation(),h.preventDefault()))},k=()=>{b()},$=h=>{let p=h.pageX-r.value;p=Math.min(e.value,Math.max(0,p)),c(p)},c=h=>{g.value.style.transform=`translate(${h}px, 0px)`;const p=h/e.value*100/100;v("update:alpha",p)},a=()=>{const h=i.value.getBoundingClientRect();r.value=h.left};s({setSizePoses:a,setCursor:()=>{const h=o.alpha*e.value;g.value.style.transform=`translate(${h}px, 0px)`}});const y=()=>{document.addEventListener("mouseup",k),document.addEventListener("mousemove",$)},b=()=>{document.removeEventListener("mouseup",k),document.removeEventListener("mousemove",$)};return T(()=>{b()}),(h,p)=>(B(),M("div",{ref_key:"alphaRef",ref:i,class:"alpha-slider",onMousedown:w},[x("div",{class:"alpha-slider-content",style:S({background:m.value})},[x("div",{ref_key:"alphaCursorRef",ref:g,class:"slider-cursor",style:S({background:l.value})},null,4)],4)],544))}}),be=I(Ce,[["__scopeId","data-v-67d00620"]]),te=n=>(q("data-v-2b58dec9"),n=n(),Y(),n),xe={class:"input-content"},_e=["value"],we=te(()=>x("option",{class:"input-select-option",value:"hex"},"HEX",-1)),ye=te(()=>x("option",{class:"input-select-option",value:"rgb"},"RGB",-1)),$e=[we,ye],ke={class:"input-rgb"},Be={class:"input-rgb-item"},Re={class:"input-rgb-item"},Me={class:"input-rgb-item"},Ee={key:0,class:"input-rgb-item"},Se={class:"input-hex"},Ue=F({__name:"ColorInput",props:{hue:{},sat:{},val:{},alpha:{},showOpacity:{type:Boolean}},emits:["update:hue","update:sat","update:val","update:alpha"],setup(n,{emit:s}){const t=n,o=s,v=_("hex"),m=c=>{const a=c.target.value;v.value=a},l=()=>{const{r:c,g:a,b:u}=A(t.hue,t.sat,t.val),y=Z({r:c,g:a,b:u});return{r:c,g:a,b:u,a:t.alpha,hex:y}},e=se({r:0,g:0,b:0,a:1,hex:"#FFFE00FF"});K([()=>t.hue,()=>t.sat,()=>t.val,()=>t.alpha],()=>{const{r:c,g:a,b:u,a:y,hex:b}=l();e.r=c,e.g=a,e.b=u,e.a=y,e.hex=b},{immediate:!0});const r=()=>{let c=Number(e.r);c=isNaN(c)?0:c>255?255:c<0?0:c;let a=Number(e.g);a=isNaN(a)?0:a>255?255:a<0?0:a;let u=Number(e.b);return u=isNaN(u)?0:u>255?255:u<0?0:u,{r:c,g:a,b:u}},i=()=>{let c=Number(e.a);return c=isNaN(c)?0:c>1?1:c<0?0:c,c},g=c=>{var a;if(c=="rgb"){const{r:u,g:y,b}=r(),{h,s:p,v:f}=z({r:u,g:y,b});U(()=>{o("update:hue",h),o("update:sat",p),o("update:val",f)})}else if(c=="a"){const u=i();U(()=>{o("update:alpha",u)})}else if(c=="hex"&&((a=e.hex)==null?void 0:a.length)>=7){const{hex:u}=P(e.hex),{r:y,g:b,b:h}=W(u),{h:p,s:f,v:d}=z({r:y,g:b,b:h});U(()=>{o("update:hue",p),o("update:sat",f),o("update:val",d)})}},w=()=>{const{r:c,g:a,b:u}=r();e.r=c,e.g=a,e.b=u},k=()=>{const c=i();e.a=c},$=c=>{const a=c.target.value;if(a.length<7){const{hex:u}=l();e.hex=u}else if(a.length>=7){const{hex:u}=P(a.slice(0,7));e.hex=u}};return(c,a)=>(B(),M("div",xe,[x("select",{class:"input-select",value:v.value,onChange:m},$e,40,_e),E(x("div",ke,[x("div",Be,[E(x("input",{"onUpdate:modelValue":a[0]||(a[0]=u=>e.r=u),onInput:a[1]||(a[1]=u=>g("rgb")),onBlur:w},null,544),[[O,e.r]])]),x("div",Re,[E(x("input",{"onUpdate:modelValue":a[2]||(a[2]=u=>e.g=u),onInput:a[3]||(a[3]=u=>g("rgb")),onBlur:w},null,544),[[O,e.g]])]),x("div",Me,[E(x("input",{"onUpdate:modelValue":a[4]||(a[4]=u=>e.b=u),onInput:a[5]||(a[5]=u=>g("rgb")),onBlur:w},null,544),[[O,e.b]])]),t.showOpacity?(B(),M("div",Ee,[E(x("input",{class:"alpha-input","onUpdate:modelValue":a[6]||(a[6]=u=>e.a=u),onInput:a[7]||(a[7]=u=>g("a")),onBlur:k},null,544),[[O,e.a]])])):N("",!0)],512),[[j,v.value==="rgb"]]),E(x("div",Se,[E(x("input",{"onUpdate:modelValue":a[8]||(a[8]=u=>e.hex=u),onInput:a[9]||(a[9]=u=>g("hex")),onBlur:$},null,544),[[O,e.hex]]),t.showOpacity?E((B(),M("input",{key:0,class:"alpha-input","onUpdate:modelValue":a[10]||(a[10]=u=>e.a=u),onInput:a[11]||(a[11]=u=>g("a")),onBlur:k},null,544)),[[O,e.a]]):N("",!0)],512),[[j,v.value==="hex"]])]))}}),Fe=I(Ue,[["__scopeId","data-v-2b58dec9"]]),Ie={key:0,class:"swatch-content"},Le=["onClick"],Oe=F({__name:"Swatches",props:{swatches:{},hideSwatches:{type:Boolean,default:!1},showOpacity:{type:Boolean},currentColor:{}},emits:["select"],setup(n,{emit:s}){const t=n,o=s,v=R(()=>{const l=["#56CCF2","#4BDDD4","#61F0E7","#49F397","#96E24A","#F1E257","#FCB17A","#EB5C5C","#DD789C","#F563DE","#C18AF7","#8177F5","#9F71B5","#A9A1C0","#CEA3F9","#4792E6"];return t.showOpacity?t.swatches??l.map(e=>e+"FF"):t.swatches??l}),m=l=>{const{hex:e,a:r}=P(l);t.showOpacity?o("select",e,r):o("select",e)};return(l,e)=>l.hideSwatches?N("",!0):(B(),M("div",Ie,[(B(!0),M(oe,null,ne(v.value,r=>(B(),M("div",{key:r,class:ae(["swatch-item",{"has-border":t.currentColor===r}]),style:S({backgroundColor:r}),onClick:i=>m(r)},null,14,Le))),128))]))}}),De=I(Oe,[["__scopeId","data-v-cd6e56a9"]]),He={class:"panel-content"},Ne={class:"controls-container"},Pe=F({__name:"Panel",props:{value:{default:""},width:{default:240},showOpacity:{type:Boolean,default:!0}},emits:["update:value","change"],setup(n,{emit:s}){const t=n,o=s,v=R(()=>t.width),m=_(),l=R(()=>{var f;return((f=m.value)==null?void 0:f.offsetWidth)??0}),e=_(0),r=_(0),i=_(0),g=_(1),w=R(()=>{const{r:f,g:d,b:C}=A(e.value,r.value,i.value),L=Z({r:f,g:d,b:C});if(t.showOpacity){const D=ie(Math.round(g.value*255));return L+D}else return L});K(w,()=>{U(()=>{o("update:value",w.value),o("change",w.value),u()})}),re(()=>{U(()=>{k()})});const k=()=>{if(t.value){const{hex:f,a:d}=P(t.value),{r:C,g:L,b:D}=W(f),{h:V,s:G,v:X}=z({r:C,g:L,b:D});e.value=V,r.value=G,i.value=X,t.showOpacity&&(g.value=d)}U(()=>{u()})},$=_(),c=_(),a=_(),u=()=>{y(),U(()=>{b()})},y=()=>{var f,d,C;(f=$.value)==null||f.setSizePoses(),(d=c.value)==null||d.setSizePoses(),(C=a.value)==null||C.setSizePoses()},b=()=>{var f,d,C;(f=$.value)==null||f.setCursor(),(d=c.value)==null||d.setCursor(),(C=a.value)==null||C.setCursor()},h=(f,d)=>{const{r:C,g:L,b:D}=W(f),{h:V,s:G,v:X}=z({r:C,g:L,b:D});e.value=V,r.value=G,i.value=X,t.showOpacity&&(g.value=d)},p=async()=>{const C=(await new window.EyeDropper().open({})).sRGBHex;h(C,"1")};return(f,d)=>(B(),M("div",He,[H(fe,{ref_key:"gradientRef",ref:$,width:v.value,currentColor:w.value,hue:e.value,sat:r.value,"onUpdate:sat":d[0]||(d[0]=C=>r.value=C),val:i.value,"onUpdate:val":d[1]||(d[1]=C=>i.value=C)},null,8,["width","currentColor","hue","sat","val"]),x("div",Ne,[x("div",{class:"slider-container",ref_key:"sliderRef",ref:m},[H(ge,{ref_key:"hueRef",ref:c,width:l.value,hue:e.value,"onUpdate:hue":d[2]||(d[2]=C=>e.value=C)},null,8,["width","hue"]),t.showOpacity?(B(),ue(be,{key:0,ref_key:"opacityRef",ref:a,width:l.value,alpha:g.value,"onUpdate:alpha":d[3]||(d[3]=C=>g.value=C),hue:e.value,sat:r.value,val:i.value},null,8,["width","alpha","hue","sat","val"])):N("",!0)],512),x("div",{class:"square",onClick:p},[x("span",{style:S({backgroundColor:w.value})},null,4)])]),H(Fe,{hue:e.value,"onUpdate:hue":d[4]||(d[4]=C=>e.value=C),sat:r.value,"onUpdate:sat":d[5]||(d[5]=C=>r.value=C),val:i.value,"onUpdate:val":d[6]||(d[6]=C=>i.value=C),alpha:g.value,"onUpdate:alpha":d[7]||(d[7]=C=>g.value=C),showOpacity:t.showOpacity},null,8,["hue","sat","val","alpha","showOpacity"]),H(De,le(f.$attrs,{currentColor:w.value,showOpacity:f.showOpacity,onSelect:h}),null,16,["currentColor","showOpacity"])]))}}),Ae=I(Pe,[["__scopeId","data-v-ae7039c0"]]),ze=n=>(q("data-v-b5e8a849"),n=n(),Y(),n),Ve={class:"color-picker-container"},Ge=ze(()=>x("div",{class:"tips"},ce("Color Picker"),-1)),Xe={class:"color-panel"},We=F({__name:"index",setup(n){const s=_("#f2f5f7");return(t,o)=>(B(),M("div",Ve,[x("div",{class:"color-picker-content",style:S({"background-color":s.value})},[Ge,x("div",Xe,[H(Ae,{value:s.value,"onUpdate:value":o[0]||(o[0]=v=>s.value=v)},null,8,["value"])])],4)]))}}),qe=I(We,[["__scopeId","data-v-b5e8a849"]]);export{qe as default}; diff --git a/static/js/index-ClWlepwb.js b/static/js/index-ClWlepwb.js deleted file mode 100644 index 9e29893..0000000 --- a/static/js/index-ClWlepwb.js +++ /dev/null @@ -1 +0,0 @@ -import{d as T,h as a,k as C,n as p,f as S,a as g,F as D,i as R,z as w,o as L,r as V,l as $,D as z,G as I,e as j,w as F,t as G}from"./index-DblQHoIm.js";import{_ as P}from"./plugin-vueexport-helper-DlAUqK2U.js";const U=T({__name:"VirtualScroller",props:{list:{default:()=>[]},height:{default:300},itemHeight:{default:32},preloadNum:{default:5}},emits:["arriveBottom"],setup(m,{emit:f}){const t=m,c=f,d=a(()=>t.list.length*t.itemHeight),h=a(()=>!d.value||!t.height||!v.value?!1:v.value+t.height>=d.value);C(h,()=>{h.value&&c("arriveBottom")});const e=a(()=>({width:"100%",height:`${t.height}px`,"overflow-y":"auto"})),N=a(()=>{let n=l.value*t.itemHeight,r=d.value-n;return r<0&&(r=d.value,n=0),{width:"100%",height:`${r}px`,marginTop:`${n}px`}}),v=p(0),b=n=>{v.value=n.target.scrollTop},y=a(()=>t.preloadNum&&!isNaN(t.preloadNum)&&t.preloadNum>0?t.preloadNum:5),H=a(()=>t.height?Math.ceil(t.height/t.itemHeight):0),o=a(()=>Math.floor(v.value/t.itemHeight)),l=a(()=>{const n=o.value-y.value;return n<0?0:n}),s=a(()=>{const n=o.value+H.value+y.value;return n>t.list.length?t.list.length:n}),i=a(()=>t.list.slice(l.value,s.value));return(n,r)=>(L(),S("div",{ref:"outerScrollerRef",style:w(e.value),onScroll:b},[g("div",{ref:"innerScrollerRef",style:w(N.value)},[(L(!0),S(D,null,R(i.value,(_,u)=>(L(),S("div",{key:_.name,style:w({height:`${t.itemHeight}px`})},[V(n.$slots,"default",{index:u+l.value,item:_})],4))),128))],4)],36))}});function q(m){const t=p((()=>{const e=document.createElement("div");return e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.zIndex="9999",e.style.backgroundColor="rgba(0, 0, 0, 0.5)",e.innerHTML="Loading...",e.style.visibility="hidden",e})());C(m,()=>{if(m){const e=m.value;e==null||e.appendChild(t.value)}else{const e=document.body;e==null||e.appendChild(t.value)}});const c=p(!1);return{loading:c,startLoading:()=>{t.value.style.visibility="visible",c.value=!0},endLoading:()=>{t.value.style.visibility="hidden",c.value=!1}}}const E={class:"virtual-list-container"},J={class:"content-header"},K=T({__name:"index",setup(m){const f=p(),t=a(()=>{var o;return((o=f.value)==null?void 0:o.clientHeight)-48}),{startLoading:c,endLoading:d}=q(f),h=p(""),e=p([]),N=a(()=>e.value.filter(o=>o.name.includes(h.value)));$(()=>{e.value=y()});const v=()=>{e.value=[...e.value,...y(50)]},b=()=>{c(),setTimeout(()=>{v(),d()},1e3*2)},y=(o=200)=>{const l=[],s=o;for(let i=0;i=A&&(k=M(u,x,B,M)),k},r),n+=l[_];return n}return(o,l)=>(L(),S("div",E,[g("div",{ref_key:"contentRef",ref:f,class:"content"},[g("div",J,[z(g("input",{"onUpdate:modelValue":l[0]||(l[0]=s=>h.value=s)},null,512),[[I,h.value]]),g("button",{onClick:v},"+Add")]),j(U,{list:N.value,itemHeight:28,height:t.value,onArriveBottom:b},{default:F(({item:s,index:i})=>[g("div",null,G(i+"-"+s.name),1)]),_:1},8,["list","height"])],512)]))}}),W=P(K,[["__scopeId","data-v-78b7a1bd"]]);export{W as default}; diff --git a/static/js/index-Cp8M_184.js b/static/js/index-Cp8M_184.js deleted file mode 100644 index 7616004..0000000 --- a/static/js/index-Cp8M_184.js +++ /dev/null @@ -1,11 +0,0 @@ -import{h as Ht,s as qt,n as ye,d as ve,q as Ce,l as be,f as Me,e as Le,p as ke,b as Ee,a as st,o as xe}from"./index-DblQHoIm.js";import{u as Ie}from"./index-DEDEmN9i.js";import Fe from"./index-DSKkTIgH.js";import{_ as _e}from"./plugin-vueexport-helper-DlAUqK2U.js";function De(v){const h={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5},p=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],S=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],g=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],m=typeof window<"u"&&typeof window.document<"u"?window.document:{},f="fullscreenEnabled"in m&&Object.keys(h)||p[0]in m&&p||S[0]in m&&S||g[0]in m&&g||[],w={requestFullscreen:function(y){return y[f[h.requestFullscreen]]()},requestFullscreenFunction:function(y){return y[f[h.requestFullscreen]]},get exitFullscreen(){return m[f[h.exitFullscreen]].bind(m)},addEventListener:function(y,F,T){return m.addEventListener(f[h[y]],F,T)},removeEventListener:function(y,F){return m.removeEventListener(f[h[y]],F)},get fullscreenEnabled(){return!!m[f[h.fullscreenEnabled]]},set fullscreenEnabled(d){},get fullscreenElement(){return m[f[h.fullscreenElement]]},set fullscreenElement(d){},get onfullscreenchange(){return m[("on"+f[h.fullscreenchange]).toLowerCase()]},set onfullscreenchange(d){return m[("on"+f[h.fullscreenchange]).toLowerCase()]=d},get onfullscreenerror(){return m[("on"+f[h.fullscreenerror]).toLowerCase()]},set onfullscreenerror(d){return m[("on"+f[h.fullscreenerror]).toLowerCase()]=d}};v.fscreen=w}function Te(v){const h={};return h.toDeg=180/v.PI,h.toRad=v.PI/180,h.halfPI=v.PI/2,h.twoPI=v.PI*2,h.dist=(p,S)=>v.sqrt(p*p+S*S),h.pointDist=(p,S,g,m)=>{const f=g-p,w=m-S;return v.sqrt(f*f+w*w)},h.angle=(p,S)=>h.halfPI+v.atan2(S,p),h.pointAngle=(p,S,g,m)=>h.halfPI+v.atan2(m-S,g-p),h.splitVector=(p,S)=>({x:v.sin(S)*p,y:-v.cos(S)*p}),h.random=(p,S)=>v.random()*(S-p)+p,h.randomInt=(p,S)=>(v.random()*(S-p+1)|0)+p,h.randomChoice=function(S){return arguments.length===1&&Array.isArray(S)?S[v.random()*S.length|0]:arguments[v.random()*arguments.length|0]},h.clamp=function(S,g,m){return v.min(v.max(S,g),m)},h}const St=Te(Math);function Pe(v){const h={};h.addListener=function(d){if(typeof d!="function")throw"Ticker.addListener() requires a function reference passed for a callback.";g.push(d),p||(p=!0,m())};let p=!1,S=0;const g=[];function m(){requestAnimationFrame(f)}function f(w){let d=w-S;S=w,d<0?d=17:d>68&&(d=68),g.forEach(y=>y.call(v,d,d/16.6667)),m()}return h}function He(v,h,p){let S=0;function g(m){if(typeof m=="string"&&(m=h.getElementById(m)),!m)return;this.canvas=m,this.ctx=m.getContext("2d"),this.canvas.style.touchAction="none",this.speed=1,this.dpr=g.disableHighDPI?1:(v.devicePixelRatio||1)/(this.ctx.backingStorePixelRatio||1),this.width=m.width,this.height=m.height,this.naturalWidth=this.width*this.dpr,this.naturalHeight=this.height*this.dpr,this.width!==this.naturalWidth&&(this.canvas.width=this.naturalWidth,this.canvas.height=this.naturalHeight,this.canvas.style.width=this.width+"px",this.canvas.style.height=this.height+"px");const f=["blackdiamondfireworks.de"],w=h.location.hostname;f.some(d=>w.includes(d))&&setTimeout(()=>{const y=` -

Hi! Sorry to interrupt the fireworks.

-

My name is Caleb. Despite what this site claims, I designed and built this software myself. I've spent a couple hundred hours of my own time, over two years, making it.

-

The owner of this site clearly doesn't respect my work, and has labeled it as their own.

-

If you were enjoying the show, please check out my official version here!

-

If you're the owner, contact me.

`;h.body.innerHTML=y},18e4),g.stages.push(this),this._listeners={resize:[],pointerstart:[],pointermove:[],pointerend:[],lastPointerPos:{x:0,y:0}}}return g.stages=[],g.disableHighDPI=!1,g.prototype.addEventListener=function(f,w){var d;try{f==="ticker"?p.addListener(w):(d=this._listeners)==null||d[f].push(w)}catch{throw"Invalid Event"}},g.prototype.dispatchEvent=function(f,w){const d=this._listeners[f];if(d)d.forEach(y=>y.call(this,w));else throw"Invalid Event"},g.prototype.resize=function(f,w){this.width=f,this.height=w,this.naturalWidth=f*this.dpr,this.naturalHeight=w*this.dpr,this.canvas.width=this.naturalWidth,this.canvas.height=this.naturalHeight,this.canvas.style.width=f+"px",this.canvas.style.height=w+"px",this.dispatchEvent("resize")},g.windowToCanvas=function(f,w,d){const y=f.getBoundingClientRect();return{x:(w-y.left)*(f.width/y.width),y:(d-y.top)*(f.height/y.height)}},g.mouseHandler=function(f){if(Date.now()-S<500)return;let w="start";f.type==="mousemove"?w="move":f.type==="mouseup"&&(w="end"),g.stages.forEach(d=>{const y=g.windowToCanvas(d.canvas,f.clientX,f.clientY);d.pointerEvent(w,y.x/d.dpr,y.y/d.dpr)})},g.touchHandler=function(f){S=Date.now();let w="start";f.type==="touchmove"?w="move":f.type==="touchend"&&(w="end"),g.stages.forEach(d=>{for(const y of Array.from(f.changedTouches)){let F;w!=="end"?(F=g.windowToCanvas(d.canvas,y.clientX,y.clientY),d._listeners.lastPointerPos=F,w==="start"&&d.pointerEvent("move",F.x/d.dpr,F.y/d.dpr)):F=d._listeners.lastPointerPos,d.pointerEvent(w,F.x/d.dpr,F.y/d.dpr)}})},g.prototype.pointerEvent=function(f,w,d){const y={type:f,x:w,y:d};y.onCanvas=w>=0&&w<=this.width&&d>=0&&d<=this.height,this.dispatchEvent("pointer"+f,y)},h.addEventListener("mousedown",g.mouseHandler),h.addEventListener("mousemove",g.mouseHandler),h.addEventListener("mouseup",g.mouseHandler),h.addEventListener("touchstart",g.touchHandler),h.addEventListener("touchmove",g.touchHandler),h.addEventListener("touchend",g.touchHandler),g}const Re=Pe(window),Rt=He(window,document,Re);function qe(){const v=window.innerWidth<=640,h=window.innerWidth>800,p=h&&window.innerHeight<300,S=Ht(()=>v?.9:p?.75:1),g=Ht(()=>{const f=navigator.hardwareConcurrency;if(f){const w=window.innerWidth<=1024?4:8;return f>=w}else return!1});return{state:qt({paused:!1,soundEnabled:!0,menuOpen:!1,openHelpTopic:null,fullscreen:!1,config:{quality:g.value?3:2,shell:"Random",size:h?"3":p?"1.2":"2",autoLaunch:!0,finale:!1,skyLighting:2,hideControls:p,longExposure:!1,scaleFactor:S.value}})}}const We="/pages/static/mp3/burst-sm-1-giaWz7DW.mp3",ze="/pages/static/mp3/burst-sm-2-j5DbIoqH.mp3",Oe="/pages/static/mp3/burst1-CfBzmPqS.mp3",Ae="/pages/static/mp3/burst2-DuB8hlxd.mp3",Ve="/pages/static/mp3/crackle-sm-1-DKPg9x1c.mp3",Ye="/pages/static/mp3/crackle1-CElk69-5.mp3",Ge="/pages/static/mp3/lift1-2qhCOFJo.mp3",Xe="/pages/static/mp3/lift2-BHJKxzJE.mp3",Be="/pages/static/mp3/lift3-Cs9CTP3o.mp3",Ne=[We,ze,Oe,Ae,Ve,Ye,Ge,Xe,Be];function je(){const v=ye(Ne),h=qt({burstSm1:void 0,burstSm2:void 0,burst1:void 0,burst2:void 0,crackleSm1:void 0,crackle1:void 0,lift1:void 0,lift2:void 0,lift3:void 0});return Object.keys(h).forEach((p,S)=>{h[p]=Ie(v.value[S])}),{playList:h}}const Ue=v=>(ke("data-v-2741c89d"),v=v(),Ee(),v),Ke={class:"fireworks-container"},Qe=Ue(()=>st("div",{class:"stage-container"},[st("div",{class:"canvas-container"},[st("canvas",{id:"trails-canvas"}),st("canvas",{id:"main-canvas"})])],-1)),$e=ve({__name:"index",setup(v){const{state:h}=qe(),{playList:p}=je();return Ce(()=>{window.fscreen=null}),be(()=>{navigator.mediaDevices.getUserMedia({audio:!0}),De(window);const S=window.innerWidth>800,g=S&&window.innerHeight<300,m=7680,f=4320,w=.9;let d=1,y,F,T=1,Z=!1,Q=!1;const Wt=1,wt=3,yt=0,C={Red:"#ff0043",Green:"#14fc56",Blue:"#1e7fff",Purple:"#e60aff",Gold:"#ffbf36",White:"#ffffff"},W="_INVISIBLE_",R=Math.PI*2,rt=Math.PI*.5,vt=new Rt("trails-canvas"),P=new Rt("main-canvas"),Ct=[vt,P];console.log(Ct);function zt(){T=Ot(),Z=T===Wt,Q=T===wt,at()===yt&&(z.canvasContainer.style.backgroundColor="#000"),O.drawWidth=T===wt?.75:1}const it=(t=h)=>!t.paused&&!t.menuOpen,Ot=()=>+h.config.quality,A=()=>h.config.shell,B=()=>+h.config.size,At=()=>h.config.finale,at=()=>+h.config.skyLighting,bt=()=>h.config.scaleFactor,z={stageContainer:".stage-container",canvasContainer:".canvas-container"};Object.keys(z).forEach(t=>{z[t]=document.querySelector(z[t])}),console.log(z);const V=Object.keys(C).map(t=>C[t]),lt=[...V,W];lt.reduce((t,e,o)=>(t[e]=o,t),{});const Mt={};V.forEach(t=>{Mt[t]={r:parseInt(t.substr(1,2),16),g:parseInt(t.substr(3,2),16),b:parseInt(t.substr(5,2),16)}});function tt(){return V[Math.random()*V.length|0]}let Lt;function x(t){const e=t&&t.notSame,o=t&&t.notColor,r=t&&t.limitWhite;let s=tt();if(r&&s===C.White&&Math.random()<.6&&(s=tt()),e)for(;s===Lt;)s=tt();else if(o)for(;s===o;)s=tt();return Lt=s,s}function ct(){return Math.random()<.5?C.Gold:C.White}function N(t){return t===C.White||t===C.Gold?x({notColor:t}):ct()}const $=(t=1)=>{const e=Math.random()<.25,o=Math.random()<.72,r=o?x({limitWhite:!0}):[x(),x({notSame:!0})],s=o&&Math.random()<.42,c=s&&N(r),a=o&&(Math.random()<.2||r===C.White)?c||x({notColor:r,limitWhite:!0}):null,l=!s&&r!==C.White&&Math.random()<.42;let i=e?1.1:1.25;return Z&&(i*=.8),Q&&(i=1.2),{shellSize:t,spreadSize:300+t*100,starLife:900+t*200,starDensity:i,color:r,secondColor:a,glitter:e?"light":"",glitterColor:ct(),pistil:s,pistilColor:c,streamers:l}},Vt=(t=1)=>{const e=$(t);e.starLife*=1.5;const o=x({notColor:C.White});return e.streamers=!0,Math.random()<.42&&N(o),e.color=W,e.secondColor=o,e.glitter="",e},Yt=(t=1)=>{const e=x({limitWhite:!0});return{shellSize:t,spreadSize:280+t*92,starLife:1100+t*200,starLifeVariation:.4,starDensity:1.1,color:e,glitter:"light",glitterColor:C.White,strobe:!0,strobeColor:Math.random()<.5?C.White:null,pistil:Math.random()<.5,pistilColor:N(e)}},Gt=(t=1)=>{const e=x(),o=Math.random()<.5;return{shellSize:t,color:e,spreadSize:250+t*75,starDensity:o?.15:.4,starLife:1800+t*200,glitter:o?"thick":"heavy"}},ht=(t=1)=>{const e=x(),o=Math.random()<.75;return{shellSize:t,ring:!0,color:e,spreadSize:300+t*100,starLife:900+t*200,starCount:2.2*R*(t+1),pistil:o,pistilColor:N(e),glitter:o?"":"light",glitterColor:e===C.Gold?C.Gold:C.White,streamers:Math.random()<.3}},Xt=(t=1)=>{const e=x({limitWhite:!0});return{shellSize:t,spreadSize:300+t*100,starLife:750+t*160,starLifeVariation:.4,starDensity:.85,color:e,crossette:!0,pistil:Math.random()<.5,pistilColor:N(e)}},Bt=(t=1)=>({shellSize:t,spreadSize:300+t*120,starDensity:.12,starLife:500+t*50,starLifeVariation:.5,color:Math.random()<.65?"random":Math.random()<.15?x():[x(),x({notSame:!0})],floral:!0}),Nt=(t=1)=>({shellSize:t,color:W,spreadSize:300+t*120,starDensity:.12,starLife:500+t*50,starLifeVariation:.5,glitter:"medium",glitterColor:C.Gold,fallingLeaves:!0}),jt=(t=1)=>({shellSize:t,spreadSize:300+t*100,starDensity:.6,starLife:3e3+t*300,glitter:"willow",glitterColor:C.Gold,color:W}),Ut=(t=1)=>{const e=Math.random()<.75?C.Gold:x();return{shellSize:t,spreadSize:380+t*75,starDensity:Z?.65:1,starLife:600+t*100,starLifeVariation:.32,glitter:"light",glitterColor:C.Gold,color:e,crackle:!0,pistil:Math.random()<.65,pistilColor:N(e)}},Kt=(t=1)=>{const e=x();return{shellSize:t,horsetail:!0,color:e,spreadSize:250+t*38,starDensity:.9,starLife:2500+t*300,glitter:"medium",glitterColor:Math.random()<.5?ct():e,strobe:e===C.White}};function dt(){return Math.random()<.5?"Crysanthemum":Et[Math.random()*(Et.length-1)+1|0]}function kt(t){var e;return g?nt()(t):(e=H[dt()])==null?void 0:e.call(H,t)}function et(t){var e;return(e=H[A()])==null?void 0:e.call(H,t)}const Qt=["Falling Leaves","Floral","Willow"];function nt(){const t=A()==="Random";let e=t?dt():A();if(t)for(;Qt.includes(e);)e=dt();return H[e]}const H={Random:kt,Crackle:Ut,Crossette:Xt,Crysanthemum:$,"Falling Leaves":Nt,Floral:Bt,Ghost:Vt,"Horse Tail":Kt,Palm:Gt,Ring:ht,Strobe:Yt,Willow:jt},Et=Object.keys(H);function $t(){zt()}function xt(t){return(1-.18*2)*t+.18}function It(t){return t*.75}function Jt(){return xt(Math.random())}function Zt(){return It(Math.random())}function ot(){const t=B(),e=Math.min(2.5,t),o=Math.random()*e,r=t-o,s=e===0?Math.random():1-o/e,c=Math.random()*(1-s*.65)*.5,a=Math.random()<.5?.5-c:.5+c;return{size:r,x:xt(a),height:It(s)}}function te(t){const e=new _(et(B())),o=P.width,r=P.height;e.launch(t?t.x/o:Jt(),t?1-t.y/r:Zt())}function ee(){const t=ot(),e=new _(et(t.size));e.launch(t.x,t.height);let o=e.starLife;return e.fallingLeaves&&(o=4600),900+Math.random()*600+o}function ne(){const t=nt(),e=ot(),o=new _(t(e.size));o.launch(e.x,e.height);const r=o.starLife;return 900+Math.random()*600+r}function Ft(){const t=ot(),e=ot(),o=new _(et(t.size)),r=new _(et(e.size)),s=Math.random()*.2-.1,c=Math.random()*.2-.1;o.launch(.3+s,t.height),setTimeout(()=>{r.launch(.7+c,e.height)},100);let a=Math.max(o.starLife,r.starLife);return(o.fallingLeaves||r.fallingLeaves)&&(a=4600),900+Math.random()*600+a}function oe(){const t=nt(),e=B(),o=Math.max(0,e-1.25),r=Math.random()*.08-.04;new _(t(e)).launch(.5+r,.7);const c=1e3+Math.random()*400,a=1e3+Math.random()*400;return setTimeout(()=>{const l=Math.random()*.08-.04;new _(t(o)).launch(.2+l,.1)},c),setTimeout(()=>{const l=Math.random()*.08-.04;new _(t(o)).launch(.8+l,.1)},a),4e3}function se(){const t=S?7:4,e=B(),o=Math.max(0,e-3),r=Math.random()<.78?$:ht,s=kt;function c(i,u){const b=A()==="Random"?u?s:r:H[A()],n=new _(b(u?e:o)),I=i<=.5?i/.5:(1-i)/.5;n.launch(i,u?.75:I*.42)}let a=0,l=0;for(;a<=t;){if(a===t)setTimeout(()=>{c(.5,!0)},l);else{const i=a/t*.5,u=Math.random()*30+30;setTimeout(()=>{c(i,!1)},l),setTimeout(()=>{c(1-i,!1)},l+u)}a++,l+=200}return 3400+t*250}function j(){j.lastCalled=Date.now();const t=S?11:5,e=S?3:1,o=Math.max(0,B()-2),r=Math.random()<.78?$:ht,s=nt();function c(i,u){const b=A()==="Random"?u?s:r:H[A()],n=new _(b(o)),I=(Math.cos(i*5*Math.PI+rt)+1)/2;n.launch(i,I*.75)}let a=0,l=0;for(;a{c(.5+i,k)},l),setTimeout(()=>{c(.5-i,k)},l+u),a+=2}l+=200}return 3400+t*120}j.cooldown=15e3,j.lastCalled=Date.now();let _t=!0;const re=32;let ut=0;function ie(){if(_t)return _t=!1,g?Ft():(new _($(B())).launch(.5,.5),2400);if(At())return ne(),utj.cooldown)return j();if(t<.1)return se();if(t<.6&&!g)return ee();if(t<.8)return Ft();if(t<1)return oe()}let J=!1;function ae(t){it()&&(Tt(t)?J=!0:t.onCanvas&&te(t))}function le(){J=!1}function ce(t){it()&&J&&Tt(t)}P.addEventListener("pointerstart",ae),P.addEventListener("pointerend",le),P.addEventListener("pointermove",ce);function Dt(){const t=window.innerWidth,e=window.innerHeight,o=Math.min(t,m),r=t<=420?e:Math.min(e,f);z.stageContainer.style.width=o+"px",z.stageContainer.style.height=r+"px",Ct.forEach(c=>c.resize(o,r));const s=bt();y=o/s,F=r/s}Dt(),window.addEventListener("resize",Dt);let ft=0,U=0,pt=0;function Tt(t){if(J||t.y>=P.height-44){const o=(t.x-16)/(P.width-32);return d=Math.min(Math.max(o,0),1),U=1,!0}return!1}function he(t,e){ft++,J||(U-=e/30,U<0&&(U=0)),h.config.autoLaunch&&(pt-=t,pt<=0&&(pt=ie()*1.25))}function de(t,e){if(!it())return;const o=t*d,r=d*e;he(o,e);const s=1-(1-D.airDrag)*r,c=1-(1-D.airDragHeavy)*r,a=1-(1-O.airDrag)*r,l=o/1e3*w;lt.forEach(i=>{const u=D.active[i];for(let b=u.length-1;b>=0;b=b-1){const n=u[b];if(n.updateFrame!==ft)if(n.updateFrame=ft,n.life-=o,n.life<=0)u.splice(b,1),D.returnInstance(n);else{const I=Math.pow(n.life/n.fullLife,.5),M=1-I;if(n.prevX=n.x,n.prevY=n.y,n.x+=n.speedX*r,n.y+=n.speedY*r,n.heavy?(n.speedX*=c,n.speedY*=c):(n.speedX*=s,n.speedY*=s),n.speedY+=l,n.spinRadius&&(n.spinAngle+=n.spinSpeed*r,n.x+=Math.sin(n.spinAngle)*n.spinRadius*r,n.y+=Math.cos(n.spinAngle)*n.spinRadius*r),n.sparkFreq)for(n.sparkTimer-=o;n.sparkTimer<0;)n.sparkTimer+=n.sparkFreq*.75+n.sparkFreq*M*4,O.add(n.x,n.y,n.sparkColor,Math.random()*R,Math.random()*n.sparkSpeed*I,n.sparkLife*.8+Math.random()*n.sparkLifeVariation*n.sparkLife);n.life=0;b=b-1){const n=k[b];n.life-=o,n.life<=0?(k.splice(b,1),O.returnInstance(n)):(n.prevX=n.x,n.prevY=n.y,n.x+=n.speedX*r,n.y+=n.speedY*r,n.speedX*=a,n.speedY*=a,n.speedY+=l)}}),ue(r)}function ue(t){const{dpr:e}=P,o=y,r=F,s=vt.ctx,c=P.ctx;at()!==yt&&fe(t);const a=bt();for(s.scale(e*a,e*a),c.scale(e*a,e*a),s.globalCompositeOperation="source-over",s.fillStyle=`rgba(0, 0, 0, ${h.config.longExposure?.0025:.175*t})`,s.fillRect(0,0,o,r),c.clearRect(0,0,o,r);K.active.length;){const l=K.active.pop(),i=s.createRadialGradient(l.x,l.y,0,l.x,l.y,l.radius);i.addColorStop(.024,"rgba(255, 255, 255, 1)"),i.addColorStop(.125,"rgba(255, 160, 20, 0.2)"),i.addColorStop(.32,"rgba(255, 140, 20, 0.11)"),i.addColorStop(1,"rgba(255, 120, 20, 0)"),s.fillStyle=i,s.fillRect(l.x-l.radius,l.y-l.radius,l.radius*2,l.radius*2),K.returnInstance(l)}s.globalCompositeOperation="lighten",s.lineWidth=D.drawWidth,s.lineCap=Z?"square":"round",c.strokeStyle="#fff",c.lineWidth=1,c.beginPath(),V.forEach(l=>{const i=D.active[l];s.strokeStyle=l,s.beginPath(),i.forEach(u=>{u.visible&&(s.moveTo(u.x,u.y),s.lineTo(u.prevX,u.prevY),c.moveTo(u.x,u.y),c.lineTo(u.x-u.speedX*1.6,u.y-u.speedY*1.6))}),s.stroke()}),c.stroke(),s.lineWidth=O.drawWidth,s.lineCap="butt",V.forEach(l=>{const i=O.active[l];s.strokeStyle=l,s.beginPath(),i.forEach(u=>{s.moveTo(u.x,u.y),s.lineTo(u.prevX,u.prevY)}),s.stroke()}),U&&(c.globalAlpha=U,c.fillStyle=C.Blue,c.fillRect(0,r-6,o*d,6),c.globalAlpha=1),s.setTransform(1,0,0,1,0,0),c.setTransform(1,0,0,1,0,0)}const q={r:0,g:0,b:0},E={r:0,g:0,b:0};function fe(t){const e=at()*15,o=500;let r=0;E.r=0,E.g=0,E.b=0,V.forEach(l=>{const i=Mt[l],u=D.active[l].length;r+=u,E.r+=i.r*u,E.g+=i.g*u,E.b+=i.b*u});const s=Math.pow(Math.min(1,r/o),.3),c=Math.max(1,E.r,E.g,E.b);E.r=E.r/c*e*s,E.g=E.g/c*e*s,E.b=E.b/c*e*s;const a=10;q.r+=(E.r-q.r)/a*t,q.g+=(E.g-q.g)/a*t,q.b+=(E.b-q.b)/a*t,z.canvasContainer.style.backgroundColor=`rgb(${q.r|0}, ${q.g|0}, ${q.b|0})`}P.addEventListener("ticker",de);function mt(t,e,o,r,s){const c=e/o,a=t+e-c*.5;if(a>t)for(let l=t;la;l=l+c)s(l+Math.random()*c*r)}function Y(t,e,o=0,r=R){const c=2*(.5*Math.sqrt(t/Math.PI))*Math.PI,a=c/2;for(let l=0;l<=a;l++){const i=l/a*rt,u=Math.cos(i),k=c*u,b=k*(r/R),n=R/k,I=Math.random()*n+o,M=n*.33;for(let L=0;L{D.add(t.x,t.y,t.color,o,Math.random()*.6+.75,600)})}function me(t){const e=12+6*T;Y(e,(r,s)=>{D.add(t.x,t.y,t.color,r,s*2.4,1e3+Math.random()*300,t.speedX,t.speedY)}),K.add(t.x,t.y,46),Math.random()<.5?p.burstSm1.play():p.burstSm2.play()}function ge(t){Y(7,(o,r)=>{const s=D.add(t.x,t.y,W,o,r*2.4,2400+Math.random()*600,t.speedX,t.speedY);s.sparkColor=C.Gold,s.sparkFreq=144/T,s.sparkSpeed=.28,s.sparkLife=750,s.sparkLifeVariation=3.2}),K.add(t.x,t.y,46),Math.random()<.5?p.burstSm1.play():p.burstSm2.play()}function Se(t){mt(0,R,Q?32:16,1.8,o=>{O.add(t.x,t.y,C.Gold,o,Math.pow(Math.random(),.45)*2.4,300+Math.random()*200)})}class _{constructor(e){if(Object.assign(this,e),this.starLifeVariation=e.starLifeVariation||.125,this.color=e.color||x(),this.glitterColor=e.glitterColor||this.color,!this.starCount){const o=e.starDensity||1,r=this.spreadSize/54;this.starCount=Math.max(6,r*r*o)}}launch(e,o){const r=y,s=F,c=60,a=50,i=s-s*.45,u=e*(r-c*2)+c,k=s,b=i-o*(i-a),n=k-b,I=Math.pow(n*.04,.64),M=this.comet=D.add(u,k,typeof this.color=="string"&&this.color!=="random"?this.color:C.White,Math.PI,I*(this.horsetail?1.2:1),I*(this.horsetail?100:400));M.heavy=!0,M.spinRadius=St.random(.32,.85),M.sparkFreq=32/T,Q&&(M.sparkFreq=8),M.sparkLife=320,M.sparkLifeVariation=3,(this.glitter==="willow"||this.fallingLeaves)&&(M.sparkFreq=20/T,M.sparkSpeed=.5,M.sparkLife=500),this.color===W&&(M.sparkColor=C.Gold),Math.random()>.4&&!this.horsetail&&(M.secondColor=W,M.transitionTime=Math.pow(Math.random(),1.5)*700+500),M.onDeath=G=>this.burst(G.x,G.y);const L=Math.random();L<.33?p.lift1.play():L<.66?p.lift2.play():p.lift3.play()}burst(e,o){const r=this.spreadSize/96;let s,c,a,l,i,u=.25,k=!1;this.crossette&&(c=n=>{k||(p.crackleSm1.play(),k=!0),pe(n)}),this.crackle&&(c=n=>{k||(p.crackle1.play(),k=!0),Se(n)}),this.floral&&(c=me),this.fallingLeaves&&(c=ge),this.glitter==="light"?(a=400,l=.3,i=300,u=2):this.glitter==="medium"?(a=200,l=.44,i=700,u=2):this.glitter==="heavy"?(a=80,l=.8,i=1400,u=2):this.glitter==="thick"?(a=16,l=Q?1.65:1.5,i=1400,u=3):this.glitter==="streamer"?(a=32,l=1.05,i=620,u=2):this.glitter==="willow"?(a=120,l=.34,i=1400,u=3.8):a=0,a=a/T;const b=(n,I)=>{const M=this.spreadSize/1800,L=D.add(e,o,s||x(),n,I*r,this.starLife+Math.random()*this.starLife*this.starLifeVariation,this.horsetail?this.comet&&this.comet.speedX:0,this.horsetail?this.comet&&this.comet.speedY:-M);this.secondColor&&(L.transitionTime=this.starLife*(Math.random()*.05+.32),L.secondColor=this.secondColor),this.strobe&&(L.transitionTime=this.starLife*(Math.random()*.08+.46),L.strobe=!0,L.strobeFreq=Math.random()*20+40,this.strobeColor&&(L.secondColor=this.strobeColor)),L.onDeath=c,this.glitter&&(L.sparkFreq=a,L.sparkSpeed=l,L.sparkLife=i,L.sparkLifeVariation=u,L.sparkColor=this.glitterColor,L.sparkTimer=Math.random()*L.sparkFreq)};if(typeof this.color=="string")if(this.color==="random"?s=null:s=this.color,this.ring){const n=Math.random()*Math.PI,I=Math.pow(Math.random(),2)*.85+.15;mt(0,R,this.starCount,0,M=>{const L=Math.sin(M)*r*I,G=Math.cos(M)*r,gt=St.pointDist(0,0,L,G),we=St.pointAngle(0,0,L,G)+n,X=D.add(e,o,s,we,gt,this.starLife+Math.random()*this.starLife*this.starLifeVariation);this.glitter&&(X.sparkFreq=a,X.sparkSpeed=l,X.sparkLife=i,X.sparkLifeVariation=u,X.sparkColor=this.glitterColor,X.sparkTimer=Math.random()*X.sparkFreq)})}else Y(this.starCount,b);else if(Array.isArray(this.color))if(Math.random()<.5){const n=Math.random()*Math.PI,I=n+Math.PI,M=Math.PI;s=this.color[0],Y(this.starCount,b,n,M),s=this.color[1],Y(this.starCount,b,I,M)}else s=this.color[0],Y(this.starCount/2,b),s=this.color[1],Y(this.starCount/2,b);else throw new Error("Invalid shell color. Expected string or array of strings, but got: "+this.color);this.pistil&&new _({spreadSize:this.spreadSize*.5,starLife:this.starLife*.6,starLifeVariation:this.starLifeVariation,starDensity:1.4,color:this.pistilColor,glitter:"light",glitterColor:this.pistilColor===C.Gold?C.Gold:C.White}).burst(e,o),this.streamers&&new _({spreadSize:this.spreadSize*.9,starLife:this.starLife*.8,starLifeVariation:this.starLifeVariation,starCount:Math.floor(Math.max(6,this.spreadSize/45)),color:C.White,glitter:"streamer"}).burst(e,o),K.add(e,o,this.spreadSize/4),this.comet&&(Math.random()<.5?p.burst1.play():p.burst2.play())}}const K={active:[],_pool:[],_new(){return{}},add(t,e,o){const r=this._pool.pop()||this._new();return r.x=t,r.y=e,r.radius=o,this.active.push(r),r},returnInstance(t){this._pool.push(t)}};function Pt(){const t={};return lt.forEach(e=>{t[e]=[]}),t}const D={drawWidth:3,airDrag:.98,airDragHeavy:.992,active:Pt(),_pool:[],_new(){return{}},add(t,e,o,r,s,c,a,l){const i=this._pool.pop()||this._new();return i.visible=!0,i.heavy=!1,i.x=t,i.y=e,i.prevX=t,i.prevY=e,i.color=o,i.speedX=Math.sin(r)*s+(a||0),i.speedY=Math.cos(r)*s+(l||0),i.life=c,i.fullLife=c,i.spinAngle=Math.random()*R,i.spinSpeed=.8,i.spinRadius=0,i.sparkFreq=0,i.sparkSpeed=1,i.sparkTimer=0,i.sparkColor=o,i.sparkLife=750,i.sparkLifeVariation=.25,i.strobe=!1,this.active[o].push(i),i},returnInstance(t){t.onDeath&&t.onDeath(t),t.onDeath=null,t.secondColor=null,t.transitionTime=0,t.colorChanged=!1,this._pool.push(t)}},O={drawWidth:0,airDrag:.9,active:Pt(),_pool:[],_new(){return{}},add(t,e,o,r,s,c){const a=this._pool.pop()||this._new();return a.x=t,a.y=e,a.prevX=t,a.prevY=e,a.color=o,a.speedX=Math.sin(r)*s,a.speedY=Math.cos(r)*s,a.life=c,this.active[o].push(a),a},returnInstance(t){this._pool.push(t)}};$t()}),(S,g)=>(xe(),Me("div",Ke,[Le(Fe),Qe]))}}),on=_e($e,[["__scopeId","data-v-2741c89d"]]);export{on as default}; diff --git a/static/js/index-DEDEmN9i.js b/static/js/index-DEDEmN9i.js deleted file mode 100644 index 6780a8f..0000000 --- a/static/js/index-DEDEmN9i.js +++ /dev/null @@ -1 +0,0 @@ -import{n as o,l as h,_ as m,A as u,k as d}from"./index-DblQHoIm.js";function H(v,{volume:t=1,playbackRate:r=1,soundEnabled:p=!0,interrupt:y=!1,autoplay:_=!1,onload:f,...i}={}){const n=o(null),l=o(!1),s=o(null),e=o(null);function c(){var a;typeof f=="function"&&f.call(this),s.value=(s.value||((a=e.value)==null?void 0:a.duration())||0)*1e3,_===!0&&(l.value=!0)}return h(async()=>{const a=await m(()=>import("./howler-CCqh-U3u.js").then(w=>w.h),[]);n.value=a.default.Howl,e.value=new n.value({src:u(v),volume:u(t),rate:u(r),onload:c,...i})}),d(()=>[v],()=>{n.value&&n.value&&e&&e.value&&(e.value=new n.value({src:u(v),volume:u(t),rate:u(r),onload:c,...i}))}),d(()=>[u(t),u(r)],()=>{e.value&&(e.value.volume(u(t)),e.value.rate(u(r)))}),{play:a=>{typeof a>"u"&&(a={}),!(!e.value||!p&&!a.forceSoundEnabled)&&(y&&e.value.stop(),a.playbackRate&&e.value.rate(a.playbackRate),e.value.play(a.id),e.value.once("end",()=>{e.value&&e.value&&!e.value.playing()&&(l.value=!1)}),l.value=!0)},sound:e,isPlaying:l,duration:s,pause:a=>{e.value&&(e.value.pause(typeof a=="number"?a:void 0),l.value=!1)},stop:a=>{e.value&&(e.value.stop(typeof a=="number"?a:void 0),l.value=!1)}}}export{H as u}; diff --git a/static/js/index-DFE0Cp4p.js b/static/js/index-DFE0Cp4p.js deleted file mode 100644 index 2f5283b..0000000 --- a/static/js/index-DFE0Cp4p.js +++ /dev/null @@ -1 +0,0 @@ -import{d as k,n as d,s as w,l as L,f as D,a as S,o as G}from"./index-DblQHoIm.js";import{_ as b}from"./plugin-vueexport-helper-DlAUqK2U.js";const B={class:"card-container"},c=36,l=80,F=100,O=k({__name:"index",setup(P){const f=d(),r=w({}),i=d(!1),u=d(),m=d();function R(t,e,o,n){const a=t-o,s=e-n;return Math.sqrt(a*a+s*s)}function v(){return"#"+("000000"+(Math.random()*16777215<<0).toString(16)).slice(-6)}function _(t,e){return Math.floor(Math.random()*(e-t+1))+t}function y(){for(let t=0;t=c))for(let s=t-o;s<=t+o;s++){if(s<0||s>=c)continue;const E=R(t,e,s,a);Eo||(r["x"+s+"y"+a].classList.add("on"),r["x"+s+"y"+a].style.backgroundColor=n)}}function T(t,e,o,n,a){setTimeout(function(){I(t,e,o,n)},a||1)}function g(t,e,o){if(i.value)return!1;i.value=!0;for(let n=0;n{y(),M(),x()}),(t,e)=>(G(),D("div",B,[S("div",{class:"grid",ref_key:"radioGridRef",ref:f},null,512)]))}}),N=b(O,[["__scopeId","data-v-6d9f85dd"]]);export{N as default}; diff --git a/static/js/index-DFdDviZw.js b/static/js/index-DFdDviZw.js deleted file mode 100644 index 760d114..0000000 --- a/static/js/index-DFdDviZw.js +++ /dev/null @@ -1 +0,0 @@ -import{d as l,c,w as r,u as m,o as p,a as e,p as u,b as v}from"./index-DblQHoIm.js";import{B as _}from"./BaseLayout-BlsNKkPJ.js";import{_ as f}from"./plugin-vueexport-helper-DlAUqK2U.js";const h=s=>(u("data-v-348f683d"),s=s(),v(),s),w={class:"home-container"},k=h(()=>e("div",{class:"home-header"},"Welcome To One",-1)),C={class:"home-content"},x=l({__name:"index",setup(s){const a=m(),t=n=>{a.push(n)},d=()=>{const o=`${window.location.origin}/note`;window.open(o)};return(n,o)=>(p(),c(_,null,{default:r(()=>[e("div",w,[k,e("div",C,[e("div",{class:"home-list-item",onClick:o[0]||(o[0]=i=>t("/preview"))},"Preview"),e("div",{class:"home-list-item",onClick:o[1]||(o[1]=i=>t("/business"))},"Business"),e("div",{class:"home-list-item",onClick:o[2]||(o[2]=i=>t("/funny"))},"Funny"),e("div",{class:"home-list-item",onClick:o[3]||(o[3]=i=>t("/game"))},"Game"),e("div",{class:"home-list-item",onClick:d},"Note")])])]),_:1}))}}),I=f(x,[["__scopeId","data-v-348f683d"]]);export{I as default}; diff --git a/static/js/index-DL5Y58tq.js b/static/js/index-DL5Y58tq.js deleted file mode 100644 index c2c7df7..0000000 --- a/static/js/index-DL5Y58tq.js +++ /dev/null @@ -1 +0,0 @@ -import{d as h,n as s,l as x,f as b,a as c,x as R,o as C,p as g,b as k}from"./index-DblQHoIm.js";import{_ as B}from"./plugin-vueexport-helper-DlAUqK2U.js";const I=e=>(g("data-v-6a0b852a"),e=e(),k(),e),X={class:"card-container custom-bg-10"},Y=I(()=>c("div",{class:"card-item"},null,-1)),w=[Y],l=10,E=h({__name:"index",setup(e){R(a=>({"92e4bd04":o.value,"92e4bd02":n.value}));const o=s(0),n=s(0),t=s(),p=s();return x(()=>{t.value.addEventListener("mousemove",a=>{const{width:r,height:_,left:f,top:u}=t.value.getBoundingClientRect(),d=r/2,i=_/2,v=a.clientX-f,m=a.clientY-u;n.value=l*(v-d)/d,o.value=l*(m-i)/i*-1}),t.value.addEventListener("mouseleave",()=>{n.value=0,o.value=0})}),(a,r)=>(C(),b("div",X,[c("div",{class:"rotate-card-wrapper",ref_key:"rotateCardWrapperRef",ref:t},[c("div",{class:"inner",ref_key:"innerRef",ref:p},w,512)],512)]))}}),L=B(E,[["__scopeId","data-v-6a0b852a"]]);export{L as default}; diff --git a/static/js/index-DLSqNUUH.js b/static/js/index-DLSqNUUH.js new file mode 100644 index 0000000..2fb73d9 --- /dev/null +++ b/static/js/index-DLSqNUUH.js @@ -0,0 +1 @@ +import{_ as o,f as n,g as t,o as c}from"./index-By46uPpP.js";const r={};function s(_,a){const e=t("RouterView");return c(),n(e)}const i=o(r,[["render",s]]);export{i as default}; diff --git a/static/js/index-DSKkTIgH.js b/static/js/index-DSKkTIgH.js deleted file mode 100644 index 270c75e..0000000 --- a/static/js/index-DSKkTIgH.js +++ /dev/null @@ -1 +0,0 @@ -var C=Object.defineProperty;var O=(l,i,t)=>i in l?C(l,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[i]=t;var r=(l,i,t)=>O(l,typeof i!="symbol"?i+"":i,t);import{d as g,n as h,l as N,q as A,k as M,o as w,f as x,v as S,a as k,e as P,g as R}from"./index-DblQHoIm.js";import{_ as b}from"./plugin-vueexport-helper-DlAUqK2U.js";const T=.216,c=.05,F="180,184,240",L="226,225,142",_="226,225,224",z=g({__name:"Universe",setup(l){const i=h(),t=h(),n=h(0),d=h(0),f=()=>{var s,e;v=!0,u.value=[],window.cancelAnimationFrame(m.value),n.value=window.innerWidth,d.value=window.innerHeight,(s=i.value)==null||s.setAttribute("width",n.value),(e=i.value)==null||e.setAttribute("height",d.value)};N(()=>{t.value=i.value.getContext("2d"),f(),window.addEventListener("resize",f,!1)}),A(()=>{window.cancelAnimationFrame(m.value),window.removeEventListener("resize",f,!1)});const u=h([]);M(n,()=>{S(()=>{const s=n.value*T;for(let e=0;e{v=!1},50)}reset(){this.giant=y(3),this.comet=this.giant||v?!1:y(10),this.x=o(0,n.value-10),this.y=o(0,d.value),this.r=o(1.1,2.6),this.dx=o(c,6*c)+(Number(this.comet)+1-1)*c*o(50,120)+c*2,this.dy=-o(c,6*c)-(Number(this.comet)+1-1)*c*o(50,120),this.fadingOut=void 0,this.fadingIn=!0,this.opacity=0,this.opacityTresh=o(.2,1-(Number(this.comet)+1-1)*.4),this.do=o(5e-4,.002)+(Number(this.comet)+1-1)*.001}fadeIn(){this.fadingIn&&(this.fadingIn=!(this.opacity>this.opacityTresh),this.opacity+=this.do)}fadeOut(){this.fadingOut&&(this.fadingOut=!(this.opacity<0),this.opacity-=this.do/2,(this.x>n.value-n.value/4||this.y<0)&&(this.fadingOut=!1,this.reset()))}draw(){var e;if(t.value.beginPath(),this.giant)t.value.fillStyle="rgba("+F+","+this.opacity+")",t.value.arc(this.x,this.y,2,0,2*Math.PI,!1);else if(this.comet){t.value.fillStyle="rgba("+_+","+this.opacity+")",t.value.arc(this.x,this.y,1.5,0,2*Math.PI,!1);for(let a=0;a<30;a++)t.value.fillStyle="rgba("+_+","+(this.opacity-this.opacity/20*a)+")",(e=t.value)==null||e.rect(this.x-this.dx/4*a,this.y-this.dy/4*a-2,2,2),t.value.fill()}else t.value.fillStyle="rgba("+L+","+this.opacity+")",t.value.rect(this.x,this.y,this.r,this.r);t.value.closePath(),t.value.fill()}move(){this.x+=this.dx,this.y+=this.dy,this.fadingOut===!1&&this.reset(),(this.x>n.value||this.y<0)&&(this.fadingOut=!0)}}function y(s){return Math.floor(Math.random()*1e3)+1{t.value.clearRect(0,0,n.value,d.value);const s=u.value.length;for(let e=0;e(w(),x("canvas",{id:"universe",ref_key:"universeRef",ref:i},null,512))}}),B=b(z,[["__scopeId","data-v-014f8bef"]]),E={class:"space-container"},U={class:"content"},V=g({__name:"index",setup(l){return(i,t)=>(w(),x("div",E,[k("div",U,[P(B),R("",!0)])]))}}),W=b(V,[["__scopeId","data-v-1240db60"]]);export{W as default}; diff --git a/static/js/index-DblQHoIm.js b/static/js/index-DblQHoIm.js deleted file mode 100644 index 655c769..0000000 --- a/static/js/index-DblQHoIm.js +++ /dev/null @@ -1,22 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/index-BnNPthHu.js","static/js/plugin-vueexport-helper-DlAUqK2U.js","static/css/index-CarvPg3Y.css","static/js/index-BSM4-hGh.js","static/css/index-CdNLaIBF.css","static/js/index-n2HwLGNv.js","static/css/index-BH_gpWsE.css","static/js/index-Cp8M_184.js","static/js/index-DEDEmN9i.js","static/js/index-DSKkTIgH.js","static/css/index-CTBk_Jvx.css","static/css/index-7otjgHON.css","static/js/index-T1QJ9IGc.js","static/js/color-CWPKctqu.js","static/css/index-D07Vhrc7.css","static/js/index-Bs2G5HVR.js","static/css/index-CFrdX0_o.css","static/js/index-BnIqCsVu.js","static/js/B4-cC9vRKeP.js","static/css/index-Dem2OLj5.css","static/js/index-GA9Cv9qS.js","static/css/index-ByzycJQF.css","static/js/index-DL5Y58tq.js","static/css/index-OGqQKciI.css","static/js/index-rfywnf3l.js","static/css/index-CmqgShgC.css","static/js/index-Btxr3i5B.js","static/css/index-DHFUwASB.css","static/js/index-BCBPNXMe.js","static/css/index-BwOAePyO.css","static/js/index-8GCjGp3K.js","static/css/index-xV8vjQhz.css","static/js/index-pYpnICyE.js","static/css/index-DLlEHpBh.css","static/js/index-ClWlepwb.js","static/css/index-pNBsgrF8.css","static/js/index-DoUmlOd0.js","static/css/index-FvZJnBgI.css","static/js/index-DFE0Cp4p.js","static/css/index-BE5yLkVR.css","static/js/index-GBxFZDlh.js","static/css/index-BCeVtkgC.css","static/js/index-bZaCu0EW.js","static/css/index-DZ5njz1e.css","static/js/index-B3luEHte.js","static/js/index-CC0Y7Pe6.js","static/css/index-CqljefkS.css","static/css/index-DYjf4JiY.css","static/js/404-Dy6WOJF5.js","static/css/404-DmmQrdSB.css","static/js/index-DFdDviZw.js","static/js/BaseLayout-BlsNKkPJ.js","static/css/BaseLayout-DLINKFX9.css","static/css/index-D2V22Zlw.css","static/js/index-p6FIm4Fi.js","static/css/index-R_LgEAND.css"])))=>i.map(i=>d[i]); -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function ps(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const ie={},Pt=[],Ae=()=>{},Ei=()=>!1,Rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),fe=Object.assign,gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wi=Object.prototype.hasOwnProperty,W=(e,t)=>wi.call(e,t),V=Array.isArray,At=e=>Cn(e)==="[object Map]",Wr=e=>Cn(e)==="[object Set]",B=e=>typeof e=="function",ue=e=>typeof e=="string",it=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",qr=e=>(oe(e)||B(e))&&B(e.then)&&B(e.catch),Gr=Object.prototype.toString,Cn=e=>Gr.call(e),Ri=e=>Cn(e).slice(8,-1),zr=e=>Cn(e)==="[object Object]",_s=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ht=ps(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ci=/-(\w)/g,gt=Sn(e=>e.replace(Ci,(t,n)=>n?n.toUpperCase():"")),Si=/\B([A-Z])/g,vt=Sn(e=>e.replace(Si,"-$1").toLowerCase()),Qr=Sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dn=Sn(e=>e?`on${Qr(e)}`:""),ot=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Yn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xi=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let ks;const Jr=()=>ks||(ks=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ys(e){if(V(e)){const t={};for(let n=0;n{if(n){const s=n.split(Ai);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function vs(e){let t="";if(ue(e))t=e;else if(V(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Mi=e=>ue(e)?e:e==null?"":V(e)||oe(e)&&(e.toString===Gr||!B(e.toString))?Zr(e)?Mi(e.value):JSON.stringify(e,eo,2):String(e),eo=(e,t)=>Zr(t)?eo(e,t.value):At(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Hn(s,o)+" =>"]=r,n),{})}:Wr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:it(t)?Hn(t):oe(t)&&!V(t)&&!zr(t)?String(t):t,Hn=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Le;class Ni{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ct()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=st,n=ht;try{return st=!0,ht=this,this._runnings++,Us(this),this.fn()}finally{Ks(this),this._runnings--,ht=n,st=t}}stop(){this.active&&(Us(this),Ks(this),this.onStop&&this.onStop(),this.active=!1)}}function Vi(e){return e.value}function Us(e){e._trackId++,e._depsLength=0}function Ks(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Zn=new WeakMap,pt=Symbol(""),es=Symbol("");function we(e,t,n){if(st&&ht){let s=Zn.get(e);s||Zn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=oo(()=>s.delete(n))),so(ht,r)}}function We(e,t,n,s,r,o){const i=Zn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&V(e)){const c=Number(s);i.forEach((d,a)=>{(a==="length"||!it(a)&&a>=c)&&l.push(d)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":V(e)?_s(n)&&l.push(i.get("length")):(l.push(i.get(pt)),At(e)&&l.push(i.get(es)));break;case"delete":V(e)||(l.push(i.get(pt)),At(e)&&l.push(i.get(es)));break;case"set":At(e)&&l.push(i.get(pt));break}Es();for(const c of l)c&&ro(c,4);ws()}const Di=ps("__proto__,__v_isRef,__isVue"),io=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it)),Ws=Hi();function Hi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=q(this);for(let o=0,i=this.length;o{e[t]=function(...n){lt(),Es();const s=q(this)[t].apply(this,n);return ws(),ct(),s}}),e}function ji(e){it(e)||(e=String(e));const t=q(this);return we(t,"has",e),t.hasOwnProperty(e)}class lo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Zi:ao:o?fo:uo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=V(t);if(!r){if(i&&W(Ws,n))return Reflect.get(Ws,n,s);if(n==="hasOwnProperty")return ji}const l=Reflect.get(t,n,s);return(it(n)?io.has(n):Di(n))||(r||we(t,"get",n),o)?l:Re(l)?i&&_s(n)?l:l.value:oe(l)?r?po(l):Pn(l):l}}class co extends lo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=_t(o);if(!Ot(s)&&!_t(s)&&(o=q(o),s=q(s)),!V(t)&&Re(o)&&!Re(s))return c?!1:(o.value=s,!0)}const i=V(t)&&_s(n)?Number(n)e,xn=e=>Reflect.getPrototypeOf(e);function nn(e,t,n=!1,s=!1){e=e.__v_raw;const r=q(e),o=q(t);n||(ot(t,o)&&we(r,"get",t),we(r,"get",o));const{has:i}=xn(r),l=s?Rs:n?xs:zt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function sn(e,t=!1){const n=this.__v_raw,s=q(n),r=q(e);return t||(ot(e,r)&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function rn(e,t=!1){return e=e.__v_raw,!t&&we(q(e),"iterate",pt),Reflect.get(e,"size",e)}function qs(e,t=!1){!t&&!Ot(e)&&!_t(e)&&(e=q(e));const n=q(this);return xn(n).has.call(n,e)||(n.add(e),We(n,"add",e,e)),this}function Gs(e,t,n=!1){!n&&!Ot(t)&&!_t(t)&&(t=q(t));const s=q(this),{has:r,get:o}=xn(s);let i=r.call(s,e);i||(e=q(e),i=r.call(s,e));const l=o.call(s,e);return s.set(e,t),i?ot(t,l)&&We(s,"set",e,t):We(s,"add",e,t),this}function zs(e){const t=q(this),{has:n,get:s}=xn(t);let r=n.call(t,e);r||(e=q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&We(t,"delete",e,void 0),o}function Qs(){const e=q(this),t=e.size!==0,n=e.clear();return t&&We(e,"clear",void 0,void 0),n}function on(e,t){return function(s,r){const o=this,i=o.__v_raw,l=q(i),c=t?Rs:e?xs:zt;return!e&&we(l,"iterate",pt),i.forEach((d,a)=>s.call(r,c(d),c(a),o))}}function ln(e,t,n){return function(...s){const r=this.__v_raw,o=q(r),i=At(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=r[e](...s),a=n?Rs:t?xs:zt;return!t&&we(o,"iterate",c?es:pt),{next(){const{value:h,done:p}=d.next();return p?{value:h,done:p}:{value:l?[a(h[0]),a(h[1])]:a(h),done:p}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Wi(){const e={get(o){return nn(this,o)},get size(){return rn(this)},has:sn,add:qs,set:Gs,delete:zs,clear:Qs,forEach:on(!1,!1)},t={get(o){return nn(this,o,!1,!0)},get size(){return rn(this)},has:sn,add(o){return qs.call(this,o,!0)},set(o,i){return Gs.call(this,o,i,!0)},delete:zs,clear:Qs,forEach:on(!1,!0)},n={get(o){return nn(this,o,!0)},get size(){return rn(this,!0)},has(o){return sn.call(this,o,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:on(!0,!1)},s={get(o){return nn(this,o,!0,!0)},get size(){return rn(this,!0)},has(o){return sn.call(this,o,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:on(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ln(o,!1,!1),n[o]=ln(o,!0,!1),t[o]=ln(o,!1,!0),s[o]=ln(o,!0,!0)}),[e,n,t,s]}const[qi,Gi,zi,Qi]=Wi();function Cs(e,t){const n=t?e?Qi:zi:e?Gi:qi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Yi={get:Cs(!1,!1)},Ji={get:Cs(!1,!0)},Xi={get:Cs(!0,!1)};const uo=new WeakMap,fo=new WeakMap,ao=new WeakMap,Zi=new WeakMap;function el(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tl(e){return e.__v_skip||!Object.isExtensible(e)?0:el(Ri(e))}function Pn(e){return _t(e)?e:Ss(e,!1,ki,Yi,uo)}function ho(e){return Ss(e,!1,Ki,Ji,fo)}function po(e){return Ss(e,!0,Ui,Xi,ao)}function Ss(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=tl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function jt(e){return _t(e)?jt(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function Ot(e){return!!(e&&e.__v_isShallow)}function mo(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function nl(e){return Object.isExtensible(e)&&Yr(e,"__v_skip",!0),e}const zt=e=>oe(e)?Pn(e):e,xs=e=>oe(e)?po(e):e;class go{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new bs(()=>t(this._value),()=>an(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=q(this);return(!t._cacheable||t.effect.dirty)&&ot(t._value,t._value=t.effect.run())&&an(t,4),_o(t),t.effect._dirtyLevel>=2&&an(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function sl(e,t,n=!1){let s,r;const o=B(e);return o?(s=e,r=Ae):(s=e.get,r=e.set),new go(s,r,o||!r,n)}function _o(e){var t;st&&ht&&(e=q(e),so(ht,(t=e.dep)!=null?t:e.dep=oo(()=>e.dep=void 0,e instanceof go?e:void 0)))}function an(e,t=4,n,s){e=q(e);const r=e.dep;r&&ro(r,t)}function Re(e){return!!(e&&e.__v_isRef===!0)}function rl(e){return yo(e,!1)}function ol(e){return yo(e,!0)}function yo(e,t){return Re(e)?e:new il(e,t)}class il{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:q(t),this._value=n?t:zt(t)}get value(){return _o(this),this._value}set value(t){const n=this.__v_isShallow||Ot(t)||_t(t);t=n?t:q(t),ot(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:zt(t),an(this,4))}}function mt(e){return Re(e)?e.value:e}const ll={get:(e,t,n)=>mt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function vo(e){return jt(e)?e:new Proxy(e,ll)}/** -* @vue/runtime-core v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function rt(e,t,n,s){try{return s?e(...s):e()}catch(r){An(r,t,n)}}function Te(e,t,n,s){if(B(e)){const r=rt(e,t,n,s);return r&&qr(r)&&r.catch(o=>{An(o,t,n)}),r}if(V(e)){const r=[];for(let o=0;o>>1,r=me[s],o=Yt(r);oHe&&me.splice(t,1)}function al(e){V(e)?Tt.push(...e):(!Ze||!Ze.includes(e,e.allowRecurse?dt+1:dt))&&Tt.push(e),wo()}function Ys(e,t,n=Qt?He+1:0){for(;nYt(n)-Yt(s));if(Tt.length=0,Ze){Ze.push(...t);return}for(Ze=t,dt=0;dte.id==null?1/0:e.id,dl=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Co(e){ts=!1,Qt=!0,me.sort(dl);try{for(He=0;He{s._d&&lr(-1);const o=gn(t);let i;try{i=e(...r)}finally{gn(o),s._d&&lr(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function yf(e,t){if(pe===null)return e;const n=Fn(pe),s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),To(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],ml={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe};function gl(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 ns(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:p,onLeave:g,onAfterLeave:T,onLeaveCancelled:A,onBeforeAppear:j,onAppear:D,onAfterAppear:F,onAppearCancelled:O}=t,K=String(e.key),ee=gl(n,e),$=(k,Y)=>{k&&Te(k,s,9,Y)},te=(k,Y)=>{const ne=Y[1];$(k,Y),V(k)?k.every(I=>I.length<=1)&&ne():k.length<=1&&ne()},ae={mode:i,persisted:l,beforeEnter(k){let Y=c;if(!n.isMounted)if(o)Y=j||c;else return;k[Rt]&&k[Rt](!0);const ne=ee[K];ne&&Ct(e,ne)&&ne.el[Rt]&&ne.el[Rt](),$(Y,[k])},enter(k){let Y=d,ne=a,I=h;if(!n.isMounted)if(o)Y=D||d,ne=F||a,I=O||h;else return;let G=!1;const de=k[cn]=Oe=>{G||(G=!0,Oe?$(I,[k]):$(ne,[k]),ae.delayedLeave&&ae.delayedLeave(),k[cn]=void 0)};Y?te(Y,[k,de]):de()},leave(k,Y){const ne=String(e.key);if(k[cn]&&k[cn](!0),n.isUnmounting)return Y();$(p,[k]);let I=!1;const G=k[Rt]=de=>{I||(I=!0,Y(),de?$(A,[k]):$(T,[k]),k[Rt]=void 0,ee[ne]===e&&delete ee[ne])};ee[ne]=e,g?te(g,[k,G]):G()},clone(k){return ns(k,t,n,s)}};return ae}function _n(e,t){e.shapeFlag&6&&e.component?_n(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 So(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,xo=e=>e.type.__isKeepAlive;function _l(e,t){Po(e,"a",t)}function yl(e,t){Po(e,"da",t)}function Po(e,t,n=ge){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(On(t,s,n),n){let r=n.parent;for(;r&&r.parent;)xo(r.parent.vnode)&&vl(s,t,n,r),r=r.parent}}function vl(e,t,n,s){const r=On(t,e,s,!0);Os(()=>{gs(s[t],r)},n)}function On(e,t,n=ge,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{lt();const l=en(n),c=Te(t,n,e,i);return l(),ct(),c});return s?r.unshift(o):r.push(o),o}}const Ge=e=>(t,n=ge)=>{(!Nn||e==="sp")&&On(e,(...s)=>t(...s),n)},bl=Ge("bm"),In=Ge("m"),El=Ge("bu"),Ao=Ge("u"),To=Ge("bum"),Os=Ge("um"),wl=Ge("sp"),Rl=Ge("rtg"),Cl=Ge("rtc");function Sl(e,t=ge){On("ec",e,t)}const xl=Symbol.for("v-ndc");function vf(e,t,n,s){let r;const o=n;if(V(e)||ue(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lvn(t)?!(t.type===qe||t.type===Ee&&!Oo(t.children)):!0)?e:null}const ss=e=>e?Yo(e)?Fn(e):ss(e.parent):null,kt=fe(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=>ss(e.parent),$root:e=>ss(e.root),$emit:e=>e.emit,$options:e=>Is(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,As(e.update)}),$nextTick:e=>e.n||(e.n=Eo.bind(e.proxy)),$watch:e=>Yl.bind(e)}),jn=(e,t)=>e!==ie&&!e.__isScriptSetup&&W(e,t),Pl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(jn(s,t))return i[t]=1,s[t];if(r!==ie&&W(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&W(d,t))return i[t]=3,o[t];if(n!==ie&&W(n,t))return i[t]=4,n[t];rs&&(i[t]=0)}}const a=kt[t];let h,p;if(a)return t==="$attrs"&&we(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ie&&W(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,W(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return jn(r,t)?(r[t]=n,!0):s!==ie&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ie&&W(e,i)||jn(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(kt,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Js(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let rs=!0;function Al(e){const t=Is(e),n=e.proxy,s=e.ctx;rs=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:p,beforeUpdate:g,updated:T,activated:A,deactivated:j,beforeDestroy:D,beforeUnmount:F,destroyed:O,unmounted:K,render:ee,renderTracked:$,renderTriggered:te,errorCaptured:ae,serverPrefetch:k,expose:Y,inheritAttrs:ne,components:I,directives:G,filters:de}=t;if(d&&Tl(d,s,null),i)for(const Z in i){const z=i[Z];B(z)&&(s[Z]=z.bind(n))}if(r){const Z=r.call(n,n);oe(Z)&&(e.data=Pn(Z))}if(rs=!0,o)for(const Z in o){const z=o[Z],Be=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Ae,ze=!B(z)&&B(z.set)?z.set.bind(n):Ae,Fe=Me({get:Be,set:ze});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ve=>Fe.value=ve})}if(l)for(const Z in l)Io(l[Z],s,n,Z);if(c){const Z=B(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(z=>{dn(z,Z[z])})}a&&Xs(a,e,"c");function ce(Z,z){V(z)?z.forEach(Be=>Z(Be.bind(n))):z&&Z(z.bind(n))}if(ce(bl,h),ce(In,p),ce(El,g),ce(Ao,T),ce(_l,A),ce(yl,j),ce(Sl,ae),ce(Cl,$),ce(Rl,te),ce(To,F),ce(Os,K),ce(wl,k),V(Y))if(Y.length){const Z=e.exposed||(e.exposed={});Y.forEach(z=>{Object.defineProperty(Z,z,{get:()=>n[z],set:Be=>n[z]=Be})})}else e.exposed||(e.exposed={});ee&&e.render===Ae&&(e.render=ee),ne!=null&&(e.inheritAttrs=ne),I&&(e.components=I),G&&(e.directives=G)}function Tl(e,t,n=Ae){V(e)&&(e=os(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=je(r.from||s,r.default,!0):o=je(r.from||s):o=je(r),Re(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Xs(e,t,n){Te(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Io(e,t,n,s){const r=s.includes(".")?Ko(n,s):()=>n[s];if(ue(e)){const o=t[e];B(o)&&hn(r,o)}else if(B(e))hn(r,e.bind(n));else if(oe(e))if(V(e))e.forEach(o=>Io(o,t,n,s));else{const o=B(e.handler)?e.handler.bind(n):t[e.handler];B(o)&&hn(r,o,e)}}function Is(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>yn(c,d,i,!0)),yn(c,t,i)),oe(t)&&o.set(t,c),c}function yn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&yn(e,o,n,!0),r&&r.forEach(i=>yn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ol[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ol={data:Zs,props:er,emits:er,methods:Dt,computed:Dt,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:Dt,directives:Dt,watch:Ll,provide:Zs,inject:Il};function Zs(e,t){return t?e?function(){return fe(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Il(e,t){return Dt(os(e),os(t))}function os(e){if(V(e)){const t={};for(let n=0;n1)return n&&B(t)?t.call(s&&s.proxy):t}}const Mo={},No=()=>Object.create(Mo),Fo=e=>Object.getPrototypeOf(e)===Mo;function Fl(e,t,n,s=!1){const r={},o=No();e.propsDefaults=Object.create(null),$o(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ho(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function $l(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=q(r),[c]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,g]=Vo(h,t,!0);fe(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return oe(e)&&s.set(e,Pt),Pt;if(V(o))for(let a=0;a-1,g[1]=A<0||T-1||W(g,"default"))&&l.push(h)}}}const d=[i,l];return oe(e)&&s.set(e,d),d}function tr(e){return e[0]!=="$"&&!Ht(e)}function nr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function sr(e,t){return nr(e)===nr(t)}function rr(e,t){return V(t)?t.findIndex(n=>sr(n,e)):B(t)&&sr(t,e)?0:-1}const Do=e=>e[0]==="_"||e==="$stable",Ls=e=>V(e)?e.map(De):[De(e)],Dl=(e,t,n)=>{if(t._n)return t;const s=hl((...r)=>Ls(t(...r)),n);return s._c=!1,s},Ho=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Do(r))continue;const o=e[r];if(B(o))t[r]=Dl(r,o,s);else if(o!=null){const i=Ls(o);t[r]=()=>i}}},jo=(e,t)=>{const n=Ls(t);e.slots.default=()=>n},Bo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Hl=(e,t,n)=>{const s=e.slots=No();if(e.vnode.shapeFlag&32){const r=t._;r?(Bo(s,t,n),n&&Yr(s,"_",r,!0)):Ho(t,s)}else t&&jo(e,t)},jl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Bo(r,t,n):(o=!t.$stable,Ho(t,r)),i=t}else t&&(jo(e,t),i={default:1});if(o)for(const l in r)!Do(l)&&i[l]==null&&delete r[l]};function ls(e,t,n,s,r=!1){if(V(e)){e.forEach((p,g)=>ls(p,t&&(V(t)?t[g]:t),n,s,r));return}if(Bt(s)&&!r)return;const o=s.shapeFlag&4?Fn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,d=t&&t.r,a=l.refs===ie?l.refs={}:l.refs,h=l.setupState;if(d!=null&&d!==c&&(ue(d)?(a[d]=null,W(h,d)&&(h[d]=null)):Re(d)&&(d.value=null)),B(c))rt(c,l,12,[i,a]);else{const p=ue(c),g=Re(c);if(p||g){const T=()=>{if(e.f){const A=p?W(h,c)?h[c]:a[c]:c.value;r?V(A)&&gs(A,o):V(A)?A.includes(o)||A.push(o):p?(a[c]=[o],W(h,c)&&(h[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else p?(a[c]=i,W(h,c)&&(h[c]=i)):g&&(c.value=i,e.k&&(a[e.k]=i))};i?(T.id=-1,be(T,n)):T()}}}const Bl=Symbol("_vte"),kl=e=>e.__isTeleport,be=rc;function Ul(e){return Kl(e)}function Kl(e,t){const n=Jr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:p,setScopeId:g=Ae,insertStaticContent:T}=e,A=(u,f,m,v=null,_=null,E=null,C=void 0,w=null,R=!!f.dynamicChildren)=>{if(u===f)return;u&&!Ct(u,f)&&(v=y(u),ve(u,_,E,!0),u=null),f.patchFlag===-2&&(R=!1,f.dynamicChildren=null);const{type:b,ref:P,shapeFlag:N}=f;switch(b){case Mn:j(u,f,m,v);break;case qe:D(u,f,m,v);break;case Kt:u==null&&F(f,m,v,C);break;case Ee:I(u,f,m,v,_,E,C,w,R);break;default:N&1?ee(u,f,m,v,_,E,C,w,R):N&6?G(u,f,m,v,_,E,C,w,R):(N&64||N&128)&&b.process(u,f,m,v,_,E,C,w,R,L)}P!=null&&_&&ls(P,u&&u.ref,E,f||u,!f)},j=(u,f,m,v)=>{if(u==null)s(f.el=l(f.children),m,v);else{const _=f.el=u.el;f.children!==u.children&&d(_,f.children)}},D=(u,f,m,v)=>{u==null?s(f.el=c(f.children||""),m,v):f.el=u.el},F=(u,f,m,v)=>{[u.el,u.anchor]=T(u.children,f,m,v,u.el,u.anchor)},O=({el:u,anchor:f},m,v)=>{let _;for(;u&&u!==f;)_=p(u),s(u,m,v),u=_;s(f,m,v)},K=({el:u,anchor:f})=>{let m;for(;u&&u!==f;)m=p(u),r(u),u=m;r(f)},ee=(u,f,m,v,_,E,C,w,R)=>{f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null?$(f,m,v,_,E,C,w,R):k(u,f,_,E,C,w,R)},$=(u,f,m,v,_,E,C,w)=>{let R,b;const{props:P,shapeFlag:N,transition:M,dirs:H}=u;if(R=u.el=i(u.type,E,P&&P.is,P),N&8?a(R,u.children):N&16&&ae(u.children,R,null,v,_,Bn(u,E),C,w),H&&ut(u,null,v,"created"),te(R,u,u.scopeId,C,v),P){for(const se in P)se!=="value"&&!Ht(se)&&o(R,se,null,P[se],E,v);"value"in P&&o(R,"value",null,P.value,E),(b=P.onVnodeBeforeMount)&&Ve(b,v,u)}H&&ut(u,null,v,"beforeMount");const U=Wl(_,M);U&&M.beforeEnter(R),s(R,f,m),((b=P&&P.onVnodeMounted)||U||H)&&be(()=>{b&&Ve(b,v,u),U&&M.enter(R),H&&ut(u,null,v,"mounted")},_)},te=(u,f,m,v,_)=>{if(m&&g(u,m),v)for(let E=0;E{for(let b=R;b{const w=f.el=u.el;let{patchFlag:R,dynamicChildren:b,dirs:P}=f;R|=u.patchFlag&16;const N=u.props||ie,M=f.props||ie;let H;if(m&&ft(m,!1),(H=M.onVnodeBeforeUpdate)&&Ve(H,m,f,u),P&&ut(f,u,m,"beforeUpdate"),m&&ft(m,!0),(N.innerHTML&&M.innerHTML==null||N.textContent&&M.textContent==null)&&a(w,""),b?Y(u.dynamicChildren,b,w,m,v,Bn(f,_),E):C||z(u,f,w,null,m,v,Bn(f,_),E,!1),R>0){if(R&16)ne(w,N,M,m,_);else if(R&2&&N.class!==M.class&&o(w,"class",null,M.class,_),R&4&&o(w,"style",N.style,M.style,_),R&8){const U=f.dynamicProps;for(let se=0;se{H&&Ve(H,m,f,u),P&&ut(f,u,m,"updated")},v)},Y=(u,f,m,v,_,E,C)=>{for(let w=0;w{if(f!==m){if(f!==ie)for(const E in f)!Ht(E)&&!(E in m)&&o(u,E,f[E],null,_,v);for(const E in m){if(Ht(E))continue;const C=m[E],w=f[E];C!==w&&E!=="value"&&o(u,E,w,C,_,v)}"value"in m&&o(u,"value",f.value,m.value,_)}},I=(u,f,m,v,_,E,C,w,R)=>{const b=f.el=u?u.el:l(""),P=f.anchor=u?u.anchor:l("");let{patchFlag:N,dynamicChildren:M,slotScopeIds:H}=f;H&&(w=w?w.concat(H):H),u==null?(s(b,m,v),s(P,m,v),ae(f.children||[],m,P,_,E,C,w,R)):N>0&&N&64&&M&&u.dynamicChildren?(Y(u.dynamicChildren,M,m,_,E,C,w),(f.key!=null||_&&f===_.subTree)&&ko(u,f,!0)):z(u,f,m,P,_,E,C,w,R)},G=(u,f,m,v,_,E,C,w,R)=>{f.slotScopeIds=w,u==null?f.shapeFlag&512?_.ctx.activate(f,m,v,C,R):de(f,m,v,_,E,C,R):Oe(u,f,R)},de=(u,f,m,v,_,E,C)=>{const w=u.component=dc(u,v,_);if(xo(u)&&(w.ctx.renderer=L),hc(w,!1,C),w.asyncDep){if(_&&_.registerDep(w,ce,C),!u.el){const R=w.subTree=_e(qe);D(null,R,f,m)}}else ce(w,u,f,m,_,E,C)},Oe=(u,f,m)=>{const v=f.component=u.component;if(tc(u,f,m))if(v.asyncDep&&!v.asyncResolved){Z(v,f,m);return}else v.next=f,fl(v.update),v.effect.dirty=!0,v.update();else f.el=u.el,v.vnode=f},ce=(u,f,m,v,_,E,C)=>{const w=()=>{if(u.isMounted){let{next:P,bu:N,u:M,parent:H,vnode:U}=u;{const wt=Uo(u);if(wt){P&&(P.el=U.el,Z(u,P,C)),wt.asyncDep.then(()=>{u.isUnmounted||w()});return}}let se=P,Q;ft(u,!1),P?(P.el=U.el,Z(u,P,C)):P=U,N&&fn(N),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Ve(Q,H,P,U),ft(u,!0);const he=kn(u),Ie=u.subTree;u.subTree=he,A(Ie,he,h(Ie.el),y(Ie),u,_,E),P.el=he.el,se===null&&nc(u,he.el),M&&be(M,_),(Q=P.props&&P.props.onVnodeUpdated)&&be(()=>Ve(Q,H,P,U),_)}else{let P;const{el:N,props:M}=f,{bm:H,m:U,parent:se}=u,Q=Bt(f);if(ft(u,!1),H&&fn(H),!Q&&(P=M&&M.onVnodeBeforeMount)&&Ve(P,se,f),ft(u,!0),N&&le){const he=()=>{u.subTree=kn(u),le(N,u.subTree,u,_,null)};Q?f.type.__asyncLoader().then(()=>!u.isUnmounted&&he()):he()}else{const he=u.subTree=kn(u);A(null,he,m,v,u,_,E),f.el=he.el}if(U&&be(U,_),!Q&&(P=M&&M.onVnodeMounted)){const he=f;be(()=>Ve(P,se,he),_)}(f.shapeFlag&256||se&&Bt(se.vnode)&&se.vnode.shapeFlag&256)&&u.a&&be(u.a,_),u.isMounted=!0,f=m=v=null}},R=u.effect=new bs(w,Ae,()=>As(b),u.scope),b=u.update=()=>{R.dirty&&R.run()};b.i=u,b.id=u.uid,ft(u,!0),b()},Z=(u,f,m)=>{f.component=u;const v=u.vnode.props;u.vnode=f,u.next=null,$l(u,f.props,v,m),jl(u,f.children,m),lt(),Ys(u),ct()},z=(u,f,m,v,_,E,C,w,R=!1)=>{const b=u&&u.children,P=u?u.shapeFlag:0,N=f.children,{patchFlag:M,shapeFlag:H}=f;if(M>0){if(M&128){ze(b,N,m,v,_,E,C,w,R);return}else if(M&256){Be(b,N,m,v,_,E,C,w,R);return}}H&8?(P&16&&xe(b,_,E),N!==b&&a(m,N)):P&16?H&16?ze(b,N,m,v,_,E,C,w,R):xe(b,_,E,!0):(P&8&&a(m,""),H&16&&ae(N,m,v,_,E,C,w,R))},Be=(u,f,m,v,_,E,C,w,R)=>{u=u||Pt,f=f||Pt;const b=u.length,P=f.length,N=Math.min(b,P);let M;for(M=0;MP?xe(u,_,E,!0,!1,N):ae(f,m,v,_,E,C,w,R,N)},ze=(u,f,m,v,_,E,C,w,R)=>{let b=0;const P=f.length;let N=u.length-1,M=P-1;for(;b<=N&&b<=M;){const H=u[b],U=f[b]=R?et(f[b]):De(f[b]);if(Ct(H,U))A(H,U,m,null,_,E,C,w,R);else break;b++}for(;b<=N&&b<=M;){const H=u[N],U=f[M]=R?et(f[M]):De(f[M]);if(Ct(H,U))A(H,U,m,null,_,E,C,w,R);else break;N--,M--}if(b>N){if(b<=M){const H=M+1,U=HM)for(;b<=N;)ve(u[b],_,E,!0),b++;else{const H=b,U=b,se=new Map;for(b=U;b<=M;b++){const Ce=f[b]=R?et(f[b]):De(f[b]);Ce.key!=null&&se.set(Ce.key,b)}let Q,he=0;const Ie=M-U+1;let wt=!1,Hs=0;const Nt=new Array(Ie);for(b=0;b=Ie){ve(Ce,_,E,!0);continue}let $e;if(Ce.key!=null)$e=se.get(Ce.key);else for(Q=U;Q<=M;Q++)if(Nt[Q-U]===0&&Ct(Ce,f[Q])){$e=Q;break}$e===void 0?ve(Ce,_,E,!0):(Nt[$e-U]=b+1,$e>=Hs?Hs=$e:wt=!0,A(Ce,f[$e],m,null,_,E,C,w,R),he++)}const js=wt?ql(Nt):Pt;for(Q=js.length-1,b=Ie-1;b>=0;b--){const Ce=U+b,$e=f[Ce],Bs=Ce+1{const{el:E,type:C,transition:w,children:R,shapeFlag:b}=u;if(b&6){Fe(u.component.subTree,f,m,v);return}if(b&128){u.suspense.move(f,m,v);return}if(b&64){C.move(u,f,m,L);return}if(C===Ee){s(E,f,m);for(let N=0;Nw.enter(E),_);else{const{leave:N,delayLeave:M,afterLeave:H}=w,U=()=>s(E,f,m),se=()=>{N(E,()=>{U(),H&&H()})};M?M(E,U,se):se()}else s(E,f,m)},ve=(u,f,m,v=!1,_=!1)=>{const{type:E,props:C,ref:w,children:R,dynamicChildren:b,shapeFlag:P,patchFlag:N,dirs:M,cacheIndex:H}=u;if(N===-2&&(_=!1),w!=null&&ls(w,null,m,u,!0),H!=null&&(f.renderCache[H]=void 0),P&256){f.ctx.deactivate(u);return}const U=P&1&&M,se=!Bt(u);let Q;if(se&&(Q=C&&C.onVnodeBeforeUnmount)&&Ve(Q,f,u),P&6)tn(u.component,m,v);else{if(P&128){u.suspense.unmount(m,v);return}U&&ut(u,null,f,"beforeUnmount"),P&64?u.type.remove(u,f,m,L,v):b&&!b.hasOnce&&(E!==Ee||N>0&&N&64)?xe(b,f,m,!1,!0):(E===Ee&&N&384||!_&&P&16)&&xe(R,f,m),v&&bt(u)}(se&&(Q=C&&C.onVnodeUnmounted)||U)&&be(()=>{Q&&Ve(Q,f,u),U&&ut(u,null,f,"unmounted")},m)},bt=u=>{const{type:f,el:m,anchor:v,transition:_}=u;if(f===Ee){Et(m,v);return}if(f===Kt){K(u);return}const E=()=>{r(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:C,delayLeave:w}=_,R=()=>C(m,E);w?w(u.el,E,R):R()}else E()},Et=(u,f)=>{let m;for(;u!==f;)m=p(u),r(u),u=m;r(f)},tn=(u,f,m)=>{const{bum:v,scope:_,update:E,subTree:C,um:w,m:R,a:b}=u;or(R),or(b),v&&fn(v),_.stop(),E&&(E.active=!1,ve(C,u,f,m)),w&&be(w,f),be(()=>{u.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},xe=(u,f,m,v=!1,_=!1,E=0)=>{for(let C=E;C{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=p(u.anchor||u.el),m=f&&f[Bl];return m?p(m):f};let x=!1;const S=(u,f,m)=>{u==null?f._vnode&&ve(f._vnode,null,null,!0):A(f._vnode||null,u,f,null,null,null,m),x||(x=!0,Ys(),Ro(),x=!1),f._vnode=u},L={p:A,um:ve,m:Fe,r:bt,mt:de,mc:ae,pc:z,pbc:Y,n:y,o:e};let J,le;return{render:S,hydrate:J,createApp:Nl(S,J)}}function Bn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ko(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Uo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Uo(t)}function or(e){if(e)for(let t=0;tje(Gl);function Ql(e,t){return Ms(e,null,{flush:"post"})}const un={};function hn(e,t,n){return Ms(e,t,n)}function Ms(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=ie){if(t&&o){const $=t;t=(...te)=>{$(...te),ee()}}const c=ge,d=$=>s===!0?$:nt($,s===!1?1:void 0);let a,h=!1,p=!1;if(Re(e)?(a=()=>e.value,h=Ot(e)):jt(e)?(a=()=>d(e),h=!0):V(e)?(p=!0,h=e.some($=>jt($)||Ot($)),a=()=>e.map($=>{if(Re($))return $.value;if(jt($))return d($);if(B($))return rt($,c,2)})):B(e)?t?a=()=>rt(e,c,2):a=()=>(g&&g(),Te(e,c,3,[T])):a=Ae,t&&s){const $=a;a=()=>nt($())}let g,T=$=>{g=O.onStop=()=>{rt($,c,4),g=O.onStop=void 0}},A;if(Nn)if(T=Ae,t?n&&Te(t,c,3,[a(),p?[]:void 0,T]):a(),r==="sync"){const $=zl();A=$.__watcherHandles||($.__watcherHandles=[])}else return Ae;let j=p?new Array(e.length).fill(un):un;const D=()=>{if(!(!O.active||!O.dirty))if(t){const $=O.run();(s||h||(p?$.some((te,ae)=>ot(te,j[ae])):ot($,j)))&&(g&&g(),Te(t,c,3,[$,j===un?void 0:p&&j[0]===un?[]:j,T]),j=$)}else O.run()};D.allowRecurse=!!t;let F;r==="sync"?F=D:r==="post"?F=()=>be(D,c&&c.suspense):(D.pre=!0,c&&(D.id=c.uid),F=()=>As(D));const O=new bs(a,Ae,F),K=$i(),ee=()=>{O.stop(),K&&gs(K.effects,O)};return t?n?D():j=O.run():r==="post"?be(O.run.bind(O),c&&c.suspense):O.run(),A&&A.push(ee),ee}function Yl(e,t,n){const s=this.proxy,r=ue(e)?e.includes(".")?Ko(s,e):()=>s[e]:e.bind(s,s);let o;B(t)?o=t:(o=t.handler,n=t);const i=en(this),l=Ms(r,o.bind(s),n);return i(),l}function Ko(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{nt(s,t,n)});else if(zr(e)){for(const s in e)nt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nt(e[s],t,n)}return e}const Jl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${vt(t)}Modifiers`];function Xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const o=t.startsWith("update:"),i=o&&Jl(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>ue(a)?a.trim():a)),i.number&&(r=n.map(Yn)));let l,c=s[l=Dn(t)]||s[l=Dn(gt(t))];!c&&o&&(c=s[l=Dn(vt(t))]),c&&Te(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(d,e,6,r)}}function Wo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!B(e)){const c=d=>{const a=Wo(d,t,!0);a&&(l=!0,fe(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):(V(o)?o.forEach(c=>i[c]=null):fe(i,o),oe(e)&&s.set(e,i),i)}function Ln(e,t){return!e||!Rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,vt(t))||W(e,t))}function kn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:d,renderCache:a,props:h,data:p,setupState:g,ctx:T,inheritAttrs:A}=e,j=gn(e);let D,F;try{if(n.shapeFlag&4){const K=r||s,ee=K;D=De(d.call(ee,K,a,h,g,p,T)),F=l}else{const K=t;D=De(K.length>1?K(h,{attrs:l,slots:i,emit:c}):K(h,null)),F=t.props?l:Zl(l)}}catch(K){Wt.length=0,An(K,e,1),D=_e(qe)}let O=D;if(F&&A!==!1){const K=Object.keys(F),{shapeFlag:ee}=O;K.length&&ee&7&&(o&&K.some(ms)&&(F=ec(F,o)),O=yt(O,F,!1,!0))}return n.dirs&&(O=yt(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),D=O,gn(j),D}const Zl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Rn(n))&&((t||(t={}))[n]=e[n]);return t},ec=(e,t)=>{const n={};for(const s in e)(!ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function tc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ir(s,i,d):!!i;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function rc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):al(e)}const Ee=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),Kt=Symbol.for("v-stc"),Wt=[];let Se=null;function Ns(e=!1){Wt.push(Se=e?null:[])}function oc(){Wt.pop(),Se=Wt[Wt.length-1]||null}let Jt=1;function lr(e){Jt+=e,e<0&&Se&&(Se.hasOnce=!0)}function qo(e){return e.dynamicChildren=Jt>0?Se||Pt:null,oc(),Jt>0&&Se&&Se.push(e),e}function Ef(e,t,n,s,r,o){return qo(zo(e,t,n,s,r,o,!0))}function Fs(e,t,n,s,r){return qo(_e(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Go=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||Re(e)||B(e)?{i:pe,r:e,k:t,f:!!n}:e:null);function zo(e,t=null,n=null,s=0,r=null,o=e===Ee?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Go(t),ref:t&&pn(t),scopeId:Tn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:pe};return l?($s(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),Jt>0&&!i&&Se&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Se.push(c),c}const _e=ic;function ic(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===xl)&&(e=qe),vn(e)){const l=yt(e,t,!0);return n&&$s(l,n),Jt>0&&!o&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(_c(e)&&(e=e.__vccOpts),t){t=lc(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=vs(l)),oe(c)&&(mo(c)&&!V(c)&&(c=fe({},c)),t.style=ys(c))}const i=ue(e)?1:sc(e)?128:kl(e)?64:oe(e)?4:B(e)?2:0;return zo(e,t,n,s,r,i,o,!0)}function lc(e){return e?mo(e)||Fo(e)?fe({},e):e:null}function yt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,d=t?uc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Go(d),ref:t&&t.ref?n&&o?V(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&_n(a,c.clone(a)),a}function cc(e=" ",t=0){return _e(Mn,null,e,t)}function wf(e,t){const n=_e(Kt,null,e);return n.staticCount=t,n}function Rf(e="",t=!1){return t?(Ns(),Fs(qe,null,e)):_e(qe,null,e)}function De(e){return e==null||typeof e=="boolean"?_e(qe):V(e)?_e(Ee,null,e.slice()):typeof e=="object"?et(e):_e(Mn,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function $s(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),$s(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Fo(t)?t._ctx=pe:r===3&&pe&&(pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:pe},n=32):(t=String(t),s&64?(n=16,t=[cc(t)]):n=8);e.children=t,e.shapeFlag|=n}function uc(...e){const t={};for(let n=0;nge||pe;let bn,cs;{const e=Jr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};bn=t("__VUE_INSTANCE_SETTERS__",n=>ge=n),cs=t("__VUE_SSR_SETTERS__",n=>Nn=n)}const en=e=>{const t=ge;return bn(e),e.scope.on(),()=>{e.scope.off(),bn(t)}},cr=()=>{ge&&ge.scope.off(),bn(null)};function Yo(e){return e.vnode.shapeFlag&4}let Nn=!1;function hc(e,t=!1,n=!1){t&&cs(t);const{props:s,children:r}=e.vnode,o=Yo(e);Fl(e,s,o,t),Hl(e,r,n);const i=o?pc(e,t):void 0;return t&&cs(!1),i}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Pl);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?gc(e):null,o=en(e);lt();const i=rt(s,e,0,[e.props,r]);if(ct(),o(),qr(i)){if(i.then(cr,cr),t)return i.then(l=>{ur(e,l,t)}).catch(l=>{An(l,e,0)});e.asyncDep=i}else ur(e,i,t)}else Jo(e,t)}function ur(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=vo(t)),Jo(e,n)}let fr;function Jo(e,t,n){const s=e.type;if(!e.render){if(!t&&fr&&!s.render){const r=s.template||Is(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,d=fe(fe({isCustomElement:o,delimiters:l},i),c);s.render=fr(r,d)}}e.render=s.render||Ae}{const r=en(e);lt();try{Al(e)}finally{ct(),r()}}}const mc={get(e,t){return we(e,"get",""),e[t]}};function gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,mc),slots:e.slots,emit:e.emit,expose:t}}function Fn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vo(nl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}})):e.proxy}function _c(e){return B(e)&&"__vccOpts"in e}const Me=(e,t)=>sl(e,t,Nn);function Xo(e,t,n){const s=arguments.length;return s===2?oe(t)&&!V(t)?vn(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),_e(e,t,n))}const yc="3.4.32";/** -* @vue/runtime-dom v3.4.32 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const vc="http://www.w3.org/2000/svg",bc="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,ar=Ke&&Ke.createElement("template"),Ec={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==="svg"?Ke.createElementNS(vc,e):t==="mathml"?Ke.createElementNS(bc,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ar.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=ar.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ye="transition",Ft="animation",It=Symbol("_vtc"),Zo={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=fe({},ml,Zo),at=(e,t=[])=>{V(e)?e.forEach(n=>n(...t)):e&&e(...t)},dr=e=>e?V(e)?e.some(t=>t.length>1):e.length>1:!1;function Rc(e){const t={};for(const I in e)I in Zo||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:d=i,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,T=Cc(r),A=T&&T[0],j=T&&T[1],{onBeforeEnter:D,onEnter:F,onEnterCancelled:O,onLeave:K,onLeaveCancelled:ee,onBeforeAppear:$=D,onAppear:te=F,onAppearCancelled:ae=O}=t,k=(I,G,de)=>{Xe(I,G?a:l),Xe(I,G?d:i),de&&de()},Y=(I,G)=>{I._isLeaving=!1,Xe(I,h),Xe(I,g),Xe(I,p),G&&G()},ne=I=>(G,de)=>{const Oe=I?te:F,ce=()=>k(G,I,de);at(Oe,[G,ce]),hr(()=>{Xe(G,I?c:o),Ue(G,I?a:l),dr(Oe)||pr(G,s,A,ce)})};return fe(t,{onBeforeEnter(I){at(D,[I]),Ue(I,o),Ue(I,i)},onBeforeAppear(I){at($,[I]),Ue(I,c),Ue(I,d)},onEnter:ne(!1),onAppear:ne(!0),onLeave(I,G){I._isLeaving=!0;const de=()=>Y(I,G);Ue(I,h),Ue(I,p),ti(),hr(()=>{I._isLeaving&&(Xe(I,h),Ue(I,g),dr(K)||pr(I,s,j,de))}),at(K,[I,de])},onEnterCancelled(I){k(I,!1),at(O,[I])},onAppearCancelled(I){k(I,!0),at(ae,[I])},onLeaveCancelled(I){Y(I),at(ee,[I])}})}function Cc(e){if(e==null)return null;if(oe(e))return[Un(e.enter),Un(e.leave)];{const t=Un(e);return[t,t]}}function Un(e){return xi(e)}function Ue(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[It]||(e[It]=new Set)).add(t)}function Xe(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[It];n&&(n.delete(t),n.size||(e[It]=void 0))}function hr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sc=0;function pr(e,t,n,s){const r=e._endId=++Sc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=ei(e,t);if(!i)return s();const d=i+"end";let a=0;const h=()=>{e.removeEventListener(d,p),o()},p=g=>{g.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[T]||"").split(", "),r=s(`${Ye}Delay`),o=s(`${Ye}Duration`),i=mr(r,o),l=s(`${Ft}Delay`),c=s(`${Ft}Duration`),d=mr(l,c);let a=null,h=0,p=0;t===Ye?i>0&&(a=Ye,h=i,p=o.length):t===Ft?d>0&&(a=Ft,h=d,p=c.length):(h=Math.max(i,d),a=h>0?i>d?Ye:Ft:null,p=a?a===Ye?o.length:c.length:0);const g=a===Ye&&/\b(transform|all)(,|$)/.test(s(`${Ye}Property`).toString());return{type:a,timeout:h,propCount:p,hasTransform:g}}function mr(e,t){for(;e.lengthgr(n)+gr(e[s])))}function gr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ti(){return document.body.offsetHeight}function xc(e,t,n){const s=e[It];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const En=Symbol("_vod"),ni=Symbol("_vsh"),Cf={beforeMount(e,{value:t},{transition:n}){e[En]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(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),$t(e,!0),s.enter(e)):s.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[En]:"none",e[ni]=!t}const si=Symbol("");function Sf(e){const t=Qo();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>fs(o,r))},s=()=>{const r=e(t.proxy);us(t.subTree,r),n(r)};In(()=>{Ql(s);const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Os(()=>r.disconnect())})}function us(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{us(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)fs(e.el,t);else if(e.type===Ee)e.children.forEach(n=>us(n,t));else if(e.type===Kt){let{el:n,anchor:s}=e;for(;n&&(fs(n,t),n!==s);)n=n.nextSibling}}function fs(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[si]=s}}const Pc=/(^|;)\s*display\s*:/;function Ac(e,t,n){const s=e.style,r=ue(n);let o=!1;if(n&&!r){if(t)if(ue(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&mn(s,l,"")}else for(const i in t)n[i]==null&&mn(s,i,"");for(const i in n)i==="display"&&(o=!0),mn(s,i,n[i])}else if(r){if(t!==n){const i=s[si];i&&(n+=";"+i),s.cssText=n,o=Pc.test(n)}}else t&&e.removeAttribute("style");En in e&&(e[En]=o?s.display:"",e[ni]&&(s.display="none"))}const _r=/\s*!important$/;function mn(e,t,n){if(V(n))n.forEach(s=>mn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Tc(e,t);_r.test(n)?e.setProperty(vt(s),n.replace(_r,""),"important"):e[s]=n}}const yr=["Webkit","Moz","ms"],Kn={};function Tc(e,t){const n=Kn[t];if(n)return n;let s=gt(t);if(s!=="filter"&&s in e)return Kn[t]=s;s=Qr(s);for(let r=0;rWn||(Nc.then(()=>Wn=0),Wn=Date.now());function $c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Te(Vc(s,n.value),t,5,[s])};return n.value=e,n.attached=Fc(),n}function Vc(e,t){if(V(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 Rr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dc=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?xc(e,s,i):t==="style"?Ac(e,n,s):Rn(t)?ms(t)||Lc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hc(e,t,s,i))?(Oc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&br(e,t,s,i,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),br(e,t,s,i))};function Hc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Rr(t)&&B(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Rr(t)&&ue(n)?!1:t in e}const ri=new WeakMap,oi=new WeakMap,wn=Symbol("_moveCb"),Cr=Symbol("_enterCb"),ii={name:"TransitionGroup",props:fe({},wc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Qo(),s=pl();let r,o;return Ao(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Kc(r[0].el,n.vnode.el,i))return;r.forEach(Bc),r.forEach(kc);const l=r.filter(Uc);ti(),l.forEach(c=>{const d=c.el,a=d.style;Ue(d,i),a.transform=a.webkitTransform=a.transitionDuration="";const h=d[wn]=p=>{p&&p.target!==d||(!p||/transform$/.test(p.propertyName))&&(d.removeEventListener("transitionend",h),d[wn]=null,Xe(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=q(e),l=Rc(i);let c=i.tag||Ee;if(r=[],o)for(let d=0;ddelete e.mode;ii.props;const xf=ii;function Bc(e){const t=e.el;t[wn]&&t[wn](),t[Cr]&&t[Cr]()}function kc(e){oi.set(e,e.el.getBoundingClientRect())}function Uc(e){const t=ri.get(e),n=oi.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function Kc(e,t,n){const s=e.cloneNode(),r=e[It];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=ei(s);return o.removeChild(s),i}const Sr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>fn(t,n):t};function Wc(e){e.target.composing=!0}function xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qn=Symbol("_assign"),Pf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[qn]=Sr(r);const o=s||r.props&&r.props.type==="number";St(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Yn(l)),e[qn](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Wc),St(e,"compositionend",xr),St(e,"change",xr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[qn]=Sr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Yn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},qc=fe({patchProp:Dc},Ec);let Pr;function Gc(){return Pr||(Pr=Ul(qc))}const zc=(...e)=>{const t=Gc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Yc(s);if(!r)return;const o=t._component;!B(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Qc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Qc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yc(e){return ue(e)?document.querySelector(e):e}/*! - * vue-router v4.4.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const xt=typeof document<"u";function Jc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const X=Object.assign;function Gn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ne(r)?r.map(e):e(r)}return n}const qt=()=>{},Ne=Array.isArray,li=/#/g,Xc=/&/g,Zc=/\//g,eu=/=/g,tu=/\?/g,ci=/\+/g,nu=/%5B/g,su=/%5D/g,ui=/%5E/g,ru=/%60/g,fi=/%7B/g,ou=/%7C/g,ai=/%7D/g,iu=/%20/g;function Vs(e){return encodeURI(""+e).replace(ou,"|").replace(nu,"[").replace(su,"]")}function lu(e){return Vs(e).replace(fi,"{").replace(ai,"}").replace(ui,"^")}function as(e){return Vs(e).replace(ci,"%2B").replace(iu,"+").replace(li,"%23").replace(Xc,"%26").replace(ru,"`").replace(fi,"{").replace(ai,"}").replace(ui,"^")}function cu(e){return as(e).replace(eu,"%3D")}function uu(e){return Vs(e).replace(li,"%23").replace(tu,"%3F")}function fu(e){return e==null?"":uu(e).replace(Zc,"%2F")}function Xt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const au=/\/$/,du=e=>e.replace(au,"");function zn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=gu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Xt(i)}}function hu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ar(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Lt(t.matched[s],n.matched[r])&&di(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function di(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mu(e[n],t[n]))return!1;return!0}function mu(e,t){return Ne(e)?Tr(e,t):Ne(t)?Tr(t,e):e===t}function Tr(e,t){return Ne(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function gu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Zt;(function(e){e.pop="pop",e.push="push"})(Zt||(Zt={}));var Gt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Gt||(Gt={}));function _u(e){if(!e)if(xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),du(e)}const yu=/^[^#]+#/;function vu(e,t){return e.replace(yu,"#")+t}function bu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const $n=()=>({left:window.scrollX,top:window.scrollY});function Eu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=bu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Or(e,t){return(history.state?history.state.position-t:-1)+e}const ds=new Map;function wu(e,t){ds.set(e,t)}function Ru(e){const t=ds.get(e);return ds.delete(e),t}let Cu=()=>location.protocol+"//"+location.host;function hi(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Ar(c,"")}return Ar(n,e)+s+r}function Su(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=hi(e,location),T=n.value,A=t.value;let j=0;if(p){if(n.value=g,t.value=p,i&&i===T){i=null;return}j=A?p.position-A.position:0}else s(g);r.forEach(D=>{D(n.value,T,{delta:j,type:Zt.pop,direction:j?j>0?Gt.forward:Gt.back:Gt.unknown})})};function c(){i=n.value}function d(p){r.push(p);const g=()=>{const T=r.indexOf(p);T>-1&&r.splice(T,1)};return o.push(g),g}function a(){const{history:p}=window;p.state&&p.replaceState(X({},p.state,{scroll:$n()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function Ir(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?$n():null}}function xu(e){const{history:t,location:n}=window,s={value:hi(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,a){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Cu()+e+c;try{t[a?"replaceState":"pushState"](d,"",p),r.value=d}catch(g){console.error(g),n[a?"replace":"assign"](p)}}function i(c,d){const a=X({},t.state,Ir(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,d){const a=X({},r.value,t.state,{forward:c,scroll:$n()});o(a.current,a,!0);const h=X({},Ir(s.value,c,null),{position:a.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Pu(e){e=_u(e);const t=xu(e),n=Su(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=X({location:"",base:e,go:s,createHref:vu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Au(e){return typeof e=="string"||e&&typeof e=="object"}function pi(e){return typeof e=="string"||typeof e=="symbol"}const mi=Symbol("");var Lr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Lr||(Lr={}));function Mt(e,t){return X(new Error,{type:e,[mi]:!0},t)}function ke(e,t){return e instanceof Error&&mi in e&&(t==null||!!(e.type&t))}const Mr="[^/]+?",Tu={sensitive:!1,strict:!1,start:!0,end:!0},Ou=/[.+*?^${}()[\]/\\]/g;function Iu(e,t){const n=X({},Tu,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const a=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function gi(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Mu={type:0,value:""},Nu=/[a-zA-Z0-9_]/;function Fu(e){if(!e)return[[]];if(e==="/")return[[Mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,d="",a="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l{i(O)}:qt}function i(h){if(pi(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function l(){return n}function c(h){const p=Bu(h,n);n.splice(p,0,h),h.record.name&&!$r(h)&&s.set(h.record.name,h)}function d(h,p){let g,T={},A,j;if("name"in h&&h.name){if(g=s.get(h.name),!g)throw Mt(1,{location:h});j=g.record.name,T=X(Fr(p.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),h.params&&Fr(h.params,g.keys.map(O=>O.name))),A=g.stringify(T)}else if(h.path!=null)A=h.path,g=n.find(O=>O.re.test(A)),g&&(T=g.parse(A),j=g.record.name);else{if(g=p.name?s.get(p.name):n.find(O=>O.re.test(p.path)),!g)throw Mt(1,{location:h,currentLocation:p});j=g.record.name,T=X({},p.params,h.params),A=g.stringify(T)}const D=[];let F=g;for(;F;)D.unshift(F.record),F=F.parent;return{name:j,path:A,params:T,matched:D,meta:ju(D)}}e.forEach(h=>o(h));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Fr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Du(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Hu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Hu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function $r(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ju(e){return e.reduce((t,n)=>X(t,n.meta),{})}function Vr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Bu(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;gi(e,t[o])<0?s=o:n=o+1}const r=ku(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function ku(e){let t=e;for(;t=t.parent;)if(_i(t)&&gi(e,t)===0)return t}function _i({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Uu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&as(o)):[s&&as(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ku(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ne(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Wu=Symbol(""),Hr=Symbol(""),Vn=Symbol(""),yi=Symbol(""),hs=Symbol("");function Vt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(Mt(4,{from:n,to:t})):p instanceof Error?c(p):Au(p)?c(Mt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},a=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(a);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Qn(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(qu(c)){const a=(c.__vccOpts||c)[t];a&&o.push(tt(a,n,s,i,l,r))}else{let d=c();o.push(()=>d.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=Jc(a)?a.default:a;i.components[l]=h;const g=(h.__vccOpts||h)[t];return g&&tt(g,n,s,i,l,r)()}))}}return o}function qu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function jr(e){const t=je(Vn),n=je(yi),s=Me(()=>{const c=mt(e.to);return t.resolve(c)}),r=Me(()=>{const{matched:c}=s.value,{length:d}=c,a=c[d-1],h=n.matched;if(!a||!h.length)return-1;const p=h.findIndex(Lt.bind(null,a));if(p>-1)return p;const g=Br(c[d-2]);return d>1&&Br(a)===g&&h[h.length-1].path!==g?h.findIndex(Lt.bind(null,c[d-2])):p}),o=Me(()=>r.value>-1&&Yu(n.params,s.value.params)),i=Me(()=>r.value>-1&&r.value===n.matched.length-1&&di(n.params,s.value.params));function l(c={}){return Qu(c)?t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(qt):Promise.resolve()}return{route:s,href:Me(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Gu=Ts({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:jr,setup(e,{slots:t}){const n=Pn(jr(e)),{options:s}=je(Vn),r=Me(()=>({[kr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[kr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Xo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),zu=Gu;function Qu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Yu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ne(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Br(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kr=(e,t,n)=>e??t??n,Ju=Ts({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=je(hs),r=Me(()=>e.route||s.value),o=je(Hr,0),i=Me(()=>{let d=mt(o);const{matched:a}=r.value;let h;for(;(h=a[d])&&!h.components;)d++;return d}),l=Me(()=>r.value.matched[i.value]);dn(Hr,Me(()=>i.value+1)),dn(Wu,l),dn(hs,r);const c=rl();return hn(()=>[c.value,l.value,e.name],([d,a,h],[p,g,T])=>{a&&(a.instances[h]=d,g&&g!==a&&d&&d===p&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),d&&a&&(!g||!Lt(a,g)||!p)&&(a.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,a=e.name,h=l.value,p=h&&h.components[a];if(!p)return Ur(n.default,{Component:p,route:d});const g=h.props[a],T=g?g===!0?d.params:typeof g=="function"?g(d):g:null,j=Xo(p,X({},T,t,{onVnodeUnmounted:D=>{D.component.isUnmounted&&(h.instances[a]=null)},ref:c}));return Ur(n.default,{Component:j,route:d})||j}}});function Ur(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vi=Ju;function Xu(e){const t=Vu(e.routes,e),n=e.parseQuery||Uu,s=e.stringifyQuery||Dr,r=e.history,o=Vt(),i=Vt(),l=Vt(),c=ol(Je);let d=Je;xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Gn.bind(null,y=>""+y),h=Gn.bind(null,fu),p=Gn.bind(null,Xt);function g(y,x){let S,L;return pi(y)?(S=t.getRecordMatcher(y),L=x):L=y,t.addRoute(L,S)}function T(y){const x=t.getRecordMatcher(y);x&&t.removeRoute(x)}function A(){return t.getRoutes().map(y=>y.record)}function j(y){return!!t.getRecordMatcher(y)}function D(y,x){if(x=X({},x||c.value),typeof y=="string"){const f=zn(n,y,x.path),m=t.resolve({path:f.path},x),v=r.createHref(f.fullPath);return X(f,m,{params:p(m.params),hash:Xt(f.hash),redirectedFrom:void 0,href:v})}let S;if(y.path!=null)S=X({},y,{path:zn(n,y.path,x.path).path});else{const f=X({},y.params);for(const m in f)f[m]==null&&delete f[m];S=X({},y,{params:h(f)}),x.params=h(x.params)}const L=t.resolve(S,x),J=y.hash||"";L.params=a(p(L.params));const le=hu(s,X({},y,{hash:lu(J),path:L.path})),u=r.createHref(le);return X({fullPath:le,hash:J,query:s===Dr?Ku(y.query):y.query||{}},L,{redirectedFrom:void 0,href:u})}function F(y){return typeof y=="string"?zn(n,y,c.value.path):X({},y)}function O(y,x){if(d!==y)return Mt(8,{from:x,to:y})}function K(y){return te(y)}function ee(y){return K(X(F(y),{replace:!0}))}function $(y){const x=y.matched[y.matched.length-1];if(x&&x.redirect){const{redirect:S}=x;let L=typeof S=="function"?S(y):S;return typeof L=="string"&&(L=L.includes("?")||L.includes("#")?L=F(L):{path:L},L.params={}),X({query:y.query,hash:y.hash,params:L.path!=null?{}:y.params},L)}}function te(y,x){const S=d=D(y),L=c.value,J=y.state,le=y.force,u=y.replace===!0,f=$(S);if(f)return te(X(F(f),{state:typeof f=="object"?X({},J,f.state):J,force:le,replace:u}),x||S);const m=S;m.redirectedFrom=x;let v;return!le&&pu(s,L,S)&&(v=Mt(16,{to:m,from:L}),Fe(L,L,!0,!1)),(v?Promise.resolve(v):Y(m,L)).catch(_=>ke(_)?ke(_,2)?_:ze(_):z(_,m,L)).then(_=>{if(_){if(ke(_,2))return te(X({replace:u},F(_.to),{state:typeof _.to=="object"?X({},J,_.to.state):J,force:le}),x||m)}else _=I(m,L,!0,u,J);return ne(m,L,_),_})}function ae(y,x){const S=O(y,x);return S?Promise.reject(S):Promise.resolve()}function k(y){const x=Et.values().next().value;return x&&typeof x.runWithContext=="function"?x.runWithContext(y):y()}function Y(y,x){let S;const[L,J,le]=Zu(y,x);S=Qn(L.reverse(),"beforeRouteLeave",y,x);for(const f of L)f.leaveGuards.forEach(m=>{S.push(tt(m,y,x))});const u=ae.bind(null,y,x);return S.push(u),xe(S).then(()=>{S=[];for(const f of o.list())S.push(tt(f,y,x));return S.push(u),xe(S)}).then(()=>{S=Qn(J,"beforeRouteUpdate",y,x);for(const f of J)f.updateGuards.forEach(m=>{S.push(tt(m,y,x))});return S.push(u),xe(S)}).then(()=>{S=[];for(const f of le)if(f.beforeEnter)if(Ne(f.beforeEnter))for(const m of f.beforeEnter)S.push(tt(m,y,x));else S.push(tt(f.beforeEnter,y,x));return S.push(u),xe(S)}).then(()=>(y.matched.forEach(f=>f.enterCallbacks={}),S=Qn(le,"beforeRouteEnter",y,x,k),S.push(u),xe(S))).then(()=>{S=[];for(const f of i.list())S.push(tt(f,y,x));return S.push(u),xe(S)}).catch(f=>ke(f,8)?f:Promise.reject(f))}function ne(y,x,S){l.list().forEach(L=>k(()=>L(y,x,S)))}function I(y,x,S,L,J){const le=O(y,x);if(le)return le;const u=x===Je,f=xt?history.state:{};S&&(L||u?r.replace(y.fullPath,X({scroll:u&&f&&f.scroll},J)):r.push(y.fullPath,J)),c.value=y,Fe(y,x,S,u),ze()}let G;function de(){G||(G=r.listen((y,x,S)=>{if(!tn.listening)return;const L=D(y),J=$(L);if(J){te(X(J,{replace:!0}),L).catch(qt);return}d=L;const le=c.value;xt&&wu(Or(le.fullPath,S.delta),$n()),Y(L,le).catch(u=>ke(u,12)?u:ke(u,2)?(te(u.to,L).then(f=>{ke(f,20)&&!S.delta&&S.type===Zt.pop&&r.go(-1,!1)}).catch(qt),Promise.reject()):(S.delta&&r.go(-S.delta,!1),z(u,L,le))).then(u=>{u=u||I(L,le,!1),u&&(S.delta&&!ke(u,8)?r.go(-S.delta,!1):S.type===Zt.pop&&ke(u,20)&&r.go(-1,!1)),ne(L,le,u)}).catch(qt)}))}let Oe=Vt(),ce=Vt(),Z;function z(y,x,S){ze(y);const L=ce.list();return L.length?L.forEach(J=>J(y,x,S)):console.error(y),Promise.reject(y)}function Be(){return Z&&c.value!==Je?Promise.resolve():new Promise((y,x)=>{Oe.add([y,x])})}function ze(y){return Z||(Z=!y,de(),Oe.list().forEach(([x,S])=>y?S(y):x()),Oe.reset()),y}function Fe(y,x,S,L){const{scrollBehavior:J}=e;if(!xt||!J)return Promise.resolve();const le=!S&&Ru(Or(y.fullPath,0))||(L||!S)&&history.state&&history.state.scroll||null;return Eo().then(()=>J(y,x,le)).then(u=>u&&Eu(u)).catch(u=>z(u,y,x))}const ve=y=>r.go(y);let bt;const Et=new Set,tn={currentRoute:c,listening:!0,addRoute:g,removeRoute:T,clearRoutes:t.clearRoutes,hasRoute:j,getRoutes:A,resolve:D,options:e,push:K,replace:ee,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ce.add,isReady:Be,install(y){const x=this;y.component("RouterLink",zu),y.component("RouterView",vi),y.config.globalProperties.$router=x,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(c)}),xt&&!bt&&c.value===Je&&(bt=!0,K(r.location).catch(J=>{}));const S={};for(const J in Je)Object.defineProperty(S,J,{get:()=>c.value[J],enumerable:!0});y.provide(Vn,x),y.provide(yi,ho(S)),y.provide(hs,c);const L=y.unmount;Et.add(y),y.unmount=function(){Et.delete(y),Et.size<1&&(d=Je,G&&G(),G=null,c.value=Je,bt=!1,Z=!1),L()}}};function xe(y){return y.reduce((x,S)=>x.then(()=>k(S)),Promise.resolve())}return tn}function Zu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iLt(d,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(d=>Lt(d,c))||r.push(c))}return[n,s,r]}function Af(){return je(Vn)}const ef=Ts({__name:"App",setup(e){return In(()=>{}),(t,n)=>(Ns(),Fs(mt(vi)))}}),tf="modulepreload",nf=function(e){return"/pages/"+e},Kr={},re=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=nf(l),l in Kr)return;Kr[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":tf,c||(a.as="script",a.crossOrigin=""),a.href=l,i&&a.setAttribute("nonce",i),document.head.appendChild(a),c)return new Promise((h,p)=>{a.addEventListener("load",h),a.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},sf={path:"/preview",name:"preview",component:()=>re(()=>import("./index-BnNPthHu.js"),__vite__mapDeps([0,1,2]))},rf=[{path:"/preview/christmas",name:"christmas",component:()=>re(()=>import("./index-BSM4-hGh.js"),__vite__mapDeps([3,1,4]))},{path:"/preview/fireworks",name:"fireworks",component:()=>re(()=>import("./index-n2HwLGNv.js"),__vite__mapDeps([5,1,6]))},{path:"/preview/fireworks2",name:"fireworks2",component:()=>re(()=>import("./index-Cp8M_184.js"),__vite__mapDeps([7,8,9,1,10,11]))},{path:"/preview/clock",name:"clock",component:()=>re(()=>import("./index-T1QJ9IGc.js"),__vite__mapDeps([12,13,1,14]))},{path:"/preview/waveAnimation",name:"waveAnimation",component:()=>re(()=>import("./index-Bs2G5HVR.js"),__vite__mapDeps([15,13,1,16]))},{path:"/preview/waveRotate",name:"waveRotate",component:()=>re(()=>import("./index-BnIqCsVu.js"),__vite__mapDeps([17,8,18,13,1,19]))},{path:"/preview/waveCanvas",name:"waveCanvas",component:()=>re(()=>import("./index-GA9Cv9qS.js"),__vite__mapDeps([20,8,18,13,1,21]))},{path:"/preview/space",name:"space",component:()=>re(()=>import("./index-DSKkTIgH.js"),__vite__mapDeps([9,1,10]))},{path:"/preview/threeCard",name:"threeCard",component:()=>re(()=>import("./index-DL5Y58tq.js"),__vite__mapDeps([22,1,23]))}],of={path:"/business",name:"business",component:()=>re(()=>import("./index-rfywnf3l.js"),__vite__mapDeps([24,1,25]))},lf=[{path:"/business/color-picker",name:"color-picker",component:()=>re(()=>import("./index-Btxr3i5B.js"),__vite__mapDeps([26,1,27]))},{path:"/business/print",name:"print",component:()=>re(()=>import("./index-BCBPNXMe.js"),__vite__mapDeps([28,1,29]))},{path:"/business/input-tag",name:"input-tag",component:()=>re(()=>import("./index-8GCjGp3K.js"),__vite__mapDeps([30,1,31]))},{path:"/business/drag",name:"drag",component:()=>re(()=>import("./index-pYpnICyE.js"),__vite__mapDeps([32,1,33]))},{path:"/business/virtual-list",name:"virtual-list",component:()=>re(()=>import("./index-ClWlepwb.js"),__vite__mapDeps([34,1,35]))}],cf={path:"/funny",name:"funny",component:()=>re(()=>import("./index-DoUmlOd0.js"),__vite__mapDeps([36,1,37]))},uf=[{path:"/funny/radioGridTransition",name:"radioGridTransition",component:()=>re(()=>import("./index-DFE0Cp4p.js"),__vite__mapDeps([38,1,39]))},{path:"/funny/colorRandom",name:"colorRandom",component:()=>re(()=>import("./index-GBxFZDlh.js"),__vite__mapDeps([40,1,41]))},{path:"/funny/stars",name:"stars",component:()=>re(()=>import("./index-bZaCu0EW.js"),__vite__mapDeps([42,1,43]))}],ff={path:"/game",name:"game",component:()=>re(()=>import("./index-B3luEHte.js"),__vite__mapDeps([44,45,1,46,47]))},af=[{path:"/game/tetris",name:"tetris",component:()=>re(()=>import("./index-CC0Y7Pe6.js"),__vite__mapDeps([45,1,46]))}],df={path:"/:pathMatch(.*)*",name:"error",redirect:"404",children:[{path:"404",name:"404",component:()=>re(()=>import("./404-Dy6WOJF5.js"),__vite__mapDeps([48,1,49]))}]};var hf={VITE_BASE_URL:"/",VITE_GLOB_APP_TITLE:"Composiiton One",VITE_GLOB_APP_SHORT_NAME:"composiiton_one",BASE_URL:"/pages/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const pf=[{path:"/",name:"home",component:()=>re(()=>import("./index-DFdDviZw.js"),__vite__mapDeps([50,51,1,52,53]))},{path:"/note",name:"note",component:()=>re(()=>import("./index-p6FIm4Fi.js"),__vite__mapDeps([54,51,1,52,55]))},sf,...rf,of,...lf,cf,...uf,ff,...af,df],mf=hf.mode=="development"?"/":"/pages/",Ds=Xu({history:Pu(mf),routes:[...pf]});Ds.beforeEach((e,t,n)=>{n()});Ds.afterEach(()=>{});const bi=zc(ef);bi.use(Ds);bi.mount("#app");export{mt as A,lf as B,To as C,yf as D,Cf as E,Ee as F,Pf as G,uc as H,uf as I,xf as T,re as _,zo as a,_f as b,Fs as c,Ts as d,_e as e,Ef as f,Rf as g,Me as h,vf as i,rf as j,hn as k,In as l,wf as m,rl as n,Ns as o,gf as p,Os as q,bf as r,Pn as s,Mi as t,Af as u,Eo as v,hl as w,Sf as x,vs as y,ys as z}; diff --git a/static/js/index-DoKAQG2x.js b/static/js/index-DoKAQG2x.js new file mode 100644 index 0000000..fbe5013 --- /dev/null +++ b/static/js/index-DoKAQG2x.js @@ -0,0 +1 @@ +import{d as C,i as d,h as w,k as L,a as b,b as D,o as S,_ as G}from"./index-By46uPpP.js";const B={class:"card-container"},c=36,l=80,F=100,O=C({__name:"index",setup(P){const f=d(),i=w({}),r=d(!1),u=d(),m=d();function R(e,t,o,n){const a=e-o,s=t-n;return Math.sqrt(a*a+s*s)}function v(){return"#"+("000000"+(Math.random()*16777215<<0).toString(16)).slice(-6)}function _(e,t){return Math.floor(Math.random()*(t-e+1))+e}function h(){for(let e=0;e=c))for(let s=e-o;s<=e+o;s++){if(s<0||s>=c)continue;const E=R(e,t,s,a);Eo||(i["x"+s+"y"+a].classList.add("on"),i["x"+s+"y"+a].style.backgroundColor=n)}}function I(e,t,o,n,a){setTimeout(function(){y(e,t,o,n)},a||1)}function g(e,t,o){if(r.value)return!1;r.value=!0;for(let n=0;n{h(),M(),x()}),(e,t)=>(S(),b("div",B,[D("div",{class:"grid",ref_key:"radioGridRef",ref:f},null,512)]))}}),A=G(O,[["__scopeId","data-v-047b1692"]]);export{A as default}; diff --git a/static/js/index-DoUmlOd0.js b/static/js/index-DoUmlOd0.js deleted file mode 100644 index 5ba9a09..0000000 --- a/static/js/index-DoUmlOd0.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,h as l,f as n,F as u,i as _,u as p,o,t as d,I as m}from"./index-DblQHoIm.js";import{_ as f}from"./plugin-vueexport-helper-DlAUqK2U.js";const k={class:"funny-layout-container custom-bg-10"},h=["onClick"],b=i({__name:"index",setup(y){const a=p(),r=l(()=>(m??[]).map(e=>({label:e.name,key:e.path}))),c=({label:e,key:s})=>{const t=a.resolve({name:e,path:s});window.open(t.href,"_blank")};return(e,s)=>(o(),n("div",k,[(o(!0),n(u,null,_(r.value,t=>(o(),n("div",{class:"funny-item",key:t.key,onClick:v=>c(t)},d(t.label),9,h))),128))]))}}),C=f(b,[["__scopeId","data-v-d346bb5b"]]);export{C as default}; diff --git a/static/js/index-GA9Cv9qS.js b/static/js/index-GA9Cv9qS.js deleted file mode 100644 index 0e98adc..0000000 --- a/static/js/index-GA9Cv9qS.js +++ /dev/null @@ -1 +0,0 @@ -import{u as Z}from"./index-DEDEmN9i.js";import{C as $,D as ee,E as te,F as ae,G as ne,A as oe,B as se,a as ie,b as le,c as re,d as ce,e as ue,f as de,g as he,h as ve,i as fe,j as me,k as pe,l as ge,m as Ce,n as ye,o as be,p as ke,q as _e,r as we,s as Me,t as Pe,u as Re}from"./B4-cC9vRKeP.js";import{n as i,d as Le,h as Te,l as Se,s as Ae,k as G,f as Be,a as h,t as De,A as Ie,o as Fe}from"./index-DblQHoIm.js";import{g as Ge}from"./color-CWPKctqu.js";import{_ as Ee}from"./plugin-vueexport-helper-DlAUqK2U.js";const We=[$,ee,te,ae,ne,oe,se,ie,le,re,ce,ue,de,he,ve,fe,me,pe,ge,Ce,ye,be,ke,_e,we,Me,Pe,Re];function Oe(){const M=i(We),r=i([]);return r.value=M.value.map(c=>Z(c,{playbackRate:.5})),{playList:r}}const je={class:"wave-canvas-container"},qe={class:"controller"},He={class:"controller-item"},Ne=900,Je=127,Ve=Le({__name:"index",setup(M){const r=i(),c=i(),y=i(),b=e=>{const t=window.devicePixelRatio,{width:a,height:n}=e.getBoundingClientRect();e.width=Math.round(a*t),e.height=Math.round(n*t);const s=e.getContext("2d");s==null||s.scale(t,-t),s.translate(0,-n),s.translate(a*.5,n*.5)},p=i(0),g=i(0),l=Te(()=>({x:.8*p.value,y:.8*g.value})),E=()=>{const{width:e,height:t}=c.value.getBoundingClientRect();p.value=e,g.value=t},W=()=>{b(r.value),b(c.value),b(y.value),E()};Se(()=>{o.list=new Array(P.value.length).fill("").map((e,t)=>_(t,P.value.length)),W(),O()});const{playList:P}=Oe(),o=Ae({list:[],backup:{x:0,y:0},orbitList:[]}),O=()=>{L(),S(),w()},k=e=>{e.clearRect(-p.value/2,-g.value/2,p.value,g.value)},R=i(!0);G(R,()=>{L()});const L=e=>{e||(e=Math.max(l.value.x,l.value.y));const t=r.value.getContext("2d");k(t),R.value&&(t.beginPath(),t.strokeStyle="#00ff00cc",t.moveTo(-e,0),t.lineTo(e,0),t.stroke(),t.fillStyle="#ff0000cc",t.beginPath(),t.arc(0,0,2.5,0,2*Math.PI),t.fill())},T=i(!0);G(T,()=>{S()});const S=()=>{const e=c.value.getContext("2d");k(e);const t=Math.min(l.value.x,l.value.y)*.02,a=(Math.min(l.value.x,l.value.y)/2-t)/o.list.length;T.value&&o.list.map((n,s)=>{const C=t+s*a;e.strokeStyle=n,e.lineWidth=2,e.beginPath(),e.arc(0,0,C,0*Math.PI,2*Math.PI),e.stroke()})},j=e=>{const t=y.value.getContext("2d");k(t);const a=Math.min(l.value.x,l.value.y)*.02,n=(Math.min(l.value.x,l.value.y)/2-a)/o.list.length,s=5;o.backup={x:0,y:0},o.list.forEach((C,u)=>{const B=a+u*n,Q=2*Math.PI,U=Je-u,X=Q*U/Ne,D=Math.PI*2,I=(Math.PI+e*X)%D,F=D-I,d=I/Math.PI;(d<1&&1-d<.01||d<2&&2-d<.01)&&console.log(d);const f=B*Math.cos(F),m=B*Math.sin(F);t.fillStyle="white",t.beginPath();const Y=s*.8;t.arc(f,m,Y,0,2*Math.PI),t.fill(),V.value&&q(t,f,m),x.value&&H(t,f,m,u),z.value&&N(t,f,m,u),o.backup={x:f,y:m}})},q=(e,t,a)=>{e.strokeStyle="white",e.lineWidth=3,e.beginPath(),e.moveTo(0,0),e.lineTo(t,a),e.stroke()},H=(e,t,a,n)=>{e.strokeStyle="#fff",e.lineWidth=(n+1)*.1,e.beginPath(),e.moveTo(o.backup.x,o.backup.y),e.lineTo(t,a),e.stroke()},N=(e,t,a,n)=>{const s=e.createLinearGradient(0,0,t,a),C=n===0?"white":_(n-1,o.list.length),u=_(n,o.list.length);s.addColorStop(0,C),s.addColorStop(1,u),e.beginPath(),e.moveTo(o.backup.x,o.backup.y),e.lineTo(t,a),e.lineWidth=(n+1)*.1,e.lineJoin="round",e.lineCap="round",e.strokeStyle=s,e.stroke()},_=(e,t)=>{const a=Math.round(e/t*360*100)/100;return Ge(a)};let J=0,A=0,v=i();const w=()=>{A++;const e=(A-J)/60;j(e),v.value=requestAnimationFrame(w)},V=i(!1),x=i(!1),z=i(!1),K=()=>{v.value?(cancelAnimationFrame(v.value),v.value=void 0):w()};return(e,t)=>(Fe(),Be("div",je,[h("canvas",{id:"coordinate",ref_key:"coordinateRef",ref:r},null,512),h("canvas",{id:"orbit",ref_key:"orbitRef",ref:c},null,512),h("canvas",{id:"circle",ref_key:"circleRef",ref:y},null,512),h("div",qe,[h("div",He,[h("div",{class:"btn",onClick:K},De(Ie(v)?"Stop":"Play"),1)])])]))}}),Ye=Ee(Ve,[["__scopeId","data-v-2bfa531d"]]);export{Ye as default}; diff --git a/static/js/index-GBxFZDlh.js b/static/js/index-GBxFZDlh.js deleted file mode 100644 index 40acc71..0000000 --- a/static/js/index-GBxFZDlh.js +++ /dev/null @@ -1 +0,0 @@ -import{d as h,n as u,k as m,l as k,f as c,a as o,F as C,i as b,z as n,p as g,b as x,o as r}from"./index-DblQHoIm.js";import{_ as y}from"./plugin-vueexport-helper-DlAUqK2U.js";const f=t=>(g("data-v-242bed21"),t=t(),x(),t),I=f(()=>o("div",{class:"dial"},null,-1)),B={class:"color-display"},S={class:"color-ring-outer"},w={class:"color-ring"},F=["onClick"],M=f(()=>o("i",{class:"fa fa-refresh fa-3x fa-fw"},null,-1)),z=[M],E=h({__name:"index",setup(t){const v=u([]),s=u("#0ebeff");m(s,()=>{d()});const d=()=>{s.value=i()},i=()=>{const l="0123456789ABCDEF";let e="#";for(let a=0;a<6;a++)e+=l[Math.floor(Math.random()*16)];return e},_=l=>{i(),d()};return k(()=>{}),(l,e)=>(r(),c("div",{class:"canvas",style:n({"background-color":s.value})},[I,o("div",B,[o("div",S,[o("div",w,[(r(!0),c(C,null,b(v.value,(a,p)=>(r(),c("div",{key:p},[o("div",{class:"color-brick",onClick:$=>_(),style:n({backgroundColor:s.value})},null,12,F)]))),128))])]),o("div",{class:"color-info",style:n({background:s.value})},[o("div",{class:"refresh",onClick:e[0]||(e[0]=a=>_())},z)],4)])],4))}}),L=y(E,[["__scopeId","data-v-242bed21"]]);export{L as default}; diff --git a/static/js/index-IeShAYuC.js b/static/js/index-IeShAYuC.js new file mode 100644 index 0000000..d2f08e0 --- /dev/null +++ b/static/js/index-IeShAYuC.js @@ -0,0 +1 @@ +import{d,c as h,a as s,b as n,F as u,r as _,u as S,o,t as b,p as v,e as E,_ as I}from"./index-By46uPpP.js";var t=(e=>(e.PREVIEW="PREVIEW",e.BUSINESS="BUSINESS",e))(t||{});const g=[{label:"Firework",tag:t.PREVIEW,path:"/preview/firework"},{label:"Radio Grid Transition",tag:t.PREVIEW,path:"/preview/radio-grid-transition"},{label:"Wave Rainbow",tag:t.PREVIEW,path:"/preview/wave-rotate"},{label:"Color Picker",tag:t.BUSINESS,path:"/business/color-picker"},{label:"Input Tag",tag:t.BUSINESS,path:"/business/input-tag"},{label:"Drag Grid",tag:t.BUSINESS,path:"/business/drag"},{label:"Virtual List",tag:t.BUSINESS,path:"/business/virtual-list"}],k=e=>(v("data-v-45b688bd"),e=e(),E(),e),m={class:"home-container"},w=k(()=>n("div",{class:"home-header"},"Hello World",-1)),B={class:"home-content"},R=["onClick"],f=d({__name:"index",setup(e){const l=S(),c=r=>{const i=l.resolve({path:r});window.open(i.href,"_blank")},p=h(()=>g);return(r,i)=>(o(),s("div",m,[w,n("div",B,[(o(!0),s(u,null,_(p.value,a=>(o(),s("div",{key:a.label,class:"home-list-item",onClick:N=>c(a.path)},b(a.label),9,R))),128))])]))}}),W=I(f,[["__scopeId","data-v-45b688bd"]]);export{W as default}; diff --git a/static/js/index-Q5L57mrM.js b/static/js/index-Q5L57mrM.js new file mode 100644 index 0000000..7942a53 --- /dev/null +++ b/static/js/index-Q5L57mrM.js @@ -0,0 +1 @@ +import{d as T,c as s,x as w,i as p,a as S,b as g,F as R,r as V,q as k,o as L,G as $,k as D,z,B as I,C as j,E as q,t as E,_ as F}from"./index-By46uPpP.js";const G=T({__name:"VirtualScroller",props:{list:{default:()=>[]},height:{default:300},itemHeight:{default:32},preloadNum:{default:5}},emits:["arriveBottom"],setup(f,{emit:m}){const t=f,c=m,d=s(()=>t.list.length*t.itemHeight),h=s(()=>!d.value||!t.height||!v.value?!1:v.value+t.height>=d.value);w(h,()=>{h.value&&c("arriveBottom")});const e=s(()=>({width:"100%",height:`${t.height}px`,"overflow-y":"auto"})),N=s(()=>{let n=o.value*t.itemHeight,r=d.value-n;return r<0&&(r=d.value,n=0),{width:"100%",height:`${r}px`,marginTop:`${n}px`}}),v=p(0),b=n=>{v.value=n.target.scrollTop},y=s(()=>t.preloadNum&&!isNaN(t.preloadNum)&&t.preloadNum>0?t.preloadNum:5),H=s(()=>t.height?Math.ceil(t.height/t.itemHeight):0),l=s(()=>Math.floor(v.value/t.itemHeight)),o=s(()=>{const n=l.value-y.value;return n<0?0:n}),a=s(()=>{const n=l.value+H.value+y.value;return n>t.list.length?t.list.length:n}),i=s(()=>t.list.slice(o.value,a.value));return(n,r)=>(L(),S("div",{ref:"outerScrollerRef",style:k(e.value),onScroll:b},[g("div",{ref:"innerScrollerRef",style:k(N.value)},[(L(!0),S(R,null,V(i.value,(_,u)=>(L(),S("div",{key:_.name,style:k({height:`${t.itemHeight}px`})},[$(n.$slots,"default",{index:u+o.value,item:_})],4))),128))],4)],36))}});function P(f){const t=p((()=>{const e=document.createElement("div");return e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.zIndex="9999",e.style.backgroundColor="rgba(0, 0, 0, 0.5)",e.innerHTML="Loading...",e.style.visibility="hidden",e})());w(f,()=>{if(f){const e=f.value;e==null||e.appendChild(t.value)}else{const e=document.body;e==null||e.appendChild(t.value)}});const c=p(!1);return{loading:c,startLoading:()=>{t.value.style.visibility="visible",c.value=!0},endLoading:()=>{t.value.style.visibility="hidden",c.value=!1}}}const U={class:"virtual-list-container"},J={class:"content-header"},K=T({__name:"index",setup(f){const m=p(),t=s(()=>{var l;return((l=m.value)==null?void 0:l.clientHeight)-48}),{startLoading:c,endLoading:d}=P(m),h=p(""),e=p([]),N=s(()=>e.value.filter(l=>l.name.includes(h.value)));D(()=>{e.value=y()});const v=()=>{e.value=[...e.value,...y(50)]},b=()=>{c(),setTimeout(()=>{v(),d()},1e3*2)},y=(l=200)=>{const o=[],a=l;for(let i=0;i=A&&(B=M(u,x,C,M)),B},r),n+=o[_];return n}return(l,o)=>(L(),S("div",U,[g("div",{ref_key:"contentRef",ref:m,class:"content"},[g("div",J,[z(g("input",{"onUpdate:modelValue":o[0]||(o[0]=a=>h.value=a)},null,512),[[I,h.value]]),g("button",{onClick:v},"+Add")]),j(G,{list:N.value,itemHeight:28,height:t.value,onArriveBottom:b},{default:q(({item:a,index:i})=>[g("div",null,E(i+"-"+a.name),1)]),_:1},8,["list","height"])],512)]))}}),Q=F(K,[["__scopeId","data-v-2092e3f1"]]);export{Q as default}; diff --git a/static/js/index-T1QJ9IGc.js b/static/js/index-T1QJ9IGc.js deleted file mode 100644 index a5fc3c7..0000000 --- a/static/js/index-T1QJ9IGc.js +++ /dev/null @@ -1 +0,0 @@ -import{d as B,n as o,h as g,s as w,l as A,q as M,f as l,a as n,F as b,i as k,v as F,x as L,o as i,y as x,z as $,A as T,t as Z}from"./index-DblQHoIm.js";import{g as u}from"./color-CWPKctqu.js";import{_ as q}from"./plugin-vueexport-helper-DlAUqK2U.js";const D={class:"clock-container"},H={class:"clock"},I={class:"calibration"},V={class:"calibration-line"},X={class:"calibration-number"},E={class:"hour"},N={class:"minute"},P={class:"second"},U=B({__name:"index",setup(j){L(s=>({"36d03cf0":C.value,"2e33faec":R.value,"88282de6":c.hour,"78c672fd":c.minute,fa73dd46:c.second}));const r=o(350),C=g(()=>`${r.value}px`),R=g(()=>`${r.value-60}px`),d=o(6),f=o(),m=o(),v=o(),c=w({hour:"#fff",minute:"#fff",second:"#fff"}),S=({hh:s,mm:a,ss:e})=>{c.hour=u((s-90)/1200*360),c.minute=u((a-90)/360*360),c.second=u((e-90)/360*360)},_=o(),h=()=>{const s=new Date,a=s.getHours()*30,e=s.getMinutes()*d.value,t=s.getSeconds()*d.value;F(()=>{S({hh:a,mm:e,ss:t})}),f.value.style.transform=`rotateZ(${a+e/12}deg)`,m.value.style.transform=`rotateZ(${e}deg)`,v.value.style.transform=`rotateZ(${t}deg)`,_.value=window.requestAnimationFrame(h)},p=o([]),y=o([]),z=()=>{for(let s=0;s<60;s++)if(p.value.push({rotate:s*6,class:s%5===0?"item-hour":"item-min",translateX:s%5===0?(r.value-30)/2:(r.value-20)/2}),s%5===0){const a=s/5+1,e=(a-3)/6*Math.PI,t=(r.value-60)/2;y.value.push({number:a,left:t+t*Math.cos(e),top:t+t*Math.sin(e)})}};return A(()=>{z(),h()}),M(()=>{window.cancelAnimationFrame(_.value)}),(s,a)=>(i(),l("div",D,[n("div",H,[n("div",I,[n("div",V,[(i(!0),l(b,null,k(p.value,(e,t)=>(i(),l("div",{class:x(["line-item",e.class]),key:t,style:$({transform:`rotate(${e.rotate}deg) translate(${e.translateX}px,-50%)`,background:T(u)(t/60*360)})},null,6))),128))]),n("div",X,[(i(!0),l(b,null,k(y.value,(e,t)=>(i(),l("div",{class:x(["number-item",e.class]),key:t,style:$({left:`${e.left}px`,top:`${e.top}px`})},Z(e.number),7))),128))])]),n("div",E,[n("div",{class:"hr",ref_key:"hrRef",ref:f},null,512)]),n("div",N,[n("div",{class:"min",ref_key:"minRef",ref:m},null,512)]),n("div",P,[n("div",{class:"sec",ref_key:"secRef",ref:v},null,512)])])]))}}),O=q(U,[["__scopeId","data-v-b326228d"]]);export{O as default}; diff --git a/static/js/index-bZaCu0EW.js b/static/js/index-bZaCu0EW.js deleted file mode 100644 index d762213..0000000 --- a/static/js/index-bZaCu0EW.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,h as t,f as p,x as _,o as l,p as u,b as h,a}from"./index-DblQHoIm.js";import{_ as f}from"./plugin-vueexport-helper-DlAUqK2U.js";const n=e=>(u("data-v-944dcb62"),e=e(),h(),e),m={class:"container"},w=n(()=>a("div",{id:"stars"},null,-1)),x=n(()=>a("div",{id:"stars2"},null,-1)),v=n(()=>a("div",{id:"stars3"},null,-1)),$=[w,x,v],b=i({__name:"index",setup(e){_(o=>({"11468e50":d.value,"0cdebf4c":r.value,"10deb484":c.value}));const d=t(()=>{const o=new Array(700).fill(0).map(()=>`${s()}px ${s()}px #fff`);return console.log("shadow =>",o),o.join(",")}),r=t(()=>new Array(200).fill(0).map(()=>`${s()}px ${s()}px #fff`).join(",")),c=t(()=>new Array(100).fill(0).map(()=>`${s()}px ${s()}px #fff`).join(",")),s=()=>Math.round(Math.random()*2e3);return(o,S)=>(l(),p("div",m,$))}}),j=f(b,[["__scopeId","data-v-944dcb62"]]);export{j as default}; diff --git a/static/js/index-n2HwLGNv.js b/static/js/index-n2HwLGNv.js deleted file mode 100644 index 8f7f19a..0000000 --- a/static/js/index-n2HwLGNv.js +++ /dev/null @@ -1 +0,0 @@ -import{d as P,n as o,l as k,q as A,f as C,o as E,p as F,b as S,a as q}from"./index-DblQHoIm.js";import{_ as B}from"./plugin-vueexport-helper-DlAUqK2U.js";const L=h=>(F("data-v-e15f05fe"),h=h(),S(),h),z={class:"fireworks-container"},O=L(()=>q("canvas",{id:"canvas"},null,-1)),W=[O],H=P({__name:"index",setup(h){const s=o(null),l=o(),r=o(0),v=o(0),i=o([]),y=o(.04),m=o(0),p=o(0),c=o(),_=()=>{s.value=document.getElementById("canvas"),s.value&&(l.value=s.value.getContext("2d"),s.value.addEventListener("click",e=>{console.log(e);const t=(e.layerX+e.x)/2,a=(e.layerY+e.y)/2;w(t,a)}),d()),c.value=window.requestAnimationFrame(f)},d=()=>{s.value&&(r.value=s.value.width=window.innerWidth,v.value=s.value.height=window.innerHeight)};k(()=>{_(),window.addEventListener("resize",d,!1)}),A(()=>{window.removeEventListener("resize",d,!1),window.cancelAnimationFrame(c.value)});const f=()=>{x(),M(),c.value=window.requestAnimationFrame(f)},x=()=>{var t;((t=i.value)==null?void 0:t.length)<500&&Math.random(){var e,t;l.value.globalCompositeOperation="source-over",l.value.fillStyle="rgba(0,0,0,0.2)",l.value.fillRect(0,0,r.value,v.value),l.value.globalCompositeOperation="lighter";for(let a=0;a{m.value=e??Math.random()*(r.value-200)+100,p.value=t??Math.random()*(v.value-200)+100;const a=Math.random()*50+100,I="rgb("+~~(Math.random()*200+55)+","+~~(Math.random()*200+55)+","+~~(Math.random()*200+55)+")";for(let g=0;gu&&(n.vy=n.vy>0?u:-u),i.value.push(n)}};class b{constructor(){this.width=this.height=Math.random()*4+1,this.x=m.value-this.width/2,this.y=p.value-this.height/2,this.vx=(Math.random()-.5)*10,this.vy=(Math.random()-.5)*10,this.alpha=Math.random()*.5+.5,this.gravity=.05}move(){return this.x+=this.vx,this.vy+=this.gravity,this.y+=this.vy,this.alpha-=.01,!(this.x<=-this.width||this.x>=screen.width||this.y>=screen.height||this.alpha<=0)}draw(t){t.save(),t.beginPath(),t.translate(this.x+this.width/2,this.y+this.height/2),t.arc(0,0,this.width,0,Math.PI*2),t.fillStyle=this.color,t.globalAlpha=this.alpha,t.closePath(),t.fill(),t.restore()}}return(e,t)=>(E(),C("div",z,W))}}),U=B(H,[["__scopeId","data-v-e15f05fe"]]);export{U as default}; diff --git a/static/js/index-p6FIm4Fi.js b/static/js/index-p6FIm4Fi.js deleted file mode 100644 index 970d2df..0000000 --- a/static/js/index-p6FIm4Fi.js +++ /dev/null @@ -1 +0,0 @@ -import{B as d}from"./BaseLayout-BlsNKkPJ.js";import{d as a,c,w as n,o as _,a as o,e as s,p as i,b as p}from"./index-DblQHoIm.js";import{_ as r}from"./plugin-vueexport-helper-DlAUqK2U.js";const m=e=>(i("data-v-ecddd020"),e=e(),p(),e),l={class:"demo-container"},h=m(()=>o("div",{class:"demo-header"},"Demo",-1)),u={class:"demo-content"},f=a({__name:"index",setup(e){const t=()=>s("div",{class:"demo-child1"},["ChildComponent"]);return(v,x)=>(_(),c(d,null,{default:n(()=>[o("div",l,[h,o("div",u,[s(t)])])]),_:1}))}}),w=r(f,[["__scopeId","data-v-ecddd020"]]);export{w as default}; diff --git a/static/js/index-pYpnICyE.js b/static/js/index-pYpnICyE.js deleted file mode 100644 index edcb33b..0000000 --- a/static/js/index-pYpnICyE.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,n as d,o as c,c as h,w as I,f as l,i as S,t as x,F as k,T as w,e as T}from"./index-DblQHoIm.js";import{_ as u}from"./plugin-vueexport-helper-DlAUqK2U.js";const y=["onDragstart","onDragenter","onDragover"],B=i({__name:"GridSort",setup(p){const r=d([]);for(let e=1;e<10;e++)r.value.push({id:Math.random(),value:String(e)});const n=d(0),_=(e,a)=>{n.value=a;const t=e.target,o={src:t.src,id:Math.random(),dataset:t.dataset};e.dataTransfer.setData("elementInfo",JSON.stringify(o))},v=(e,a)=>{e.preventDefault()},g=(e,a)=>{if(e.preventDefault(),n.value!==a){const t=r.value[n.value];r.value.splice(n.value,1),r.value.splice(a,0,t),n.value=a}},f=e=>{e.preventDefault()},D=e=>{e.stopPropagation(),e.preventDefault()},m=e=>{e.dataTransfer.clearData()};return(e,a)=>(c(),h(w,{name:"flip",class:"view-content",tag:"div"},{default:I(()=>[(c(!0),l(k,null,S(r.value,(t,o)=>(c(),l("li",{key:t.id,class:"view-item",draggable:"true",onDragstart:s=>_(s,o),onDragend:m,onDragenter:s=>g(s,o),onDragover:s=>v(s,o),onDragleave:f,onDrop:D},x(t.value),41,y))),128))]),_:1}))}}),E=u(B,[["__scopeId","data-v-2c1fc31e"]]),G={class:"drag-container"},C=i({__name:"index",setup(p){return(r,n)=>(c(),l("div",G,[T(E)]))}}),M=u(C,[["__scopeId","data-v-50f59afe"]]);export{M as default}; diff --git a/static/js/index-rfywnf3l.js b/static/js/index-rfywnf3l.js deleted file mode 100644 index ae9eabb..0000000 --- a/static/js/index-rfywnf3l.js +++ /dev/null @@ -1 +0,0 @@ -import{d as i,h as l,f as o,F as u,i as _,u as p,o as n,t as d,B as m}from"./index-DblQHoIm.js";import{_ as f}from"./plugin-vueexport-helper-DlAUqK2U.js";const h={class:"business-layout-container custom-bg-10"},k=["onClick"],b=i({__name:"index",setup(g){const a=p(),r=l(()=>(m??[]).map(e=>({label:e.name,key:e.path}))),c=({label:e,key:t})=>{console.log("click =>",e,t);const s=a.resolve({name:e,path:t});console.log("href =>",s.href),window.open(s.href,"_blank")};return(e,t)=>(n(),o("div",h,[(n(!0),o(u,null,_(r.value,s=>(n(),o("div",{class:"business-item",key:s.key,onClick:v=>c(s)},d(s.label),9,k))),128))]))}}),C=f(b,[["__scopeId","data-v-b8f8a150"]]);export{C as default}; diff --git a/static/js/index-uvhJy5fG.js b/static/js/index-uvhJy5fG.js new file mode 100644 index 0000000..5ae5ca3 --- /dev/null +++ b/static/js/index-uvhJy5fG.js @@ -0,0 +1 @@ +import{u as W}from"./index-Cc7JnbWS.js";import{i as a,d as $,c as D,k as H,a as r,b as u,t as K,F,r as E,o as p,v as O,_ as T}from"./index-By46uPpP.js";import{g as j}from"./color-CWPKctqu.js";const q="/pages/static/mp3/C7-DrIiBHTt.mp3",U="/pages/static/mp3/D7-eKlzsYaD.mp3",Y="/pages/static/mp3/E7-Dvfuv9NT.mp3",Z="/pages/static/mp3/F7-CWr4KyWL.mp3",I="/pages/static/mp3/G7-CYBFmFES.mp3",P="/pages/static/mp3/A7-CvcieQ2d.mp3",Q="/pages/static/mp3/B7-CB_w3kQU.mp3",J="/pages/static/mp3/C6-DZufzCEh.mp3",X="/pages/static/mp3/D6-D4VZWv5i.mp3",tt="/pages/static/mp3/E6-VJonjFl6.mp3",st="/pages/static/mp3/F6-ClS7j0wb.mp3",et="/pages/static/mp3/G6-D4cfrTa7.mp3",at="/pages/static/mp3/A6-C8b1K7He.mp3",ot="/pages/static/mp3/B6-Dl1ASB3z.mp3",ct="/pages/static/mp3/C5-Cz8NaCEk.mp3",nt="/pages/static/mp3/D5-ePE1v9-3.mp3",rt="/pages/static/mp3/E5-BO3Rb0z6.mp3",pt="/pages/static/mp3/F5-Oih2PYCk.mp3",lt="/pages/static/mp3/G5-BEy2ZzHl.mp3",it="/pages/static/mp3/A5-jYPb8_U1.mp3",ut="/pages/static/mp3/B5-DaK6Sp0e.mp3",mt="/pages/static/mp3/C4-DOdOAVZU.mp3",gt="/pages/static/mp3/D4-BX4a7mAK.mp3",dt="/pages/static/mp3/E4-DMfB6sSw.mp3",ft="/pages/static/mp3/F4-Brk_U0q4.mp3",vt="/pages/static/mp3/G4-CG3npyI6.mp3",_t="/pages/static/mp3/A4-d89MVjqH.mp3",kt="/pages/static/mp3/B4-6lEehrrk.mp3",Ct=[q,U,Y,Z,I,P,Q,J,X,tt,st,et,at,ot,ct,nt,rt,pt,lt,it,ut,mt,gt,dt,ft,vt,_t,kt];function ht(){const _=a(Ct),m=a([]);return m.value=_.value.map(i=>W(i,{playbackRate:.5})),{playList:m}}const yt={class:"wave-container"},Bt={class:"controller"},At={class:"orbit-group"},Dt=["id","d","stroke","stroke-width"],Ft=["transform"],Et=["cx","cy","r","stroke","fill"],bt=["x2","y2","stroke"],Rt=$({__name:"index",setup(_){const m=a(1),{playList:i}=ht(),k=D(()=>i.value.length),d=a([]),b=()=>{const s=i.value.map((o,t)=>{const e=h(t),n=`M ${e},0 A ${e} ${e} 180 1 0 -${e},0`,c=y(t);return{d:n,stroke:c,strokeWidth:1}});d.value=s},R=a(!1),C=a([]),S=()=>{C.value=d.value.map((s,o)=>{const t=-h(o),e=0,n=5,c=y(o);return{cx:t,cy:e,r:n,fill:c,rotate:0}})},h=s=>25+s*800/(k.value*2),y=s=>{const o=Math.round(s/k.value*360*100)/100;return j(o)},L=s=>s<180?s:s<360?360-s:0,G=s=>180/(900/(254-s*2)),N=a(),w=a(),M=a(30),B=new Map,x=D(()=>C.value.map((s,o)=>{var g;const e=G(o)*f.value/M.value%360,n=L(e),c=Math.round(n);return v.value&&(c==0||c==180)&&B.get(o)!=c&&((g=i.value[o])==null||g.play({playbackRate:m.value})),B.set(o,c),{...s,transform:`rotate(${n})`}})),f=a(0),z=a(.5),l=a(),v=a(!1),V=()=>{l.value?(cancelAnimationFrame(l.value),l.value=void 0,v.value=!1):(v.value=!0,l.value=requestAnimationFrame(A))},A=()=>{f.value=f.value+z.value,l.value=requestAnimationFrame(A)};return H(()=>{b(),S()}),(s,o)=>(p(),r("div",yt,[u("div",Bt,[u("div",{class:"controller-item-btn",onClick:V},K(l.value?"Stop":"Start"),1)]),(p(),r("svg",null,[u("g",At,[(p(!0),r(F,null,E(d.value,(t,e)=>(p(),r("path",{key:e,id:`orbit${e}`,d:t.d,stroke:t.stroke,"stroke-width":t.strokeWidth,"stroke-linecap":"round",fill:"none"},null,8,Dt))),128))]),u("g",{class:"circle-group",ref_key:"circleGroupRef",ref:N},[(p(!0),r(F,null,E(x.value,(t,e)=>(p(),r("g",{key:e,transform:t.transform},[u("circle",{ref_for:!0,ref_key:"circleRef",ref:w,cx:t.cx,cy:t.cy,r:t.r,stroke:t.fill,fill:t.fill},null,8,Et),R.value?(p(),r("line",{key:0,x1:"0",y1:"0",x2:t.cx,y2:t.cy,stroke:t.fill},null,8,bt)):O("",!0)],8,Ft))),128))],512)]))]))}}),Nt=T(Rt,[["__scopeId","data-v-a599a884"]]);export{Nt as default}; diff --git a/static/js/index-v2aYuXbQ.js b/static/js/index-v2aYuXbQ.js new file mode 100644 index 0000000..b69fda4 --- /dev/null +++ b/static/js/index-v2aYuXbQ.js @@ -0,0 +1 @@ +import{d as w,i as o,c as g,h as z,k as M,j as A,a as l,b as a,F as y,r as k,n as F,l as L,o as i,m as x,q as $,s as T,t as Z,_ as q}from"./index-By46uPpP.js";import{g as u}from"./color-CWPKctqu.js";const D={class:"clock-container"},H={class:"clock"},I={class:"calibration"},V={class:"calibration-line"},X={class:"calibration-number"},j={class:"hour"},E={class:"minute"},N={class:"second"},P=w({__name:"index",setup(U){L(s=>({"516191a8":C.value,"50d58590":R.value,b352c62e:c.hour,"73539fd9":c.minute,"7d533e39":c.second}));const r=o(350),C=g(()=>`${r.value}px`),R=g(()=>`${r.value-60}px`),d=o(6),f=o(),m=o(),v=o(),c=z({hour:"#fff",minute:"#fff",second:"#fff"}),S=({hh:s,mm:n,ss:e})=>{c.hour=u((s-90)/1200*360),c.minute=u((n-90)/360*360),c.second=u((e-90)/360*360)},_=o(),h=()=>{const s=new Date,n=s.getHours()*30,e=s.getMinutes()*d.value,t=s.getSeconds()*d.value;F(()=>{S({hh:n,mm:e,ss:t})}),f.value.style.transform=`rotateZ(${n+e/12}deg)`,m.value.style.transform=`rotateZ(${e}deg)`,v.value.style.transform=`rotateZ(${t}deg)`,_.value=window.requestAnimationFrame(h)},p=o([]),b=o([]),B=()=>{for(let s=0;s<60;s++)if(p.value.push({rotate:s*6,class:s%5===0?"item-hour":"item-min",translateX:s%5===0?(r.value-30)/2:(r.value-20)/2}),s%5===0){const n=s/5+1,e=(n-3)/6*Math.PI,t=(r.value-60)/2;b.value.push({number:n,left:t+t*Math.cos(e),top:t+t*Math.sin(e)})}};return M(()=>{B(),h()}),A(()=>{window.cancelAnimationFrame(_.value)}),(s,n)=>(i(),l("div",D,[a("div",H,[a("div",I,[a("div",V,[(i(!0),l(y,null,k(p.value,(e,t)=>(i(),l("div",{class:x(["line-item",e.class]),key:t,style:$({transform:`rotate(${e.rotate}deg) translate(${e.translateX}px,-50%)`,background:T(u)(t/60*360)})},null,6))),128))]),a("div",X,[(i(!0),l(y,null,k(b.value,(e,t)=>(i(),l("div",{class:x(["number-item",e.class]),key:t,style:$({left:`${e.left}px`,top:`${e.top}px`})},Z(e.number),7))),128))])]),a("div",j,[a("div",{class:"hr",ref_key:"hrRef",ref:f},null,512)]),a("div",E,[a("div",{class:"min",ref_key:"minRef",ref:m},null,512)]),a("div",N,[a("div",{class:"sec",ref_key:"secRef",ref:v},null,512)])])]))}}),K=q(P,[["__scopeId","data-v-4a8520da"]]);export{K as default}; diff --git a/static/js/plugin-vueexport-helper-DlAUqK2U.js b/static/js/plugin-vueexport-helper-DlAUqK2U.js deleted file mode 100644 index 718edd3..0000000 --- a/static/js/plugin-vueexport-helper-DlAUqK2U.js +++ /dev/null @@ -1 +0,0 @@ -const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};