HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/linde/wp-content/plugins/crop-thumbnails/app/main.js
window.CROP_THUMBNAILS_VUE={app:null,components:{}};var Ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ph={exports:{}};/*!
 * jQuery JavaScript Library v3.7.1
 * https://jquery.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2023-08-28T13:37Z
 */(function(e){(function(t,n){e.exports=t.document?n(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return n(i)}})(typeof window<"u"?window:Ac,function(t,n){var i=[],s=Object.getPrototypeOf,r=i.slice,a=i.flat?function(o){return i.flat.call(o)}:function(o){return i.concat.apply([],o)},c=i.push,u=i.indexOf,g={},p=g.toString,m=g.hasOwnProperty,w=m.toString,_=w.call(Object),S={},T=function(l){return typeof l=="function"&&typeof l.nodeType!="number"&&typeof l.item!="function"},P=function(l){return l!=null&&l===l.window},M=t.document,j={type:!0,src:!0,nonce:!0,noModule:!0};function R(o,l,f){f=f||M;var d,y,v=f.createElement("script");if(v.text=o,l)for(d in j)y=l[d]||l.getAttribute&&l.getAttribute(d),y&&v.setAttribute(d,y);f.head.appendChild(v).parentNode.removeChild(v)}function N(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?g[p.call(o)]||"object":typeof o}var z="3.7.1",G=/HTML$/i,h=function(o,l){return new h.fn.init(o,l)};h.fn=h.prototype={jquery:z,constructor:h,length:0,toArray:function(){return r.call(this)},get:function(o){return o==null?r.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var l=h.merge(this.constructor(),o);return l.prevObject=this,l},each:function(o){return h.each(this,o)},map:function(o){return this.pushStack(h.map(this,function(l,f){return o.call(l,f,l)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(o,l){return(l+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(o,l){return l%2}))},eq:function(o){var l=this.length,f=+o+(o<0?l:0);return this.pushStack(f>=0&&f<l?[this[f]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},h.extend=h.fn.extend=function(){var o,l,f,d,y,v,b=arguments[0]||{},A=1,E=arguments.length,k=!1;for(typeof b=="boolean"&&(k=b,b=arguments[A]||{},A++),typeof b!="object"&&!T(b)&&(b={}),A===E&&(b=this,A--);A<E;A++)if((o=arguments[A])!=null)for(l in o)d=o[l],!(l==="__proto__"||b===d)&&(k&&d&&(h.isPlainObject(d)||(y=Array.isArray(d)))?(f=b[l],y&&!Array.isArray(f)?v=[]:!y&&!h.isPlainObject(f)?v={}:v=f,y=!1,b[l]=h.extend(k,v,d)):d!==void 0&&(b[l]=d));return b},h.extend({expando:"jQuery"+(z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var l,f;return!o||p.call(o)!=="[object Object]"?!1:(l=s(o),l?(f=m.call(l,"constructor")&&l.constructor,typeof f=="function"&&w.call(f)===_):!0)},isEmptyObject:function(o){var l;for(l in o)return!1;return!0},globalEval:function(o,l,f){R(o,{nonce:l&&l.nonce},f)},each:function(o,l){var f,d=0;if(te(o))for(f=o.length;d<f&&l.call(o[d],d,o[d])!==!1;d++);else for(d in o)if(l.call(o[d],d,o[d])===!1)break;return o},text:function(o){var l,f="",d=0,y=o.nodeType;if(!y)for(;l=o[d++];)f+=h.text(l);return y===1||y===11?o.textContent:y===9?o.documentElement.textContent:y===3||y===4?o.nodeValue:f},makeArray:function(o,l){var f=l||[];return o!=null&&(te(Object(o))?h.merge(f,typeof o=="string"?[o]:o):c.call(f,o)),f},inArray:function(o,l,f){return l==null?-1:u.call(l,o,f)},isXMLDoc:function(o){var l=o&&o.namespaceURI,f=o&&(o.ownerDocument||o).documentElement;return!G.test(l||f&&f.nodeName||"HTML")},merge:function(o,l){for(var f=+l.length,d=0,y=o.length;d<f;d++)o[y++]=l[d];return o.length=y,o},grep:function(o,l,f){for(var d,y=[],v=0,b=o.length,A=!f;v<b;v++)d=!l(o[v],v),d!==A&&y.push(o[v]);return y},map:function(o,l,f){var d,y,v=0,b=[];if(te(o))for(d=o.length;v<d;v++)y=l(o[v],v,f),y!=null&&b.push(y);else for(v in o)y=l(o[v],v,f),y!=null&&b.push(y);return a(b)},guid:1,support:S}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=i[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,l){g["[object "+l+"]"]=l.toLowerCase()});function te(o){var l=!!o&&"length"in o&&o.length,f=N(o);return T(o)||P(o)?!1:f==="array"||l===0||typeof l=="number"&&l>0&&l-1 in o}function D(o,l){return o.nodeName&&o.nodeName.toLowerCase()===l.toLowerCase()}var q=i.pop,re=i.sort,V=i.splice,J="[\\x20\\t\\r\\n\\f]",we=new RegExp("^"+J+"+|((?:^|[^\\\\])(?:\\\\.)*)"+J+"+$","g");h.contains=function(o,l){var f=l&&l.parentNode;return o===f||!!(f&&f.nodeType===1&&(o.contains?o.contains(f):o.compareDocumentPosition&&o.compareDocumentPosition(f)&16))};var xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ge(o,l){return l?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}h.escapeSelector=function(o){return(o+"").replace(xe,ge)};var Se=M,ye=c;(function(){var o,l,f,d,y,v=ye,b,A,E,k,B,X=h.expando,H=0,se=0,Ie=so(),$e=so(),Pe=so(),xt=so(),yt=function(C,I){return C===I&&(y=!0),0},jn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Bn="(?:\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Fe="\\["+J+"*("+Bn+")(?:"+J+"*([*^$|!~]?=)"+J+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Bn+"))|)"+J+"*\\]",Ui=":("+Bn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Fe+")*)|.*)\\)|)",qe=new RegExp(J+"+","g"),ut=new RegExp("^"+J+"*,"+J+"*"),ar=new RegExp("^"+J+"*([>+~]|"+J+")"+J+"*"),ll=new RegExp(J+"|>"),$n=new RegExp(Ui),lr=new RegExp("^"+Bn+"$"),Un={ID:new RegExp("^#("+Bn+")"),CLASS:new RegExp("^\\.("+Bn+")"),TAG:new RegExp("^("+Bn+"|[*])"),ATTR:new RegExp("^"+Fe),PSEUDO:new RegExp("^"+Ui),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),bool:new RegExp("^(?:"+jn+")$","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},yi=/^(?:input|select|textarea|button)$/i,vi=/^h\d$/i,wn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,cl=/[+~]/,ei=new RegExp("\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\([^\\r\\n\\f])","g"),ti=function(C,I){var L="0x"+C.slice(1)-65536;return I||(L<0?String.fromCharCode(L+65536):String.fromCharCode(L>>10|55296,L&1023|56320))},ny=function(){bi()},iy=oo(function(C){return C.disabled===!0&&D(C,"fieldset")},{dir:"parentNode",next:"legend"});function sy(){try{return b.activeElement}catch{}}try{v.apply(i=r.call(Se.childNodes),Se.childNodes),i[Se.childNodes.length].nodeType}catch{v={apply:function(I,L){ye.apply(I,r.call(L))},call:function(I){ye.apply(I,r.call(arguments,1))}}}function Qe(C,I,L,F){var K,oe,he,be,de,Le,Re,Oe=I&&I.ownerDocument,He=I?I.nodeType:9;if(L=L||[],typeof C!="string"||!C||He!==1&&He!==9&&He!==11)return L;if(!F&&(bi(I),I=I||b,E)){if(He!==11&&(de=wn.exec(C)))if(K=de[1]){if(He===9)if(he=I.getElementById(K)){if(he.id===K)return v.call(L,he),L}else return L;else if(Oe&&(he=Oe.getElementById(K))&&Qe.contains(I,he)&&he.id===K)return v.call(L,he),L}else{if(de[2])return v.apply(L,I.getElementsByTagName(C)),L;if((K=de[3])&&I.getElementsByClassName)return v.apply(L,I.getElementsByClassName(K)),L}if(!xt[C+" "]&&(!k||!k.test(C))){if(Re=C,Oe=I,He===1&&(ll.test(C)||ar.test(C))){for(Oe=cl.test(C)&&ul(I.parentNode)||I,(Oe!=I||!S.scope)&&((be=I.getAttribute("id"))?be=h.escapeSelector(be):I.setAttribute("id",be=X)),Le=cr(C),oe=Le.length;oe--;)Le[oe]=(be?"#"+be:":scope")+" "+ro(Le[oe]);Re=Le.join(",")}try{return v.apply(L,Oe.querySelectorAll(Re)),L}catch{xt(C,!0)}finally{be===X&&I.removeAttribute("id")}}}return sf(C.replace(we,"$1"),I,L,F)}function so(){var C=[];function I(L,F){return C.push(L+" ")>l.cacheLength&&delete I[C.shift()],I[L+" "]=F}return I}function Mn(C){return C[X]=!0,C}function ws(C){var I=b.createElement("fieldset");try{return!!C(I)}catch{return!1}finally{I.parentNode&&I.parentNode.removeChild(I),I=null}}function ry(C){return function(I){return D(I,"input")&&I.type===C}}function oy(C){return function(I){return(D(I,"input")||D(I,"button"))&&I.type===C}}function tf(C){return function(I){return"form"in I?I.parentNode&&I.disabled===!1?"label"in I?"label"in I.parentNode?I.parentNode.disabled===C:I.disabled===C:I.isDisabled===C||I.isDisabled!==!C&&iy(I)===C:I.disabled===C:"label"in I?I.disabled===C:!1}}function Wi(C){return Mn(function(I){return I=+I,Mn(function(L,F){for(var K,oe=C([],L.length,I),he=oe.length;he--;)L[K=oe[he]]&&(L[K]=!(F[K]=L[K]))})})}function ul(C){return C&&typeof C.getElementsByTagName<"u"&&C}function bi(C){var I,L=C?C.ownerDocument||C:Se;return L==b||L.nodeType!==9||!L.documentElement||(b=L,A=b.documentElement,E=!h.isXMLDoc(b),B=A.matches||A.webkitMatchesSelector||A.msMatchesSelector,A.msMatchesSelector&&Se!=b&&(I=b.defaultView)&&I.top!==I&&I.addEventListener("unload",ny),S.getById=ws(function(F){return A.appendChild(F).id=h.expando,!b.getElementsByName||!b.getElementsByName(h.expando).length}),S.disconnectedMatch=ws(function(F){return B.call(F,"*")}),S.scope=ws(function(){return b.querySelectorAll(":scope")}),S.cssHas=ws(function(){try{return b.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(l.filter.ID=function(F){var K=F.replace(ei,ti);return function(oe){return oe.getAttribute("id")===K}},l.find.ID=function(F,K){if(typeof K.getElementById<"u"&&E){var oe=K.getElementById(F);return oe?[oe]:[]}}):(l.filter.ID=function(F){var K=F.replace(ei,ti);return function(oe){var he=typeof oe.getAttributeNode<"u"&&oe.getAttributeNode("id");return he&&he.value===K}},l.find.ID=function(F,K){if(typeof K.getElementById<"u"&&E){var oe,he,be,de=K.getElementById(F);if(de){if(oe=de.getAttributeNode("id"),oe&&oe.value===F)return[de];for(be=K.getElementsByName(F),he=0;de=be[he++];)if(oe=de.getAttributeNode("id"),oe&&oe.value===F)return[de]}return[]}}),l.find.TAG=function(F,K){return typeof K.getElementsByTagName<"u"?K.getElementsByTagName(F):K.querySelectorAll(F)},l.find.CLASS=function(F,K){if(typeof K.getElementsByClassName<"u"&&E)return K.getElementsByClassName(F)},k=[],ws(function(F){var K;A.appendChild(F).innerHTML="<a id='"+X+"' href='' disabled='disabled'></a><select id='"+X+"-\r\\' disabled='disabled'><option selected=''></option></select>",F.querySelectorAll("[selected]").length||k.push("\\["+J+"*(?:value|"+jn+")"),F.querySelectorAll("[id~="+X+"-]").length||k.push("~="),F.querySelectorAll("a#"+X+"+*").length||k.push(".#.+[+~]"),F.querySelectorAll(":checked").length||k.push(":checked"),K=b.createElement("input"),K.setAttribute("type","hidden"),F.appendChild(K).setAttribute("name","D"),A.appendChild(F).disabled=!0,F.querySelectorAll(":disabled").length!==2&&k.push(":enabled",":disabled"),K=b.createElement("input"),K.setAttribute("name",""),F.appendChild(K),F.querySelectorAll("[name='']").length||k.push("\\["+J+"*name"+J+"*="+J+`*(?:''|"")`)}),S.cssHas||k.push(":has"),k=k.length&&new RegExp(k.join("|")),yt=function(F,K){if(F===K)return y=!0,0;var oe=!F.compareDocumentPosition-!K.compareDocumentPosition;return oe||(oe=(F.ownerDocument||F)==(K.ownerDocument||K)?F.compareDocumentPosition(K):1,oe&1||!S.sortDetached&&K.compareDocumentPosition(F)===oe?F===b||F.ownerDocument==Se&&Qe.contains(Se,F)?-1:K===b||K.ownerDocument==Se&&Qe.contains(Se,K)?1:d?u.call(d,F)-u.call(d,K):0:oe&4?-1:1)}),b}Qe.matches=function(C,I){return Qe(C,null,null,I)},Qe.matchesSelector=function(C,I){if(bi(C),E&&!xt[I+" "]&&(!k||!k.test(I)))try{var L=B.call(C,I);if(L||S.disconnectedMatch||C.document&&C.document.nodeType!==11)return L}catch{xt(I,!0)}return Qe(I,b,null,[C]).length>0},Qe.contains=function(C,I){return(C.ownerDocument||C)!=b&&bi(C),h.contains(C,I)},Qe.attr=function(C,I){(C.ownerDocument||C)!=b&&bi(C);var L=l.attrHandle[I.toLowerCase()],F=L&&m.call(l.attrHandle,I.toLowerCase())?L(C,I,!E):void 0;return F!==void 0?F:C.getAttribute(I)},Qe.error=function(C){throw new Error("Syntax error, unrecognized expression: "+C)},h.uniqueSort=function(C){var I,L=[],F=0,K=0;if(y=!S.sortStable,d=!S.sortStable&&r.call(C,0),re.call(C,yt),y){for(;I=C[K++];)I===C[K]&&(F=L.push(K));for(;F--;)V.call(C,L[F],1)}return d=null,C},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(r.apply(this)))},l=h.expr={cacheLength:50,createPseudo:Mn,match:Un,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(C){return C[1]=C[1].replace(ei,ti),C[3]=(C[3]||C[4]||C[5]||"").replace(ei,ti),C[2]==="~="&&(C[3]=" "+C[3]+" "),C.slice(0,4)},CHILD:function(C){return C[1]=C[1].toLowerCase(),C[1].slice(0,3)==="nth"?(C[3]||Qe.error(C[0]),C[4]=+(C[4]?C[5]+(C[6]||1):2*(C[3]==="even"||C[3]==="odd")),C[5]=+(C[7]+C[8]||C[3]==="odd")):C[3]&&Qe.error(C[0]),C},PSEUDO:function(C){var I,L=!C[6]&&C[2];return Un.CHILD.test(C[0])?null:(C[3]?C[2]=C[4]||C[5]||"":L&&$n.test(L)&&(I=cr(L,!0))&&(I=L.indexOf(")",L.length-I)-L.length)&&(C[0]=C[0].slice(0,I),C[2]=L.slice(0,I)),C.slice(0,3))}},filter:{TAG:function(C){var I=C.replace(ei,ti).toLowerCase();return C==="*"?function(){return!0}:function(L){return D(L,I)}},CLASS:function(C){var I=Ie[C+" "];return I||(I=new RegExp("(^|"+J+")"+C+"("+J+"|$)"))&&Ie(C,function(L){return I.test(typeof L.className=="string"&&L.className||typeof L.getAttribute<"u"&&L.getAttribute("class")||"")})},ATTR:function(C,I,L){return function(F){var K=Qe.attr(F,C);return K==null?I==="!=":I?(K+="",I==="="?K===L:I==="!="?K!==L:I==="^="?L&&K.indexOf(L)===0:I==="*="?L&&K.indexOf(L)>-1:I==="$="?L&&K.slice(-L.length)===L:I==="~="?(" "+K.replace(qe," ")+" ").indexOf(L)>-1:I==="|="?K===L||K.slice(0,L.length+1)===L+"-":!1):!0}},CHILD:function(C,I,L,F,K){var oe=C.slice(0,3)!=="nth",he=C.slice(-4)!=="last",be=I==="of-type";return F===1&&K===0?function(de){return!!de.parentNode}:function(de,Le,Re){var Oe,He,Ce,st,Qt,Mt=oe!==he?"nextSibling":"previousSibling",Sn=de.parentNode,Wn=be&&de.nodeName.toLowerCase(),Ss=!Re&&!be,Ut=!1;if(Sn){if(oe){for(;Mt;){for(Ce=de;Ce=Ce[Mt];)if(be?D(Ce,Wn):Ce.nodeType===1)return!1;Qt=Mt=C==="only"&&!Qt&&"nextSibling"}return!0}if(Qt=[he?Sn.firstChild:Sn.lastChild],he&&Ss){for(He=Sn[X]||(Sn[X]={}),Oe=He[C]||[],st=Oe[0]===H&&Oe[1],Ut=st&&Oe[2],Ce=st&&Sn.childNodes[st];Ce=++st&&Ce&&Ce[Mt]||(Ut=st=0)||Qt.pop();)if(Ce.nodeType===1&&++Ut&&Ce===de){He[C]=[H,st,Ut];break}}else if(Ss&&(He=de[X]||(de[X]={}),Oe=He[C]||[],st=Oe[0]===H&&Oe[1],Ut=st),Ut===!1)for(;(Ce=++st&&Ce&&Ce[Mt]||(Ut=st=0)||Qt.pop())&&!((be?D(Ce,Wn):Ce.nodeType===1)&&++Ut&&(Ss&&(He=Ce[X]||(Ce[X]={}),He[C]=[H,Ut]),Ce===de)););return Ut-=K,Ut===F||Ut%F===0&&Ut/F>=0}}},PSEUDO:function(C,I){var L,F=l.pseudos[C]||l.setFilters[C.toLowerCase()]||Qe.error("unsupported pseudo: "+C);return F[X]?F(I):F.length>1?(L=[C,C,"",I],l.setFilters.hasOwnProperty(C.toLowerCase())?Mn(function(K,oe){for(var he,be=F(K,I),de=be.length;de--;)he=u.call(K,be[de]),K[he]=!(oe[he]=be[de])}):function(K){return F(K,0,L)}):F}},pseudos:{not:Mn(function(C){var I=[],L=[],F=pl(C.replace(we,"$1"));return F[X]?Mn(function(K,oe,he,be){for(var de,Le=F(K,null,be,[]),Re=K.length;Re--;)(de=Le[Re])&&(K[Re]=!(oe[Re]=de))}):function(K,oe,he){return I[0]=K,F(I,null,he,L),I[0]=null,!L.pop()}}),has:Mn(function(C){return function(I){return Qe(C,I).length>0}}),contains:Mn(function(C){return C=C.replace(ei,ti),function(I){return(I.textContent||h.text(I)).indexOf(C)>-1}}),lang:Mn(function(C){return lr.test(C||"")||Qe.error("unsupported lang: "+C),C=C.replace(ei,ti).toLowerCase(),function(I){var L;do if(L=E?I.lang:I.getAttribute("xml:lang")||I.getAttribute("lang"))return L=L.toLowerCase(),L===C||L.indexOf(C+"-")===0;while((I=I.parentNode)&&I.nodeType===1);return!1}}),target:function(C){var I=t.location&&t.location.hash;return I&&I.slice(1)===C.id},root:function(C){return C===A},focus:function(C){return C===sy()&&b.hasFocus()&&!!(C.type||C.href||~C.tabIndex)},enabled:tf(!1),disabled:tf(!0),checked:function(C){return D(C,"input")&&!!C.checked||D(C,"option")&&!!C.selected},selected:function(C){return C.parentNode&&C.parentNode.selectedIndex,C.selected===!0},empty:function(C){for(C=C.firstChild;C;C=C.nextSibling)if(C.nodeType<6)return!1;return!0},parent:function(C){return!l.pseudos.empty(C)},header:function(C){return vi.test(C.nodeName)},input:function(C){return yi.test(C.nodeName)},button:function(C){return D(C,"input")&&C.type==="button"||D(C,"button")},text:function(C){var I;return D(C,"input")&&C.type==="text"&&((I=C.getAttribute("type"))==null||I.toLowerCase()==="text")},first:Wi(function(){return[0]}),last:Wi(function(C,I){return[I-1]}),eq:Wi(function(C,I,L){return[L<0?L+I:L]}),even:Wi(function(C,I){for(var L=0;L<I;L+=2)C.push(L);return C}),odd:Wi(function(C,I){for(var L=1;L<I;L+=2)C.push(L);return C}),lt:Wi(function(C,I,L){var F;for(L<0?F=L+I:L>I?F=I:F=L;--F>=0;)C.push(F);return C}),gt:Wi(function(C,I,L){for(var F=L<0?L+I:L;++F<I;)C.push(F);return C})}},l.pseudos.nth=l.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[o]=ry(o);for(o in{submit:!0,reset:!0})l.pseudos[o]=oy(o);function nf(){}nf.prototype=l.filters=l.pseudos,l.setFilters=new nf;function cr(C,I){var L,F,K,oe,he,be,de,Le=$e[C+" "];if(Le)return I?0:Le.slice(0);for(he=C,be=[],de=l.preFilter;he;){(!L||(F=ut.exec(he)))&&(F&&(he=he.slice(F[0].length)||he),be.push(K=[])),L=!1,(F=ar.exec(he))&&(L=F.shift(),K.push({value:L,type:F[0].replace(we," ")}),he=he.slice(L.length));for(oe in l.filter)(F=Un[oe].exec(he))&&(!de[oe]||(F=de[oe](F)))&&(L=F.shift(),K.push({value:L,type:oe,matches:F}),he=he.slice(L.length));if(!L)break}return I?he.length:he?Qe.error(C):$e(C,be).slice(0)}function ro(C){for(var I=0,L=C.length,F="";I<L;I++)F+=C[I].value;return F}function oo(C,I,L){var F=I.dir,K=I.next,oe=K||F,he=L&&oe==="parentNode",be=se++;return I.first?function(de,Le,Re){for(;de=de[F];)if(de.nodeType===1||he)return C(de,Le,Re);return!1}:function(de,Le,Re){var Oe,He,Ce=[H,be];if(Re){for(;de=de[F];)if((de.nodeType===1||he)&&C(de,Le,Re))return!0}else for(;de=de[F];)if(de.nodeType===1||he)if(He=de[X]||(de[X]={}),K&&D(de,K))de=de[F]||de;else{if((Oe=He[oe])&&Oe[0]===H&&Oe[1]===be)return Ce[2]=Oe[2];if(He[oe]=Ce,Ce[2]=C(de,Le,Re))return!0}return!1}}function fl(C){return C.length>1?function(I,L,F){for(var K=C.length;K--;)if(!C[K](I,L,F))return!1;return!0}:C[0]}function ay(C,I,L){for(var F=0,K=I.length;F<K;F++)Qe(C,I[F],L);return L}function ao(C,I,L,F,K){for(var oe,he=[],be=0,de=C.length,Le=I!=null;be<de;be++)(oe=C[be])&&(!L||L(oe,F,K))&&(he.push(oe),Le&&I.push(be));return he}function hl(C,I,L,F,K,oe){return F&&!F[X]&&(F=hl(F)),K&&!K[X]&&(K=hl(K,oe)),Mn(function(he,be,de,Le){var Re,Oe,He,Ce,st=[],Qt=[],Mt=be.length,Sn=he||ay(I||"*",de.nodeType?[de]:de,[]),Wn=C&&(he||!I)?ao(Sn,st,C,de,Le):Sn;if(L?(Ce=K||(he?C:Mt||F)?[]:be,L(Wn,Ce,de,Le)):Ce=Wn,F)for(Re=ao(Ce,Qt),F(Re,[],de,Le),Oe=Re.length;Oe--;)(He=Re[Oe])&&(Ce[Qt[Oe]]=!(Wn[Qt[Oe]]=He));if(he){if(K||C){if(K){for(Re=[],Oe=Ce.length;Oe--;)(He=Ce[Oe])&&Re.push(Wn[Oe]=He);K(null,Ce=[],Re,Le)}for(Oe=Ce.length;Oe--;)(He=Ce[Oe])&&(Re=K?u.call(he,He):st[Oe])>-1&&(he[Re]=!(be[Re]=He))}}else Ce=ao(Ce===be?Ce.splice(Mt,Ce.length):Ce),K?K(null,be,Ce,Le):v.apply(be,Ce)})}function dl(C){for(var I,L,F,K=C.length,oe=l.relative[C[0].type],he=oe||l.relative[" "],be=oe?1:0,de=oo(function(Oe){return Oe===I},he,!0),Le=oo(function(Oe){return u.call(I,Oe)>-1},he,!0),Re=[function(Oe,He,Ce){var st=!oe&&(Ce||He!=f)||((I=He).nodeType?de(Oe,He,Ce):Le(Oe,He,Ce));return I=null,st}];be<K;be++)if(L=l.relative[C[be].type])Re=[oo(fl(Re),L)];else{if(L=l.filter[C[be].type].apply(null,C[be].matches),L[X]){for(F=++be;F<K&&!l.relative[C[F].type];F++);return hl(be>1&&fl(Re),be>1&&ro(C.slice(0,be-1).concat({value:C[be-2].type===" "?"*":""})).replace(we,"$1"),L,be<F&&dl(C.slice(be,F)),F<K&&dl(C=C.slice(F)),F<K&&ro(C))}Re.push(L)}return fl(Re)}function ly(C,I){var L=I.length>0,F=C.length>0,K=function(oe,he,be,de,Le){var Re,Oe,He,Ce=0,st="0",Qt=oe&&[],Mt=[],Sn=f,Wn=oe||F&&l.find.TAG("*",Le),Ss=H+=Sn==null?1:Math.random()||.1,Ut=Wn.length;for(Le&&(f=he==b||he||Le);st!==Ut&&(Re=Wn[st])!=null;st++){if(F&&Re){for(Oe=0,!he&&Re.ownerDocument!=b&&(bi(Re),be=!E);He=C[Oe++];)if(He(Re,he||b,be)){v.call(de,Re);break}Le&&(H=Ss)}L&&((Re=!He&&Re)&&Ce--,oe&&Qt.push(Re))}if(Ce+=st,L&&st!==Ce){for(Oe=0;He=I[Oe++];)He(Qt,Mt,he,be);if(oe){if(Ce>0)for(;st--;)Qt[st]||Mt[st]||(Mt[st]=q.call(de));Mt=ao(Mt)}v.apply(de,Mt),Le&&!oe&&Mt.length>0&&Ce+I.length>1&&h.uniqueSort(de)}return Le&&(H=Ss,f=Sn),Qt};return L?Mn(K):K}function pl(C,I){var L,F=[],K=[],oe=Pe[C+" "];if(!oe){for(I||(I=cr(C)),L=I.length;L--;)oe=dl(I[L]),oe[X]?F.push(oe):K.push(oe);oe=Pe(C,ly(K,F)),oe.selector=C}return oe}function sf(C,I,L,F){var K,oe,he,be,de,Le=typeof C=="function"&&C,Re=!F&&cr(C=Le.selector||C);if(L=L||[],Re.length===1){if(oe=Re[0]=Re[0].slice(0),oe.length>2&&(he=oe[0]).type==="ID"&&I.nodeType===9&&E&&l.relative[oe[1].type]){if(I=(l.find.ID(he.matches[0].replace(ei,ti),I)||[])[0],I)Le&&(I=I.parentNode);else return L;C=C.slice(oe.shift().value.length)}for(K=Un.needsContext.test(C)?0:oe.length;K--&&(he=oe[K],!l.relative[be=he.type]);)if((de=l.find[be])&&(F=de(he.matches[0].replace(ei,ti),cl.test(oe[0].type)&&ul(I.parentNode)||I))){if(oe.splice(K,1),C=F.length&&ro(oe),!C)return v.apply(L,F),L;break}}return(Le||pl(C,Re))(F,I,!E,L,!I||cl.test(C)&&ul(I.parentNode)||I),L}S.sortStable=X.split("").sort(yt).join("")===X,bi(),S.sortDetached=ws(function(C){return C.compareDocumentPosition(b.createElement("fieldset"))&1}),h.find=Qe,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,Qe.compile=pl,Qe.select=sf,Qe.setDocument=bi,Qe.tokenize=cr,Qe.escape=h.escapeSelector,Qe.getText=h.text,Qe.isXML=h.isXMLDoc,Qe.selectors=h.expr,Qe.support=h.support,Qe.uniqueSort=h.uniqueSort})();var nt=function(o,l,f){for(var d=[],y=f!==void 0;(o=o[l])&&o.nodeType!==9;)if(o.nodeType===1){if(y&&h(o).is(f))break;d.push(o)}return d},un=function(o,l){for(var f=[];o;o=o.nextSibling)o.nodeType===1&&o!==l&&f.push(o);return f},Yt=h.expr.match.needsContext,fn=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ds(o,l,f){return T(l)?h.grep(o,function(d,y){return!!l.call(d,y,d)!==f}):l.nodeType?h.grep(o,function(d){return d===l!==f}):typeof l!="string"?h.grep(o,function(d){return u.call(l,d)>-1!==f}):h.filter(l,o,f)}h.filter=function(o,l,f){var d=l[0];return f&&(o=":not("+o+")"),l.length===1&&d.nodeType===1?h.find.matchesSelector(d,o)?[d]:[]:h.find.matches(o,h.grep(l,function(y){return y.nodeType===1}))},h.fn.extend({find:function(o){var l,f,d=this.length,y=this;if(typeof o!="string")return this.pushStack(h(o).filter(function(){for(l=0;l<d;l++)if(h.contains(y[l],this))return!0}));for(f=this.pushStack([]),l=0;l<d;l++)h.find(o,y[l],f);return d>1?h.uniqueSort(f):f},filter:function(o){return this.pushStack(ds(this,o||[],!1))},not:function(o){return this.pushStack(ds(this,o||[],!0))},is:function(o){return!!ds(this,typeof o=="string"&&Yt.test(o)?h(o):o||[],!1).length}});var Zr,Ka=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ji=h.fn.init=function(o,l,f){var d,y;if(!o)return this;if(f=f||Zr,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?d=[null,o,null]:d=Ka.exec(o),d&&(d[1]||!l))if(d[1]){if(l=l instanceof h?l[0]:l,h.merge(this,h.parseHTML(d[1],l&&l.nodeType?l.ownerDocument||l:M,!0)),fn.test(d[1])&&h.isPlainObject(l))for(d in l)T(this[d])?this[d](l[d]):this.attr(d,l[d]);return this}else return y=M.getElementById(d[2]),y&&(this[0]=y,this.length=1),this;else return!l||l.jquery?(l||f).find(o):this.constructor(l).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(T(o))return f.ready!==void 0?f.ready(o):o(h)}return h.makeArray(o,this)};ji.prototype=h.fn,Zr=h(M);var ps=/^(?:parents|prev(?:Until|All))/,Qs={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(o){var l=h(o,this),f=l.length;return this.filter(function(){for(var d=0;d<f;d++)if(h.contains(this,l[d]))return!0})},closest:function(o,l){var f,d=0,y=this.length,v=[],b=typeof o!="string"&&h(o);if(!Yt.test(o)){for(;d<y;d++)for(f=this[d];f&&f!==l;f=f.parentNode)if(f.nodeType<11&&(b?b.index(f)>-1:f.nodeType===1&&h.find.matchesSelector(f,o))){v.push(f);break}}return this.pushStack(v.length>1?h.uniqueSort(v):v)},index:function(o){return o?typeof o=="string"?u.call(h(o),this[0]):u.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,l){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(o,l))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function Zs(o,l){for(;(o=o[l])&&o.nodeType!==1;);return o}h.each({parent:function(o){var l=o.parentNode;return l&&l.nodeType!==11?l:null},parents:function(o){return nt(o,"parentNode")},parentsUntil:function(o,l,f){return nt(o,"parentNode",f)},next:function(o){return Zs(o,"nextSibling")},prev:function(o){return Zs(o,"previousSibling")},nextAll:function(o){return nt(o,"nextSibling")},prevAll:function(o){return nt(o,"previousSibling")},nextUntil:function(o,l,f){return nt(o,"nextSibling",f)},prevUntil:function(o,l,f){return nt(o,"previousSibling",f)},siblings:function(o){return un((o.parentNode||{}).firstChild,o)},children:function(o){return un(o.firstChild)},contents:function(o){return o.contentDocument!=null&&s(o.contentDocument)?o.contentDocument:(D(o,"template")&&(o=o.content||o),h.merge([],o.childNodes))}},function(o,l){h.fn[o]=function(f,d){var y=h.map(this,l,f);return o.slice(-5)!=="Until"&&(d=f),d&&typeof d=="string"&&(y=h.filter(d,y)),this.length>1&&(Qs[o]||h.uniqueSort(y),ps.test(o)&&y.reverse()),this.pushStack(y)}});var Et=/[^\x20\t\r\n\f]+/g;function er(o){var l={};return h.each(o.match(Et)||[],function(f,d){l[d]=!0}),l}h.Callbacks=function(o){o=typeof o=="string"?er(o):h.extend({},o);var l,f,d,y,v=[],b=[],A=-1,E=function(){for(y=y||o.once,d=l=!0;b.length;A=-1)for(f=b.shift();++A<v.length;)v[A].apply(f[0],f[1])===!1&&o.stopOnFalse&&(A=v.length,f=!1);o.memory||(f=!1),l=!1,y&&(f?v=[]:v="")},k={add:function(){return v&&(f&&!l&&(A=v.length-1,b.push(f)),function B(X){h.each(X,function(H,se){T(se)?(!o.unique||!k.has(se))&&v.push(se):se&&se.length&&N(se)!=="string"&&B(se)})}(arguments),f&&!l&&E()),this},remove:function(){return h.each(arguments,function(B,X){for(var H;(H=h.inArray(X,v,H))>-1;)v.splice(H,1),H<=A&&A--}),this},has:function(B){return B?h.inArray(B,v)>-1:v.length>0},empty:function(){return v&&(v=[]),this},disable:function(){return y=b=[],v=f="",this},disabled:function(){return!v},lock:function(){return y=b=[],!f&&!l&&(v=f=""),this},locked:function(){return!!y},fireWith:function(B,X){return y||(X=X||[],X=[B,X.slice?X.slice():X],b.push(X),l||E()),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k};function Fn(o){return o}function x(o){throw o}function O(o,l,f,d){var y;try{o&&T(y=o.promise)?y.call(o).done(l).fail(f):o&&T(y=o.then)?y.call(o,l,f):l.apply(void 0,[o].slice(d))}catch(v){f.apply(void 0,[v])}}h.extend({Deferred:function(o){var l=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],f="pending",d={state:function(){return f},always:function(){return y.done(arguments).fail(arguments),this},catch:function(v){return d.then(null,v)},pipe:function(){var v=arguments;return h.Deferred(function(b){h.each(l,function(A,E){var k=T(v[E[4]])&&v[E[4]];y[E[1]](function(){var B=k&&k.apply(this,arguments);B&&T(B.promise)?B.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[E[0]+"With"](this,k?[B]:arguments)})}),v=null}).promise()},then:function(v,b,A){var E=0;function k(B,X,H,se){return function(){var Ie=this,$e=arguments,Pe=function(){var yt,jn;if(!(B<E)){if(yt=H.apply(Ie,$e),yt===X.promise())throw new TypeError("Thenable self-resolution");jn=yt&&(typeof yt=="object"||typeof yt=="function")&&yt.then,T(jn)?se?jn.call(yt,k(E,X,Fn,se),k(E,X,x,se)):(E++,jn.call(yt,k(E,X,Fn,se),k(E,X,x,se),k(E,X,Fn,X.notifyWith))):(H!==Fn&&(Ie=void 0,$e=[yt]),(se||X.resolveWith)(Ie,$e))}},xt=se?Pe:function(){try{Pe()}catch(yt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(yt,xt.error),B+1>=E&&(H!==x&&(Ie=void 0,$e=[yt]),X.rejectWith(Ie,$e))}};B?xt():(h.Deferred.getErrorHook?xt.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(xt.error=h.Deferred.getStackHook()),t.setTimeout(xt))}}return h.Deferred(function(B){l[0][3].add(k(0,B,T(A)?A:Fn,B.notifyWith)),l[1][3].add(k(0,B,T(v)?v:Fn)),l[2][3].add(k(0,B,T(b)?b:x))}).promise()},promise:function(v){return v!=null?h.extend(v,d):d}},y={};return h.each(l,function(v,b){var A=b[2],E=b[5];d[b[1]]=A.add,E&&A.add(function(){f=E},l[3-v][2].disable,l[3-v][3].disable,l[0][2].lock,l[0][3].lock),A.add(b[3].fire),y[b[0]]=function(){return y[b[0]+"With"](this===y?void 0:this,arguments),this},y[b[0]+"With"]=A.fireWith}),d.promise(y),o&&o.call(y,y),y},when:function(o){var l=arguments.length,f=l,d=Array(f),y=r.call(arguments),v=h.Deferred(),b=function(A){return function(E){d[A]=this,y[A]=arguments.length>1?r.call(arguments):E,--l||v.resolveWith(d,y)}};if(l<=1&&(O(o,v.done(b(f)).resolve,v.reject,!l),v.state()==="pending"||T(y[f]&&y[f].then)))return v.then();for(;f--;)O(y[f],b(f),v.reject);return v.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(o,l){t.console&&t.console.warn&&o&&W.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,l)},h.readyException=function(o){t.setTimeout(function(){throw o})};var ie=h.Deferred();h.fn.ready=function(o){return ie.then(o).catch(function(l){h.readyException(l)}),this},h.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(o!==!0&&--h.readyWait>0)&&ie.resolveWith(M,[h]))}}),h.ready.then=ie.then;function Q(){M.removeEventListener("DOMContentLoaded",Q),t.removeEventListener("load",Q),h.ready()}M.readyState==="complete"||M.readyState!=="loading"&&!M.documentElement.doScroll?t.setTimeout(h.ready):(M.addEventListener("DOMContentLoaded",Q),t.addEventListener("load",Q));var Z=function(o,l,f,d,y,v,b){var A=0,E=o.length,k=f==null;if(N(f)==="object"){y=!0;for(A in f)Z(o,l,A,f[A],!0,v,b)}else if(d!==void 0&&(y=!0,T(d)||(b=!0),k&&(b?(l.call(o,d),l=null):(k=l,l=function(B,X,H){return k.call(h(B),H)})),l))for(;A<E;A++)l(o[A],f,b?d:d.call(o[A],A,l(o[A],f)));return y?o:k?l.call(o):E?l(o[0],f):v},ue=/^-ms-/,ce=/-([a-z])/g;function ae(o,l){return l.toUpperCase()}function ee(o){return o.replace(ue,"ms-").replace(ce,ae)}var _e=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function fe(){this.expando=h.expando+fe.uid++}fe.uid=1,fe.prototype={cache:function(o){var l=o[this.expando];return l||(l={},_e(o)&&(o.nodeType?o[this.expando]=l:Object.defineProperty(o,this.expando,{value:l,configurable:!0}))),l},set:function(o,l,f){var d,y=this.cache(o);if(typeof l=="string")y[ee(l)]=f;else for(d in l)y[ee(d)]=l[d];return y},get:function(o,l){return l===void 0?this.cache(o):o[this.expando]&&o[this.expando][ee(l)]},access:function(o,l,f){return l===void 0||l&&typeof l=="string"&&f===void 0?this.get(o,l):(this.set(o,l,f),f!==void 0?f:l)},remove:function(o,l){var f,d=o[this.expando];if(d!==void 0){if(l!==void 0)for(Array.isArray(l)?l=l.map(ee):(l=ee(l),l=l in d?[l]:l.match(Et)||[]),f=l.length;f--;)delete d[l[f]];(l===void 0||h.isEmptyObject(d))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var l=o[this.expando];return l!==void 0&&!h.isEmptyObject(l)}};var Y=new fe,ve=new fe,ze=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function Ye(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:ze.test(o)?JSON.parse(o):o}function Nt(o,l,f){var d;if(f===void 0&&o.nodeType===1)if(d="data-"+l.replace(et,"-$&").toLowerCase(),f=o.getAttribute(d),typeof f=="string"){try{f=Ye(f)}catch{}ve.set(o,l,f)}else f=void 0;return f}h.extend({hasData:function(o){return ve.hasData(o)||Y.hasData(o)},data:function(o,l,f){return ve.access(o,l,f)},removeData:function(o,l){ve.remove(o,l)},_data:function(o,l,f){return Y.access(o,l,f)},_removeData:function(o,l){Y.remove(o,l)}}),h.fn.extend({data:function(o,l){var f,d,y,v=this[0],b=v&&v.attributes;if(o===void 0){if(this.length&&(y=ve.get(v),v.nodeType===1&&!Y.get(v,"hasDataAttrs"))){for(f=b.length;f--;)b[f]&&(d=b[f].name,d.indexOf("data-")===0&&(d=ee(d.slice(5)),Nt(v,d,y[d])));Y.set(v,"hasDataAttrs",!0)}return y}return typeof o=="object"?this.each(function(){ve.set(this,o)}):Z(this,function(A){var E;if(v&&A===void 0)return E=ve.get(v,o),E!==void 0||(E=Nt(v,o),E!==void 0)?E:void 0;this.each(function(){ve.set(this,o,A)})},null,l,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){ve.remove(this,o)})}}),h.extend({queue:function(o,l,f){var d;if(o)return l=(l||"fx")+"queue",d=Y.get(o,l),f&&(!d||Array.isArray(f)?d=Y.access(o,l,h.makeArray(f)):d.push(f)),d||[]},dequeue:function(o,l){l=l||"fx";var f=h.queue(o,l),d=f.length,y=f.shift(),v=h._queueHooks(o,l),b=function(){h.dequeue(o,l)};y==="inprogress"&&(y=f.shift(),d--),y&&(l==="fx"&&f.unshift("inprogress"),delete v.stop,y.call(o,b,v)),!d&&v&&v.empty.fire()},_queueHooks:function(o,l){var f=l+"queueHooks";return Y.get(o,f)||Y.access(o,f,{empty:h.Callbacks("once memory").add(function(){Y.remove(o,[l+"queue",f])})})}}),h.fn.extend({queue:function(o,l){var f=2;return typeof o!="string"&&(l=o,o="fx",f--),arguments.length<f?h.queue(this[0],o):l===void 0?this:this.each(function(){var d=h.queue(this,o,l);h._queueHooks(this,o),o==="fx"&&d[0]!=="inprogress"&&h.dequeue(this,o)})},dequeue:function(o){return this.each(function(){h.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,l){var f,d=1,y=h.Deferred(),v=this,b=this.length,A=function(){--d||y.resolveWith(v,[v])};for(typeof o!="string"&&(l=o,o=void 0),o=o||"fx";b--;)f=Y.get(v[b],o+"queueHooks"),f&&f.empty&&(d++,f.empty.add(A));return A(),y.promise(l)}});var mt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,At=new RegExp("^(?:([+-])=|)("+mt+")([a-z%]*)$","i"),ct=["Top","Right","Bottom","Left"],hn=M.documentElement,Zn=function(o){return h.contains(o.ownerDocument,o)},Bt={composed:!0};hn.getRootNode&&(Zn=function(o){return h.contains(o.ownerDocument,o)||o.getRootNode(Bt)===o.ownerDocument});var $t=function(o,l){return o=l||o,o.style.display==="none"||o.style.display===""&&Zn(o)&&h.css(o,"display")==="none"};function tr(o,l,f,d){var y,v,b=20,A=d?function(){return d.cur()}:function(){return h.css(o,l,"")},E=A(),k=f&&f[3]||(h.cssNumber[l]?"":"px"),B=o.nodeType&&(h.cssNumber[l]||k!=="px"&&+E)&&At.exec(h.css(o,l));if(B&&B[3]!==k){for(E=E/2,k=k||B[3],B=+E||1;b--;)h.style(o,l,B+k),(1-v)*(1-(v=A()/E||.5))<=0&&(b=0),B=B/v;B=B*2,h.style(o,l,B+k),f=f||[]}return f&&(B=+B||+E||0,y=f[1]?B+(f[1]+1)*f[2]:+f[2],d&&(d.unit=k,d.start=B,d.end=y)),y}var xu={};function Sm(o){var l,f=o.ownerDocument,d=o.nodeName,y=xu[d];return y||(l=f.body.appendChild(f.createElement(d)),y=h.css(l,"display"),l.parentNode.removeChild(l),y==="none"&&(y="block"),xu[d]=y,y)}function gs(o,l){for(var f,d,y=[],v=0,b=o.length;v<b;v++)d=o[v],d.style&&(f=d.style.display,l?(f==="none"&&(y[v]=Y.get(d,"display")||null,y[v]||(d.style.display="")),d.style.display===""&&$t(d)&&(y[v]=Sm(d))):f!=="none"&&(y[v]="none",Y.set(d,"display",f)));for(v=0;v<b;v++)y[v]!=null&&(o[v].style.display=y[v]);return o}h.fn.extend({show:function(){return gs(this,!0)},hide:function(){return gs(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){$t(this)?h(this).show():h(this).hide()})}});var nr=/^(?:checkbox|radio)$/i,Ru=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Iu=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=M.createDocumentFragment(),l=o.appendChild(M.createElement("div")),f=M.createElement("input");f.setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),l.appendChild(f),S.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,l.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!l.cloneNode(!0).lastChild.defaultValue,l.innerHTML="<option></option>",S.option=!!l.lastChild})();var bn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};bn.tbody=bn.tfoot=bn.colgroup=bn.caption=bn.thead,bn.th=bn.td,S.option||(bn.optgroup=bn.option=[1,"<select multiple='multiple'>","</select>"]);function Gt(o,l){var f;return typeof o.getElementsByTagName<"u"?f=o.getElementsByTagName(l||"*"):typeof o.querySelectorAll<"u"?f=o.querySelectorAll(l||"*"):f=[],l===void 0||l&&D(o,l)?h.merge([o],f):f}function Xa(o,l){for(var f=0,d=o.length;f<d;f++)Y.set(o[f],"globalEval",!l||Y.get(l[f],"globalEval"))}var _m=/<|&#?\w+;/;function Ou(o,l,f,d,y){for(var v,b,A,E,k,B,X=l.createDocumentFragment(),H=[],se=0,Ie=o.length;se<Ie;se++)if(v=o[se],v||v===0)if(N(v)==="object")h.merge(H,v.nodeType?[v]:v);else if(!_m.test(v))H.push(l.createTextNode(v));else{for(b=b||X.appendChild(l.createElement("div")),A=(Ru.exec(v)||["",""])[1].toLowerCase(),E=bn[A]||bn._default,b.innerHTML=E[1]+h.htmlPrefilter(v)+E[2],B=E[0];B--;)b=b.lastChild;h.merge(H,b.childNodes),b=X.firstChild,b.textContent=""}for(X.textContent="",se=0;v=H[se++];){if(d&&h.inArray(v,d)>-1){y&&y.push(v);continue}if(k=Zn(v),b=Gt(X.appendChild(v),"script"),k&&Xa(b),f)for(B=0;v=b[B++];)Iu.test(v.type||"")&&f.push(v)}return X}var ku=/^([^.]*)(?:\.(.+)|)/;function ms(){return!0}function ys(){return!1}function Ya(o,l,f,d,y,v){var b,A;if(typeof l=="object"){typeof f!="string"&&(d=d||f,f=void 0);for(A in l)Ya(o,A,f,d,l[A],v);return o}if(d==null&&y==null?(y=f,d=f=void 0):y==null&&(typeof f=="string"?(y=d,d=void 0):(y=d,d=f,f=void 0)),y===!1)y=ys;else if(!y)return o;return v===1&&(b=y,y=function(E){return h().off(E),b.apply(this,arguments)},y.guid=b.guid||(b.guid=h.guid++)),o.each(function(){h.event.add(this,l,y,d,f)})}h.event={global:{},add:function(o,l,f,d,y){var v,b,A,E,k,B,X,H,se,Ie,$e,Pe=Y.get(o);if(_e(o))for(f.handler&&(v=f,f=v.handler,y=v.selector),y&&h.find.matchesSelector(hn,y),f.guid||(f.guid=h.guid++),(E=Pe.events)||(E=Pe.events=Object.create(null)),(b=Pe.handle)||(b=Pe.handle=function(xt){return typeof h<"u"&&h.event.triggered!==xt.type?h.event.dispatch.apply(o,arguments):void 0}),l=(l||"").match(Et)||[""],k=l.length;k--;)A=ku.exec(l[k])||[],se=$e=A[1],Ie=(A[2]||"").split(".").sort(),se&&(X=h.event.special[se]||{},se=(y?X.delegateType:X.bindType)||se,X=h.event.special[se]||{},B=h.extend({type:se,origType:$e,data:d,handler:f,guid:f.guid,selector:y,needsContext:y&&h.expr.match.needsContext.test(y),namespace:Ie.join(".")},v),(H=E[se])||(H=E[se]=[],H.delegateCount=0,(!X.setup||X.setup.call(o,d,Ie,b)===!1)&&o.addEventListener&&o.addEventListener(se,b)),X.add&&(X.add.call(o,B),B.handler.guid||(B.handler.guid=f.guid)),y?H.splice(H.delegateCount++,0,B):H.push(B),h.event.global[se]=!0)},remove:function(o,l,f,d,y){var v,b,A,E,k,B,X,H,se,Ie,$e,Pe=Y.hasData(o)&&Y.get(o);if(!(!Pe||!(E=Pe.events))){for(l=(l||"").match(Et)||[""],k=l.length;k--;){if(A=ku.exec(l[k])||[],se=$e=A[1],Ie=(A[2]||"").split(".").sort(),!se){for(se in E)h.event.remove(o,se+l[k],f,d,!0);continue}for(X=h.event.special[se]||{},se=(d?X.delegateType:X.bindType)||se,H=E[se]||[],A=A[2]&&new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=v=H.length;v--;)B=H[v],(y||$e===B.origType)&&(!f||f.guid===B.guid)&&(!A||A.test(B.namespace))&&(!d||d===B.selector||d==="**"&&B.selector)&&(H.splice(v,1),B.selector&&H.delegateCount--,X.remove&&X.remove.call(o,B));b&&!H.length&&((!X.teardown||X.teardown.call(o,Ie,Pe.handle)===!1)&&h.removeEvent(o,se,Pe.handle),delete E[se])}h.isEmptyObject(E)&&Y.remove(o,"handle events")}},dispatch:function(o){var l,f,d,y,v,b,A=new Array(arguments.length),E=h.event.fix(o),k=(Y.get(this,"events")||Object.create(null))[E.type]||[],B=h.event.special[E.type]||{};for(A[0]=E,l=1;l<arguments.length;l++)A[l]=arguments[l];if(E.delegateTarget=this,!(B.preDispatch&&B.preDispatch.call(this,E)===!1)){for(b=h.event.handlers.call(this,E,k),l=0;(y=b[l++])&&!E.isPropagationStopped();)for(E.currentTarget=y.elem,f=0;(v=y.handlers[f++])&&!E.isImmediatePropagationStopped();)(!E.rnamespace||v.namespace===!1||E.rnamespace.test(v.namespace))&&(E.handleObj=v,E.data=v.data,d=((h.event.special[v.origType]||{}).handle||v.handler).apply(y.elem,A),d!==void 0&&(E.result=d)===!1&&(E.preventDefault(),E.stopPropagation()));return B.postDispatch&&B.postDispatch.call(this,E),E.result}},handlers:function(o,l){var f,d,y,v,b,A=[],E=l.delegateCount,k=o.target;if(E&&k.nodeType&&!(o.type==="click"&&o.button>=1)){for(;k!==this;k=k.parentNode||this)if(k.nodeType===1&&!(o.type==="click"&&k.disabled===!0)){for(v=[],b={},f=0;f<E;f++)d=l[f],y=d.selector+" ",b[y]===void 0&&(b[y]=d.needsContext?h(y,this).index(k)>-1:h.find(y,this,null,[k]).length),b[y]&&v.push(d);v.length&&A.push({elem:k,handlers:v})}}return k=this,E<l.length&&A.push({elem:k,handlers:l.slice(E)}),A},addProp:function(o,l){Object.defineProperty(h.Event.prototype,o,{enumerable:!0,configurable:!0,get:T(l)?function(){if(this.originalEvent)return l(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(f){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:f})}})},fix:function(o){return o[h.expando]?o:new h.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var l=this||o;return nr.test(l.type)&&l.click&&D(l,"input")&&eo(l,"click",!0),!1},trigger:function(o){var l=this||o;return nr.test(l.type)&&l.click&&D(l,"input")&&eo(l,"click"),!0},_default:function(o){var l=o.target;return nr.test(l.type)&&l.click&&D(l,"input")&&Y.get(l,"click")||D(l,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function eo(o,l,f){if(!f){Y.get(o,l)===void 0&&h.event.add(o,l,ms);return}Y.set(o,l,!1),h.event.add(o,l,{namespace:!1,handler:function(d){var y,v=Y.get(this,l);if(d.isTrigger&1&&this[l]){if(v)(h.event.special[l]||{}).delegateType&&d.stopPropagation();else if(v=r.call(arguments),Y.set(this,l,v),this[l](),y=Y.get(this,l),Y.set(this,l,!1),v!==y)return d.stopImmediatePropagation(),d.preventDefault(),y}else v&&(Y.set(this,l,h.event.trigger(v[0],v.slice(1),this)),d.stopPropagation(),d.isImmediatePropagationStopped=ms)}})}h.removeEvent=function(o,l,f){o.removeEventListener&&o.removeEventListener(l,f)},h.Event=function(o,l){if(!(this instanceof h.Event))return new h.Event(o,l);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?ms:ys,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,l&&h.extend(this,l),this.timeStamp=o&&o.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:ys,isPropagationStopped:ys,isImmediatePropagationStopped:ys,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=ms,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=ms,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=ms,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},h.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(o,l){function f(d){if(M.documentMode){var y=Y.get(this,"handle"),v=h.event.fix(d);v.type=d.type==="focusin"?"focus":"blur",v.isSimulated=!0,y(d),v.target===v.currentTarget&&y(v)}else h.event.simulate(l,d.target,h.event.fix(d))}h.event.special[o]={setup:function(){var d;if(eo(this,o,!0),M.documentMode)d=Y.get(this,l),d||this.addEventListener(l,f),Y.set(this,l,(d||0)+1);else return!1},trigger:function(){return eo(this,o),!0},teardown:function(){var d;if(M.documentMode)d=Y.get(this,l)-1,d?Y.set(this,l,d):(this.removeEventListener(l,f),Y.remove(this,l));else return!1},_default:function(d){return Y.get(d.target,o)},delegateType:l},h.event.special[l]={setup:function(){var d=this.ownerDocument||this.document||this,y=M.documentMode?this:d,v=Y.get(y,l);v||(M.documentMode?this.addEventListener(l,f):d.addEventListener(o,f,!0)),Y.set(y,l,(v||0)+1)},teardown:function(){var d=this.ownerDocument||this.document||this,y=M.documentMode?this:d,v=Y.get(y,l)-1;v?Y.set(y,l,v):(M.documentMode?this.removeEventListener(l,f):d.removeEventListener(o,f,!0),Y.remove(y,l))}}}),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,l){h.event.special[o]={delegateType:l,bindType:l,handle:function(f){var d,y=this,v=f.relatedTarget,b=f.handleObj;return(!v||v!==y&&!h.contains(y,v))&&(f.type=b.origType,d=b.handler.apply(this,arguments),f.type=l),d}}}),h.fn.extend({on:function(o,l,f,d){return Ya(this,o,l,f,d)},one:function(o,l,f,d){return Ya(this,o,l,f,d,1)},off:function(o,l,f){var d,y;if(o&&o.preventDefault&&o.handleObj)return d=o.handleObj,h(o.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if(typeof o=="object"){for(y in o)this.off(y,l,o[y]);return this}return(l===!1||typeof l=="function")&&(f=l,l=void 0),f===!1&&(f=ys),this.each(function(){h.event.remove(this,o,f,l)})}});var Tm=/<script|<style|<link/i,Cm=/checked\s*(?:[^=]|=\s*.checked.)/i,Em=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Nu(o,l){return D(o,"table")&&D(l.nodeType!==11?l:l.firstChild,"tr")&&h(o).children("tbody")[0]||o}function Am(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function xm(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function Mu(o,l){var f,d,y,v,b,A,E;if(l.nodeType===1){if(Y.hasData(o)&&(v=Y.get(o),E=v.events,E)){Y.remove(l,"handle events");for(y in E)for(f=0,d=E[y].length;f<d;f++)h.event.add(l,y,E[y][f])}ve.hasData(o)&&(b=ve.access(o),A=h.extend({},b),ve.set(l,A))}}function Rm(o,l){var f=l.nodeName.toLowerCase();f==="input"&&nr.test(o.type)?l.checked=o.checked:(f==="input"||f==="textarea")&&(l.defaultValue=o.defaultValue)}function vs(o,l,f,d){l=a(l);var y,v,b,A,E,k,B=0,X=o.length,H=X-1,se=l[0],Ie=T(se);if(Ie||X>1&&typeof se=="string"&&!S.checkClone&&Cm.test(se))return o.each(function($e){var Pe=o.eq($e);Ie&&(l[0]=se.call(this,$e,Pe.html())),vs(Pe,l,f,d)});if(X&&(y=Ou(l,o[0].ownerDocument,!1,o,d),v=y.firstChild,y.childNodes.length===1&&(y=v),v||d)){for(b=h.map(Gt(y,"script"),Am),A=b.length;B<X;B++)E=y,B!==H&&(E=h.clone(E,!0,!0),A&&h.merge(b,Gt(E,"script"))),f.call(o[B],E,B);if(A)for(k=b[b.length-1].ownerDocument,h.map(b,xm),B=0;B<A;B++)E=b[B],Iu.test(E.type||"")&&!Y.access(E,"globalEval")&&h.contains(k,E)&&(E.src&&(E.type||"").toLowerCase()!=="module"?h._evalUrl&&!E.noModule&&h._evalUrl(E.src,{nonce:E.nonce||E.getAttribute("nonce")},k):R(E.textContent.replace(Em,""),E,k))}return o}function Du(o,l,f){for(var d,y=l?h.filter(l,o):o,v=0;(d=y[v])!=null;v++)!f&&d.nodeType===1&&h.cleanData(Gt(d)),d.parentNode&&(f&&Zn(d)&&Xa(Gt(d,"script")),d.parentNode.removeChild(d));return o}h.extend({htmlPrefilter:function(o){return o},clone:function(o,l,f){var d,y,v,b,A=o.cloneNode(!0),E=Zn(o);if(!S.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!h.isXMLDoc(o))for(b=Gt(A),v=Gt(o),d=0,y=v.length;d<y;d++)Rm(v[d],b[d]);if(l)if(f)for(v=v||Gt(o),b=b||Gt(A),d=0,y=v.length;d<y;d++)Mu(v[d],b[d]);else Mu(o,A);return b=Gt(A,"script"),b.length>0&&Xa(b,!E&&Gt(o,"script")),A},cleanData:function(o){for(var l,f,d,y=h.event.special,v=0;(f=o[v])!==void 0;v++)if(_e(f)){if(l=f[Y.expando]){if(l.events)for(d in l.events)y[d]?h.event.remove(f,d):h.removeEvent(f,d,l.handle);f[Y.expando]=void 0}f[ve.expando]&&(f[ve.expando]=void 0)}}}),h.fn.extend({detach:function(o){return Du(this,o,!0)},remove:function(o){return Du(this,o)},text:function(o){return Z(this,function(l){return l===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=l)})},null,o,arguments.length)},append:function(){return vs(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Nu(this,o);l.appendChild(o)}})},prepend:function(){return vs(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Nu(this,o);l.insertBefore(o,l.firstChild)}})},before:function(){return vs(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return vs(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,l=0;(o=this[l])!=null;l++)o.nodeType===1&&(h.cleanData(Gt(o,!1)),o.textContent="");return this},clone:function(o,l){return o=o??!1,l=l??o,this.map(function(){return h.clone(this,o,l)})},html:function(o){return Z(this,function(l){var f=this[0]||{},d=0,y=this.length;if(l===void 0&&f.nodeType===1)return f.innerHTML;if(typeof l=="string"&&!Tm.test(l)&&!bn[(Ru.exec(l)||["",""])[1].toLowerCase()]){l=h.htmlPrefilter(l);try{for(;d<y;d++)f=this[d]||{},f.nodeType===1&&(h.cleanData(Gt(f,!1)),f.innerHTML=l);f=0}catch{}}f&&this.empty().append(l)},null,o,arguments.length)},replaceWith:function(){var o=[];return vs(this,arguments,function(l){var f=this.parentNode;h.inArray(this,o)<0&&(h.cleanData(Gt(this)),f&&f.replaceChild(l,this))},o)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,l){h.fn[o]=function(f){for(var d,y=[],v=h(f),b=v.length-1,A=0;A<=b;A++)d=A===b?this:this.clone(!0),h(v[A])[l](d),c.apply(y,d.get());return this.pushStack(y)}});var Ga=new RegExp("^("+mt+")(?!px)[a-z%]+$","i"),Ja=/^--/,to=function(o){var l=o.ownerDocument.defaultView;return(!l||!l.opener)&&(l=t),l.getComputedStyle(o)},Pu=function(o,l,f){var d,y,v={};for(y in l)v[y]=o.style[y],o.style[y]=l[y];d=f.call(o);for(y in l)o.style[y]=v[y];return d},Im=new RegExp(ct.join("|"),"i");(function(){function o(){if(k){E.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",k.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",hn.appendChild(E).appendChild(k);var B=t.getComputedStyle(k);f=B.top!=="1%",A=l(B.marginLeft)===12,k.style.right="60%",v=l(B.right)===36,d=l(B.width)===36,k.style.position="absolute",y=l(k.offsetWidth/3)===12,hn.removeChild(E),k=null}}function l(B){return Math.round(parseFloat(B))}var f,d,y,v,b,A,E=M.createElement("div"),k=M.createElement("div");k.style&&(k.style.backgroundClip="content-box",k.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=k.style.backgroundClip==="content-box",h.extend(S,{boxSizingReliable:function(){return o(),d},pixelBoxStyles:function(){return o(),v},pixelPosition:function(){return o(),f},reliableMarginLeft:function(){return o(),A},scrollboxSize:function(){return o(),y},reliableTrDimensions:function(){var B,X,H,se;return b==null&&(B=M.createElement("table"),X=M.createElement("tr"),H=M.createElement("div"),B.style.cssText="position:absolute;left:-11111px;border-collapse:separate",X.style.cssText="box-sizing:content-box;border:1px solid",X.style.height="1px",H.style.height="9px",H.style.display="block",hn.appendChild(B).appendChild(X).appendChild(H),se=t.getComputedStyle(X),b=parseInt(se.height,10)+parseInt(se.borderTopWidth,10)+parseInt(se.borderBottomWidth,10)===X.offsetHeight,hn.removeChild(B)),b}}))})();function ir(o,l,f){var d,y,v,b,A=Ja.test(l),E=o.style;return f=f||to(o),f&&(b=f.getPropertyValue(l)||f[l],A&&b&&(b=b.replace(we,"$1")||void 0),b===""&&!Zn(o)&&(b=h.style(o,l)),!S.pixelBoxStyles()&&Ga.test(b)&&Im.test(l)&&(d=E.width,y=E.minWidth,v=E.maxWidth,E.minWidth=E.maxWidth=E.width=b,b=f.width,E.width=d,E.minWidth=y,E.maxWidth=v)),b!==void 0?b+"":b}function Lu(o,l){return{get:function(){if(o()){delete this.get;return}return(this.get=l).apply(this,arguments)}}}var Hu=["Webkit","Moz","ms"],zu=M.createElement("div").style,Fu={};function Om(o){for(var l=o[0].toUpperCase()+o.slice(1),f=Hu.length;f--;)if(o=Hu[f]+l,o in zu)return o}function Qa(o){var l=h.cssProps[o]||Fu[o];return l||(o in zu?o:Fu[o]=Om(o)||o)}var km=/^(none|table(?!-c[ea]).+)/,Nm={position:"absolute",visibility:"hidden",display:"block"},ju={letterSpacing:"0",fontWeight:"400"};function Bu(o,l,f){var d=At.exec(l);return d?Math.max(0,d[2]-(f||0))+(d[3]||"px"):l}function Za(o,l,f,d,y,v){var b=l==="width"?1:0,A=0,E=0,k=0;if(f===(d?"border":"content"))return 0;for(;b<4;b+=2)f==="margin"&&(k+=h.css(o,f+ct[b],!0,y)),d?(f==="content"&&(E-=h.css(o,"padding"+ct[b],!0,y)),f!=="margin"&&(E-=h.css(o,"border"+ct[b]+"Width",!0,y))):(E+=h.css(o,"padding"+ct[b],!0,y),f!=="padding"?E+=h.css(o,"border"+ct[b]+"Width",!0,y):A+=h.css(o,"border"+ct[b]+"Width",!0,y));return!d&&v>=0&&(E+=Math.max(0,Math.ceil(o["offset"+l[0].toUpperCase()+l.slice(1)]-v-E-A-.5))||0),E+k}function $u(o,l,f){var d=to(o),y=!S.boxSizingReliable()||f,v=y&&h.css(o,"boxSizing",!1,d)==="border-box",b=v,A=ir(o,l,d),E="offset"+l[0].toUpperCase()+l.slice(1);if(Ga.test(A)){if(!f)return A;A="auto"}return(!S.boxSizingReliable()&&v||!S.reliableTrDimensions()&&D(o,"tr")||A==="auto"||!parseFloat(A)&&h.css(o,"display",!1,d)==="inline")&&o.getClientRects().length&&(v=h.css(o,"boxSizing",!1,d)==="border-box",b=E in o,b&&(A=o[E])),A=parseFloat(A)||0,A+Za(o,l,f||(v?"border":"content"),b,d,A)+"px"}h.extend({cssHooks:{opacity:{get:function(o,l){if(l){var f=ir(o,"opacity");return f===""?"1":f}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,l,f,d){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var y,v,b,A=ee(l),E=Ja.test(l),k=o.style;if(E||(l=Qa(A)),b=h.cssHooks[l]||h.cssHooks[A],f!==void 0){if(v=typeof f,v==="string"&&(y=At.exec(f))&&y[1]&&(f=tr(o,l,y),v="number"),f==null||f!==f)return;v==="number"&&!E&&(f+=y&&y[3]||(h.cssNumber[A]?"":"px")),!S.clearCloneStyle&&f===""&&l.indexOf("background")===0&&(k[l]="inherit"),(!b||!("set"in b)||(f=b.set(o,f,d))!==void 0)&&(E?k.setProperty(l,f):k[l]=f)}else return b&&"get"in b&&(y=b.get(o,!1,d))!==void 0?y:k[l]}},css:function(o,l,f,d){var y,v,b,A=ee(l),E=Ja.test(l);return E||(l=Qa(A)),b=h.cssHooks[l]||h.cssHooks[A],b&&"get"in b&&(y=b.get(o,!0,f)),y===void 0&&(y=ir(o,l,d)),y==="normal"&&l in ju&&(y=ju[l]),f===""||f?(v=parseFloat(y),f===!0||isFinite(v)?v||0:y):y}}),h.each(["height","width"],function(o,l){h.cssHooks[l]={get:function(f,d,y){if(d)return km.test(h.css(f,"display"))&&(!f.getClientRects().length||!f.getBoundingClientRect().width)?Pu(f,Nm,function(){return $u(f,l,y)}):$u(f,l,y)},set:function(f,d,y){var v,b=to(f),A=!S.scrollboxSize()&&b.position==="absolute",E=A||y,k=E&&h.css(f,"boxSizing",!1,b)==="border-box",B=y?Za(f,l,y,k,b):0;return k&&A&&(B-=Math.ceil(f["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(b[l])-Za(f,l,"border",!1,b)-.5)),B&&(v=At.exec(d))&&(v[3]||"px")!=="px"&&(f.style[l]=d,d=h.css(f,l)),Bu(f,d,B)}}}),h.cssHooks.marginLeft=Lu(S.reliableMarginLeft,function(o,l){if(l)return(parseFloat(ir(o,"marginLeft"))||o.getBoundingClientRect().left-Pu(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(o,l){h.cssHooks[o+l]={expand:function(f){for(var d=0,y={},v=typeof f=="string"?f.split(" "):[f];d<4;d++)y[o+ct[d]+l]=v[d]||v[d-2]||v[0];return y}},o!=="margin"&&(h.cssHooks[o+l].set=Bu)}),h.fn.extend({css:function(o,l){return Z(this,function(f,d,y){var v,b,A={},E=0;if(Array.isArray(d)){for(v=to(f),b=d.length;E<b;E++)A[d[E]]=h.css(f,d[E],!1,v);return A}return y!==void 0?h.style(f,d,y):h.css(f,d)},o,l,arguments.length>1)}});function Jt(o,l,f,d,y){return new Jt.prototype.init(o,l,f,d,y)}h.Tween=Jt,Jt.prototype={constructor:Jt,init:function(o,l,f,d,y,v){this.elem=o,this.prop=f,this.easing=y||h.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=d,this.unit=v||(h.cssNumber[f]?"":"px")},cur:function(){var o=Jt.propHooks[this.prop];return o&&o.get?o.get(this):Jt.propHooks._default.get(this)},run:function(o){var l,f=Jt.propHooks[this.prop];return this.options.duration?this.pos=l=h.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=l=o,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),f&&f.set?f.set(this):Jt.propHooks._default.set(this),this}},Jt.prototype.init.prototype=Jt.prototype,Jt.propHooks={_default:{get:function(o){var l;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(l=h.css(o.elem,o.prop,""),!l||l==="auto"?0:l)},set:function(o){h.fx.step[o.prop]?h.fx.step[o.prop](o):o.elem.nodeType===1&&(h.cssHooks[o.prop]||o.elem.style[Qa(o.prop)]!=null)?h.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},Jt.propHooks.scrollTop=Jt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},h.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},h.fx=Jt.prototype.init,h.fx.step={};var bs,no,Mm=/^(?:toggle|show|hide)$/,Dm=/queueHooks$/;function el(){no&&(M.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(el):t.setTimeout(el,h.fx.interval),h.fx.tick())}function Uu(){return t.setTimeout(function(){bs=void 0}),bs=Date.now()}function io(o,l){var f,d=0,y={height:o};for(l=l?1:0;d<4;d+=2-l)f=ct[d],y["margin"+f]=y["padding"+f]=o;return l&&(y.opacity=y.width=o),y}function Wu(o,l,f){for(var d,y=(Nn.tweeners[l]||[]).concat(Nn.tweeners["*"]),v=0,b=y.length;v<b;v++)if(d=y[v].call(f,l,o))return d}function Pm(o,l,f){var d,y,v,b,A,E,k,B,X="width"in l||"height"in l,H=this,se={},Ie=o.style,$e=o.nodeType&&$t(o),Pe=Y.get(o,"fxshow");f.queue||(b=h._queueHooks(o,"fx"),b.unqueued==null&&(b.unqueued=0,A=b.empty.fire,b.empty.fire=function(){b.unqueued||A()}),b.unqueued++,H.always(function(){H.always(function(){b.unqueued--,h.queue(o,"fx").length||b.empty.fire()})}));for(d in l)if(y=l[d],Mm.test(y)){if(delete l[d],v=v||y==="toggle",y===($e?"hide":"show"))if(y==="show"&&Pe&&Pe[d]!==void 0)$e=!0;else continue;se[d]=Pe&&Pe[d]||h.style(o,d)}if(E=!h.isEmptyObject(l),!(!E&&h.isEmptyObject(se))){X&&o.nodeType===1&&(f.overflow=[Ie.overflow,Ie.overflowX,Ie.overflowY],k=Pe&&Pe.display,k==null&&(k=Y.get(o,"display")),B=h.css(o,"display"),B==="none"&&(k?B=k:(gs([o],!0),k=o.style.display||k,B=h.css(o,"display"),gs([o]))),(B==="inline"||B==="inline-block"&&k!=null)&&h.css(o,"float")==="none"&&(E||(H.done(function(){Ie.display=k}),k==null&&(B=Ie.display,k=B==="none"?"":B)),Ie.display="inline-block")),f.overflow&&(Ie.overflow="hidden",H.always(function(){Ie.overflow=f.overflow[0],Ie.overflowX=f.overflow[1],Ie.overflowY=f.overflow[2]})),E=!1;for(d in se)E||(Pe?"hidden"in Pe&&($e=Pe.hidden):Pe=Y.access(o,"fxshow",{display:k}),v&&(Pe.hidden=!$e),$e&&gs([o],!0),H.done(function(){$e||gs([o]),Y.remove(o,"fxshow");for(d in se)h.style(o,d,se[d])})),E=Wu($e?Pe[d]:0,d,H),d in Pe||(Pe[d]=E.start,$e&&(E.end=E.start,E.start=0))}}function Lm(o,l){var f,d,y,v,b;for(f in o)if(d=ee(f),y=l[d],v=o[f],Array.isArray(v)&&(y=v[1],v=o[f]=v[0]),f!==d&&(o[d]=v,delete o[f]),b=h.cssHooks[d],b&&"expand"in b){v=b.expand(v),delete o[d];for(f in v)f in o||(o[f]=v[f],l[f]=y)}else l[d]=y}function Nn(o,l,f){var d,y,v=0,b=Nn.prefilters.length,A=h.Deferred().always(function(){delete E.elem}),E=function(){if(y)return!1;for(var X=bs||Uu(),H=Math.max(0,k.startTime+k.duration-X),se=H/k.duration||0,Ie=1-se,$e=0,Pe=k.tweens.length;$e<Pe;$e++)k.tweens[$e].run(Ie);return A.notifyWith(o,[k,Ie,H]),Ie<1&&Pe?H:(Pe||A.notifyWith(o,[k,1,0]),A.resolveWith(o,[k]),!1)},k=A.promise({elem:o,props:h.extend({},l),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},f),originalProperties:l,originalOptions:f,startTime:bs||Uu(),duration:f.duration,tweens:[],createTween:function(X,H){var se=h.Tween(o,k.opts,X,H,k.opts.specialEasing[X]||k.opts.easing);return k.tweens.push(se),se},stop:function(X){var H=0,se=X?k.tweens.length:0;if(y)return this;for(y=!0;H<se;H++)k.tweens[H].run(1);return X?(A.notifyWith(o,[k,1,0]),A.resolveWith(o,[k,X])):A.rejectWith(o,[k,X]),this}}),B=k.props;for(Lm(B,k.opts.specialEasing);v<b;v++)if(d=Nn.prefilters[v].call(k,o,B,k.opts),d)return T(d.stop)&&(h._queueHooks(k.elem,k.opts.queue).stop=d.stop.bind(d)),d;return h.map(B,Wu,k),T(k.opts.start)&&k.opts.start.call(o,k),k.progress(k.opts.progress).done(k.opts.done,k.opts.complete).fail(k.opts.fail).always(k.opts.always),h.fx.timer(h.extend(E,{elem:o,anim:k,queue:k.opts.queue})),k}h.Animation=h.extend(Nn,{tweeners:{"*":[function(o,l){var f=this.createTween(o,l);return tr(f.elem,o,At.exec(l),f),f}]},tweener:function(o,l){T(o)?(l=o,o=["*"]):o=o.match(Et);for(var f,d=0,y=o.length;d<y;d++)f=o[d],Nn.tweeners[f]=Nn.tweeners[f]||[],Nn.tweeners[f].unshift(l)},prefilters:[Pm],prefilter:function(o,l){l?Nn.prefilters.unshift(o):Nn.prefilters.push(o)}}),h.speed=function(o,l,f){var d=o&&typeof o=="object"?h.extend({},o):{complete:f||!f&&l||T(o)&&o,duration:o,easing:f&&l||l&&!T(l)&&l};return h.fx.off?d.duration=0:typeof d.duration!="number"&&(d.duration in h.fx.speeds?d.duration=h.fx.speeds[d.duration]:d.duration=h.fx.speeds._default),(d.queue==null||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){T(d.old)&&d.old.call(this),d.queue&&h.dequeue(this,d.queue)},d},h.fn.extend({fadeTo:function(o,l,f,d){return this.filter($t).css("opacity",0).show().end().animate({opacity:l},o,f,d)},animate:function(o,l,f,d){var y=h.isEmptyObject(o),v=h.speed(l,f,d),b=function(){var A=Nn(this,h.extend({},o),v);(y||Y.get(this,"finish"))&&A.stop(!0)};return b.finish=b,y||v.queue===!1?this.each(b):this.queue(v.queue,b)},stop:function(o,l,f){var d=function(y){var v=y.stop;delete y.stop,v(f)};return typeof o!="string"&&(f=l,l=o,o=void 0),l&&this.queue(o||"fx",[]),this.each(function(){var y=!0,v=o!=null&&o+"queueHooks",b=h.timers,A=Y.get(this);if(v)A[v]&&A[v].stop&&d(A[v]);else for(v in A)A[v]&&A[v].stop&&Dm.test(v)&&d(A[v]);for(v=b.length;v--;)b[v].elem===this&&(o==null||b[v].queue===o)&&(b[v].anim.stop(f),y=!1,b.splice(v,1));(y||!f)&&h.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var l,f=Y.get(this),d=f[o+"queue"],y=f[o+"queueHooks"],v=h.timers,b=d?d.length:0;for(f.finish=!0,h.queue(this,o,[]),y&&y.stop&&y.stop.call(this,!0),l=v.length;l--;)v[l].elem===this&&v[l].queue===o&&(v[l].anim.stop(!0),v.splice(l,1));for(l=0;l<b;l++)d[l]&&d[l].finish&&d[l].finish.call(this);delete f.finish})}}),h.each(["toggle","show","hide"],function(o,l){var f=h.fn[l];h.fn[l]=function(d,y,v){return d==null||typeof d=="boolean"?f.apply(this,arguments):this.animate(io(l,!0),d,y,v)}}),h.each({slideDown:io("show"),slideUp:io("hide"),slideToggle:io("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,l){h.fn[o]=function(f,d,y){return this.animate(l,f,d,y)}}),h.timers=[],h.fx.tick=function(){var o,l=0,f=h.timers;for(bs=Date.now();l<f.length;l++)o=f[l],!o()&&f[l]===o&&f.splice(l--,1);f.length||h.fx.stop(),bs=void 0},h.fx.timer=function(o){h.timers.push(o),h.fx.start()},h.fx.interval=13,h.fx.start=function(){no||(no=!0,el())},h.fx.stop=function(){no=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(o,l){return o=h.fx&&h.fx.speeds[o]||o,l=l||"fx",this.queue(l,function(f,d){var y=t.setTimeout(f,o);d.stop=function(){t.clearTimeout(y)}})},function(){var o=M.createElement("input"),l=M.createElement("select"),f=l.appendChild(M.createElement("option"));o.type="checkbox",S.checkOn=o.value!=="",S.optSelected=f.selected,o=M.createElement("input"),o.value="t",o.type="radio",S.radioValue=o.value==="t"}();var qu,sr=h.expr.attrHandle;h.fn.extend({attr:function(o,l){return Z(this,h.attr,o,l,arguments.length>1)},removeAttr:function(o){return this.each(function(){h.removeAttr(this,o)})}}),h.extend({attr:function(o,l,f){var d,y,v=o.nodeType;if(!(v===3||v===8||v===2)){if(typeof o.getAttribute>"u")return h.prop(o,l,f);if((v!==1||!h.isXMLDoc(o))&&(y=h.attrHooks[l.toLowerCase()]||(h.expr.match.bool.test(l)?qu:void 0)),f!==void 0){if(f===null){h.removeAttr(o,l);return}return y&&"set"in y&&(d=y.set(o,f,l))!==void 0?d:(o.setAttribute(l,f+""),f)}return y&&"get"in y&&(d=y.get(o,l))!==null?d:(d=h.find.attr(o,l),d??void 0)}},attrHooks:{type:{set:function(o,l){if(!S.radioValue&&l==="radio"&&D(o,"input")){var f=o.value;return o.setAttribute("type",l),f&&(o.value=f),l}}}},removeAttr:function(o,l){var f,d=0,y=l&&l.match(Et);if(y&&o.nodeType===1)for(;f=y[d++];)o.removeAttribute(f)}}),qu={set:function(o,l,f){return l===!1?h.removeAttr(o,f):o.setAttribute(f,f),f}},h.each(h.expr.match.bool.source.match(/\w+/g),function(o,l){var f=sr[l]||h.find.attr;sr[l]=function(d,y,v){var b,A,E=y.toLowerCase();return v||(A=sr[E],sr[E]=b,b=f(d,y,v)!=null?E:null,sr[E]=A),b}});var Hm=/^(?:input|select|textarea|button)$/i,zm=/^(?:a|area)$/i;h.fn.extend({prop:function(o,l){return Z(this,h.prop,o,l,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[h.propFix[o]||o]})}}),h.extend({prop:function(o,l,f){var d,y,v=o.nodeType;if(!(v===3||v===8||v===2))return(v!==1||!h.isXMLDoc(o))&&(l=h.propFix[l]||l,y=h.propHooks[l]),f!==void 0?y&&"set"in y&&(d=y.set(o,f,l))!==void 0?d:o[l]=f:y&&"get"in y&&(d=y.get(o,l))!==null?d:o[l]},propHooks:{tabIndex:{get:function(o){var l=h.find.attr(o,"tabindex");return l?parseInt(l,10):Hm.test(o.nodeName)||zm.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(h.propHooks.selected={get:function(o){var l=o.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(o){var l=o.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function Bi(o){var l=o.match(Et)||[];return l.join(" ")}function $i(o){return o.getAttribute&&o.getAttribute("class")||""}function tl(o){return Array.isArray(o)?o:typeof o=="string"?o.match(Et)||[]:[]}h.fn.extend({addClass:function(o){var l,f,d,y,v,b;return T(o)?this.each(function(A){h(this).addClass(o.call(this,A,$i(this)))}):(l=tl(o),l.length?this.each(function(){if(d=$i(this),f=this.nodeType===1&&" "+Bi(d)+" ",f){for(v=0;v<l.length;v++)y=l[v],f.indexOf(" "+y+" ")<0&&(f+=y+" ");b=Bi(f),d!==b&&this.setAttribute("class",b)}}):this)},removeClass:function(o){var l,f,d,y,v,b;return T(o)?this.each(function(A){h(this).removeClass(o.call(this,A,$i(this)))}):arguments.length?(l=tl(o),l.length?this.each(function(){if(d=$i(this),f=this.nodeType===1&&" "+Bi(d)+" ",f){for(v=0;v<l.length;v++)for(y=l[v];f.indexOf(" "+y+" ")>-1;)f=f.replace(" "+y+" "," ");b=Bi(f),d!==b&&this.setAttribute("class",b)}}):this):this.attr("class","")},toggleClass:function(o,l){var f,d,y,v,b=typeof o,A=b==="string"||Array.isArray(o);return T(o)?this.each(function(E){h(this).toggleClass(o.call(this,E,$i(this),l),l)}):typeof l=="boolean"&&A?l?this.addClass(o):this.removeClass(o):(f=tl(o),this.each(function(){if(A)for(v=h(this),y=0;y<f.length;y++)d=f[y],v.hasClass(d)?v.removeClass(d):v.addClass(d);else(o===void 0||b==="boolean")&&(d=$i(this),d&&Y.set(this,"__className__",d),this.setAttribute&&this.setAttribute("class",d||o===!1?"":Y.get(this,"__className__")||""))}))},hasClass:function(o){var l,f,d=0;for(l=" "+o+" ";f=this[d++];)if(f.nodeType===1&&(" "+Bi($i(f))+" ").indexOf(l)>-1)return!0;return!1}});var Fm=/\r/g;h.fn.extend({val:function(o){var l,f,d,y=this[0];return arguments.length?(d=T(o),this.each(function(v){var b;this.nodeType===1&&(d?b=o.call(this,v,h(this).val()):b=o,b==null?b="":typeof b=="number"?b+="":Array.isArray(b)&&(b=h.map(b,function(A){return A==null?"":A+""})),l=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!l||!("set"in l)||l.set(this,b,"value")===void 0)&&(this.value=b))})):y?(l=h.valHooks[y.type]||h.valHooks[y.nodeName.toLowerCase()],l&&"get"in l&&(f=l.get(y,"value"))!==void 0?f:(f=y.value,typeof f=="string"?f.replace(Fm,""):f??"")):void 0}}),h.extend({valHooks:{option:{get:function(o){var l=h.find.attr(o,"value");return l??Bi(h.text(o))}},select:{get:function(o){var l,f,d,y=o.options,v=o.selectedIndex,b=o.type==="select-one",A=b?null:[],E=b?v+1:y.length;for(v<0?d=E:d=b?v:0;d<E;d++)if(f=y[d],(f.selected||d===v)&&!f.disabled&&(!f.parentNode.disabled||!D(f.parentNode,"optgroup"))){if(l=h(f).val(),b)return l;A.push(l)}return A},set:function(o,l){for(var f,d,y=o.options,v=h.makeArray(l),b=y.length;b--;)d=y[b],(d.selected=h.inArray(h.valHooks.option.get(d),v)>-1)&&(f=!0);return f||(o.selectedIndex=-1),v}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(o,l){if(Array.isArray(l))return o.checked=h.inArray(h(o).val(),l)>-1}},S.checkOn||(h.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var rr=t.location,Vu={guid:Date.now()},nl=/\?/;h.parseXML=function(o){var l,f;if(!o||typeof o!="string")return null;try{l=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return f=l&&l.getElementsByTagName("parsererror")[0],(!l||f)&&h.error("Invalid XML: "+(f?h.map(f.childNodes,function(d){return d.textContent}).join(`
`):o)),l};var Ku=/^(?:focusinfocus|focusoutblur)$/,Xu=function(o){o.stopPropagation()};h.extend(h.event,{trigger:function(o,l,f,d){var y,v,b,A,E,k,B,X,H=[f||M],se=m.call(o,"type")?o.type:o,Ie=m.call(o,"namespace")?o.namespace.split("."):[];if(v=X=b=f=f||M,!(f.nodeType===3||f.nodeType===8)&&!Ku.test(se+h.event.triggered)&&(se.indexOf(".")>-1&&(Ie=se.split("."),se=Ie.shift(),Ie.sort()),E=se.indexOf(":")<0&&"on"+se,o=o[h.expando]?o:new h.Event(se,typeof o=="object"&&o),o.isTrigger=d?2:3,o.namespace=Ie.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=f),l=l==null?[o]:h.makeArray(l,[o]),B=h.event.special[se]||{},!(!d&&B.trigger&&B.trigger.apply(f,l)===!1))){if(!d&&!B.noBubble&&!P(f)){for(A=B.delegateType||se,Ku.test(A+se)||(v=v.parentNode);v;v=v.parentNode)H.push(v),b=v;b===(f.ownerDocument||M)&&H.push(b.defaultView||b.parentWindow||t)}for(y=0;(v=H[y++])&&!o.isPropagationStopped();)X=v,o.type=y>1?A:B.bindType||se,k=(Y.get(v,"events")||Object.create(null))[o.type]&&Y.get(v,"handle"),k&&k.apply(v,l),k=E&&v[E],k&&k.apply&&_e(v)&&(o.result=k.apply(v,l),o.result===!1&&o.preventDefault());return o.type=se,!d&&!o.isDefaultPrevented()&&(!B._default||B._default.apply(H.pop(),l)===!1)&&_e(f)&&E&&T(f[se])&&!P(f)&&(b=f[E],b&&(f[E]=null),h.event.triggered=se,o.isPropagationStopped()&&X.addEventListener(se,Xu),f[se](),o.isPropagationStopped()&&X.removeEventListener(se,Xu),h.event.triggered=void 0,b&&(f[E]=b)),o.result}},simulate:function(o,l,f){var d=h.extend(new h.Event,f,{type:o,isSimulated:!0});h.event.trigger(d,null,l)}}),h.fn.extend({trigger:function(o,l){return this.each(function(){h.event.trigger(o,l,this)})},triggerHandler:function(o,l){var f=this[0];if(f)return h.event.trigger(o,l,f,!0)}});var jm=/\[\]$/,Yu=/\r?\n/g,Bm=/^(?:submit|button|image|reset|file)$/i,$m=/^(?:input|select|textarea|keygen)/i;function il(o,l,f,d){var y;if(Array.isArray(l))h.each(l,function(v,b){f||jm.test(o)?d(o,b):il(o+"["+(typeof b=="object"&&b!=null?v:"")+"]",b,f,d)});else if(!f&&N(l)==="object")for(y in l)il(o+"["+y+"]",l[y],f,d);else d(o,l)}h.param=function(o,l){var f,d=[],y=function(v,b){var A=T(b)?b():b;d[d.length]=encodeURIComponent(v)+"="+encodeURIComponent(A??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!h.isPlainObject(o))h.each(o,function(){y(this.name,this.value)});else for(f in o)il(f,o[f],l,y);return d.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=h.prop(this,"elements");return o?h.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!h(this).is(":disabled")&&$m.test(this.nodeName)&&!Bm.test(o)&&(this.checked||!nr.test(o))}).map(function(o,l){var f=h(this).val();return f==null?null:Array.isArray(f)?h.map(f,function(d){return{name:l.name,value:d.replace(Yu,`\r
`)}}):{name:l.name,value:f.replace(Yu,`\r
`)}}).get()}});var Um=/%20/g,Wm=/#.*$/,qm=/([?&])_=[^&]*/,Vm=/^(.*?):[ \t]*([^\r\n]*)$/mg,Km=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xm=/^(?:GET|HEAD)$/,Ym=/^\/\//,Gu={},sl={},Ju="*/".concat("*"),rl=M.createElement("a");rl.href=rr.href;function Qu(o){return function(l,f){typeof l!="string"&&(f=l,l="*");var d,y=0,v=l.toLowerCase().match(Et)||[];if(T(f))for(;d=v[y++];)d[0]==="+"?(d=d.slice(1)||"*",(o[d]=o[d]||[]).unshift(f)):(o[d]=o[d]||[]).push(f)}}function Zu(o,l,f,d){var y={},v=o===sl;function b(A){var E;return y[A]=!0,h.each(o[A]||[],function(k,B){var X=B(l,f,d);if(typeof X=="string"&&!v&&!y[X])return l.dataTypes.unshift(X),b(X),!1;if(v)return!(E=X)}),E}return b(l.dataTypes[0])||!y["*"]&&b("*")}function ol(o,l){var f,d,y=h.ajaxSettings.flatOptions||{};for(f in l)l[f]!==void 0&&((y[f]?o:d||(d={}))[f]=l[f]);return d&&h.extend(!0,o,d),o}function Gm(o,l,f){for(var d,y,v,b,A=o.contents,E=o.dataTypes;E[0]==="*";)E.shift(),d===void 0&&(d=o.mimeType||l.getResponseHeader("Content-Type"));if(d){for(y in A)if(A[y]&&A[y].test(d)){E.unshift(y);break}}if(E[0]in f)v=E[0];else{for(y in f){if(!E[0]||o.converters[y+" "+E[0]]){v=y;break}b||(b=y)}v=v||b}if(v)return v!==E[0]&&E.unshift(v),f[v]}function Jm(o,l,f,d){var y,v,b,A,E,k={},B=o.dataTypes.slice();if(B[1])for(b in o.converters)k[b.toLowerCase()]=o.converters[b];for(v=B.shift();v;)if(o.responseFields[v]&&(f[o.responseFields[v]]=l),!E&&d&&o.dataFilter&&(l=o.dataFilter(l,o.dataType)),E=v,v=B.shift(),v){if(v==="*")v=E;else if(E!=="*"&&E!==v){if(b=k[E+" "+v]||k["* "+v],!b){for(y in k)if(A=y.split(" "),A[1]===v&&(b=k[E+" "+A[0]]||k["* "+A[0]],b)){b===!0?b=k[y]:k[y]!==!0&&(v=A[0],B.unshift(A[1]));break}}if(b!==!0)if(b&&o.throws)l=b(l);else try{l=b(l)}catch(X){return{state:"parsererror",error:b?X:"No conversion from "+E+" to "+v}}}}return{state:"success",data:l}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:rr.href,type:"GET",isLocal:Km.test(rr.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ju,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,l){return l?ol(ol(o,h.ajaxSettings),l):ol(h.ajaxSettings,o)},ajaxPrefilter:Qu(Gu),ajaxTransport:Qu(sl),ajax:function(o,l){typeof o=="object"&&(l=o,o=void 0),l=l||{};var f,d,y,v,b,A,E,k,B,X,H=h.ajaxSetup({},l),se=H.context||H,Ie=H.context&&(se.nodeType||se.jquery)?h(se):h.event,$e=h.Deferred(),Pe=h.Callbacks("once memory"),xt=H.statusCode||{},yt={},jn={},Bn="canceled",Fe={readyState:0,getResponseHeader:function(qe){var ut;if(E){if(!v)for(v={};ut=Vm.exec(y);)v[ut[1].toLowerCase()+" "]=(v[ut[1].toLowerCase()+" "]||[]).concat(ut[2]);ut=v[qe.toLowerCase()+" "]}return ut==null?null:ut.join(", ")},getAllResponseHeaders:function(){return E?y:null},setRequestHeader:function(qe,ut){return E==null&&(qe=jn[qe.toLowerCase()]=jn[qe.toLowerCase()]||qe,yt[qe]=ut),this},overrideMimeType:function(qe){return E==null&&(H.mimeType=qe),this},statusCode:function(qe){var ut;if(qe)if(E)Fe.always(qe[Fe.status]);else for(ut in qe)xt[ut]=[xt[ut],qe[ut]];return this},abort:function(qe){var ut=qe||Bn;return f&&f.abort(ut),Ui(0,ut),this}};if($e.promise(Fe),H.url=((o||H.url||rr.href)+"").replace(Ym,rr.protocol+"//"),H.type=l.method||l.type||H.method||H.type,H.dataTypes=(H.dataType||"*").toLowerCase().match(Et)||[""],H.crossDomain==null){A=M.createElement("a");try{A.href=H.url,A.href=A.href,H.crossDomain=rl.protocol+"//"+rl.host!=A.protocol+"//"+A.host}catch{H.crossDomain=!0}}if(H.data&&H.processData&&typeof H.data!="string"&&(H.data=h.param(H.data,H.traditional)),Zu(Gu,H,l,Fe),E)return Fe;k=h.event&&H.global,k&&h.active++===0&&h.event.trigger("ajaxStart"),H.type=H.type.toUpperCase(),H.hasContent=!Xm.test(H.type),d=H.url.replace(Wm,""),H.hasContent?H.data&&H.processData&&(H.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(H.data=H.data.replace(Um,"+")):(X=H.url.slice(d.length),H.data&&(H.processData||typeof H.data=="string")&&(d+=(nl.test(d)?"&":"?")+H.data,delete H.data),H.cache===!1&&(d=d.replace(qm,"$1"),X=(nl.test(d)?"&":"?")+"_="+Vu.guid+++X),H.url=d+X),H.ifModified&&(h.lastModified[d]&&Fe.setRequestHeader("If-Modified-Since",h.lastModified[d]),h.etag[d]&&Fe.setRequestHeader("If-None-Match",h.etag[d])),(H.data&&H.hasContent&&H.contentType!==!1||l.contentType)&&Fe.setRequestHeader("Content-Type",H.contentType),Fe.setRequestHeader("Accept",H.dataTypes[0]&&H.accepts[H.dataTypes[0]]?H.accepts[H.dataTypes[0]]+(H.dataTypes[0]!=="*"?", "+Ju+"; q=0.01":""):H.accepts["*"]);for(B in H.headers)Fe.setRequestHeader(B,H.headers[B]);if(H.beforeSend&&(H.beforeSend.call(se,Fe,H)===!1||E))return Fe.abort();if(Bn="abort",Pe.add(H.complete),Fe.done(H.success),Fe.fail(H.error),f=Zu(sl,H,l,Fe),!f)Ui(-1,"No Transport");else{if(Fe.readyState=1,k&&Ie.trigger("ajaxSend",[Fe,H]),E)return Fe;H.async&&H.timeout>0&&(b=t.setTimeout(function(){Fe.abort("timeout")},H.timeout));try{E=!1,f.send(yt,Ui)}catch(qe){if(E)throw qe;Ui(-1,qe)}}function Ui(qe,ut,ar,ll){var $n,lr,Un,yi,vi,wn=ut;E||(E=!0,b&&t.clearTimeout(b),f=void 0,y=ll||"",Fe.readyState=qe>0?4:0,$n=qe>=200&&qe<300||qe===304,ar&&(yi=Gm(H,Fe,ar)),!$n&&h.inArray("script",H.dataTypes)>-1&&h.inArray("json",H.dataTypes)<0&&(H.converters["text script"]=function(){}),yi=Jm(H,yi,Fe,$n),$n?(H.ifModified&&(vi=Fe.getResponseHeader("Last-Modified"),vi&&(h.lastModified[d]=vi),vi=Fe.getResponseHeader("etag"),vi&&(h.etag[d]=vi)),qe===204||H.type==="HEAD"?wn="nocontent":qe===304?wn="notmodified":(wn=yi.state,lr=yi.data,Un=yi.error,$n=!Un)):(Un=wn,(qe||!wn)&&(wn="error",qe<0&&(qe=0))),Fe.status=qe,Fe.statusText=(ut||wn)+"",$n?$e.resolveWith(se,[lr,wn,Fe]):$e.rejectWith(se,[Fe,wn,Un]),Fe.statusCode(xt),xt=void 0,k&&Ie.trigger($n?"ajaxSuccess":"ajaxError",[Fe,H,$n?lr:Un]),Pe.fireWith(se,[Fe,wn]),k&&(Ie.trigger("ajaxComplete",[Fe,H]),--h.active||h.event.trigger("ajaxStop")))}return Fe},getJSON:function(o,l,f){return h.get(o,l,f,"json")},getScript:function(o,l){return h.get(o,void 0,l,"script")}}),h.each(["get","post"],function(o,l){h[l]=function(f,d,y,v){return T(d)&&(v=v||y,y=d,d=void 0),h.ajax(h.extend({url:f,type:l,dataType:v,data:d,success:y},h.isPlainObject(f)&&f))}}),h.ajaxPrefilter(function(o){var l;for(l in o.headers)l.toLowerCase()==="content-type"&&(o.contentType=o.headers[l]||"")}),h._evalUrl=function(o,l,f){return h.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(d){h.globalEval(d,l,f)}})},h.fn.extend({wrapAll:function(o){var l;return this[0]&&(T(o)&&(o=o.call(this[0])),l=h(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var f=this;f.firstElementChild;)f=f.firstElementChild;return f}).append(this)),this},wrapInner:function(o){return T(o)?this.each(function(l){h(this).wrapInner(o.call(this,l))}):this.each(function(){var l=h(this),f=l.contents();f.length?f.wrapAll(o):l.append(o)})},wrap:function(o){var l=T(o);return this.each(function(f){h(this).wrapAll(l?o.call(this,f):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(o){return!h.expr.pseudos.visible(o)},h.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Qm={0:200,1223:204},or=h.ajaxSettings.xhr();S.cors=!!or&&"withCredentials"in or,S.ajax=or=!!or,h.ajaxTransport(function(o){var l,f;if(S.cors||or&&!o.crossDomain)return{send:function(d,y){var v,b=o.xhr();if(b.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(v in o.xhrFields)b[v]=o.xhrFields[v];o.mimeType&&b.overrideMimeType&&b.overrideMimeType(o.mimeType),!o.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");for(v in d)b.setRequestHeader(v,d[v]);l=function(A){return function(){l&&(l=f=b.onload=b.onerror=b.onabort=b.ontimeout=b.onreadystatechange=null,A==="abort"?b.abort():A==="error"?typeof b.status!="number"?y(0,"error"):y(b.status,b.statusText):y(Qm[b.status]||b.status,b.statusText,(b.responseType||"text")!=="text"||typeof b.responseText!="string"?{binary:b.response}:{text:b.responseText},b.getAllResponseHeaders()))}},b.onload=l(),f=b.onerror=b.ontimeout=l("error"),b.onabort!==void 0?b.onabort=f:b.onreadystatechange=function(){b.readyState===4&&t.setTimeout(function(){l&&f()})},l=l("abort");try{b.send(o.hasContent&&o.data||null)}catch(A){if(l)throw A}},abort:function(){l&&l()}}}),h.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return h.globalEval(o),o}}}),h.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),h.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var l,f;return{send:function(d,y){l=h("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",f=function(v){l.remove(),f=null,v&&y(v.type==="error"?404:200,v.type)}),M.head.appendChild(l[0])},abort:function(){f&&f()}}}});var ef=[],al=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=ef.pop()||h.expando+"_"+Vu.guid++;return this[o]=!0,o}}),h.ajaxPrefilter("json jsonp",function(o,l,f){var d,y,v,b=o.jsonp!==!1&&(al.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&al.test(o.data)&&"data");if(b||o.dataTypes[0]==="jsonp")return d=o.jsonpCallback=T(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,b?o[b]=o[b].replace(al,"$1"+d):o.jsonp!==!1&&(o.url+=(nl.test(o.url)?"&":"?")+o.jsonp+"="+d),o.converters["script json"]=function(){return v||h.error(d+" was not called"),v[0]},o.dataTypes[0]="json",y=t[d],t[d]=function(){v=arguments},f.always(function(){y===void 0?h(t).removeProp(d):t[d]=y,o[d]&&(o.jsonpCallback=l.jsonpCallback,ef.push(d)),v&&T(y)&&y(v[0]),v=y=void 0}),"script"}),S.createHTMLDocument=function(){var o=M.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),h.parseHTML=function(o,l,f){if(typeof o!="string")return[];typeof l=="boolean"&&(f=l,l=!1);var d,y,v;return l||(S.createHTMLDocument?(l=M.implementation.createHTMLDocument(""),d=l.createElement("base"),d.href=M.location.href,l.head.appendChild(d)):l=M),y=fn.exec(o),v=!f&&[],y?[l.createElement(y[1])]:(y=Ou([o],l,v),v&&v.length&&h(v).remove(),h.merge([],y.childNodes))},h.fn.load=function(o,l,f){var d,y,v,b=this,A=o.indexOf(" ");return A>-1&&(d=Bi(o.slice(A)),o=o.slice(0,A)),T(l)?(f=l,l=void 0):l&&typeof l=="object"&&(y="POST"),b.length>0&&h.ajax({url:o,type:y||"GET",dataType:"html",data:l}).done(function(E){v=arguments,b.html(d?h("<div>").append(h.parseHTML(E)).find(d):E)}).always(f&&function(E,k){b.each(function(){f.apply(this,v||[E.responseText,k,E])})}),this},h.expr.pseudos.animated=function(o){return h.grep(h.timers,function(l){return o===l.elem}).length},h.offset={setOffset:function(o,l,f){var d,y,v,b,A,E,k,B=h.css(o,"position"),X=h(o),H={};B==="static"&&(o.style.position="relative"),A=X.offset(),v=h.css(o,"top"),E=h.css(o,"left"),k=(B==="absolute"||B==="fixed")&&(v+E).indexOf("auto")>-1,k?(d=X.position(),b=d.top,y=d.left):(b=parseFloat(v)||0,y=parseFloat(E)||0),T(l)&&(l=l.call(o,f,h.extend({},A))),l.top!=null&&(H.top=l.top-A.top+b),l.left!=null&&(H.left=l.left-A.left+y),"using"in l?l.using.call(o,H):X.css(H)}},h.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(y){h.offset.setOffset(this,o,y)});var l,f,d=this[0];if(d)return d.getClientRects().length?(l=d.getBoundingClientRect(),f=d.ownerDocument.defaultView,{top:l.top+f.pageYOffset,left:l.left+f.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,l,f,d=this[0],y={top:0,left:0};if(h.css(d,"position")==="fixed")l=d.getBoundingClientRect();else{for(l=this.offset(),f=d.ownerDocument,o=d.offsetParent||f.documentElement;o&&(o===f.body||o===f.documentElement)&&h.css(o,"position")==="static";)o=o.parentNode;o&&o!==d&&o.nodeType===1&&(y=h(o).offset(),y.top+=h.css(o,"borderTopWidth",!0),y.left+=h.css(o,"borderLeftWidth",!0))}return{top:l.top-y.top-h.css(d,"marginTop",!0),left:l.left-y.left-h.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&h.css(o,"position")==="static";)o=o.offsetParent;return o||hn})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,l){var f=l==="pageYOffset";h.fn[o]=function(d){return Z(this,function(y,v,b){var A;if(P(y)?A=y:y.nodeType===9&&(A=y.defaultView),b===void 0)return A?A[l]:y[v];A?A.scrollTo(f?A.pageXOffset:b,f?b:A.pageYOffset):y[v]=b},o,d,arguments.length)}}),h.each(["top","left"],function(o,l){h.cssHooks[l]=Lu(S.pixelPosition,function(f,d){if(d)return d=ir(f,l),Ga.test(d)?h(f).position()[l]+"px":d})}),h.each({Height:"height",Width:"width"},function(o,l){h.each({padding:"inner"+o,content:l,"":"outer"+o},function(f,d){h.fn[d]=function(y,v){var b=arguments.length&&(f||typeof y!="boolean"),A=f||(y===!0||v===!0?"margin":"border");return Z(this,function(E,k,B){var X;return P(E)?d.indexOf("outer")===0?E["inner"+o]:E.document.documentElement["client"+o]:E.nodeType===9?(X=E.documentElement,Math.max(E.body["scroll"+o],X["scroll"+o],E.body["offset"+o],X["offset"+o],X["client"+o])):B===void 0?h.css(E,k,A):h.style(E,k,B,A)},l,b?y:void 0,b)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,l){h.fn[l]=function(f){return this.on(l,f)}}),h.fn.extend({bind:function(o,l,f){return this.on(o,null,l,f)},unbind:function(o,l){return this.off(o,null,l)},delegate:function(o,l,f,d){return this.on(l,o,f,d)},undelegate:function(o,l,f){return arguments.length===1?this.off(o,"**"):this.off(l,o||"**",f)},hover:function(o,l){return this.on("mouseenter",o).on("mouseleave",l||o)}}),h.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(o,l){h.fn[l]=function(f,d){return arguments.length>0?this.on(l,null,f,d):this.trigger(l)}});var Zm=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(o,l){var f,d,y;if(typeof l=="string"&&(f=o[l],l=o,o=f),!!T(o))return d=r.call(arguments,2),y=function(){return o.apply(l||this,d.concat(r.call(arguments)))},y.guid=o.guid=o.guid||h.guid++,y},h.holdReady=function(o){o?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=D,h.isFunction=T,h.isWindow=P,h.camelCase=ee,h.type=N,h.now=Date.now,h.isNumeric=function(o){var l=h.type(o);return(l==="number"||l==="string")&&!isNaN(o-parseFloat(o))},h.trim=function(o){return o==null?"":(o+"").replace(Zm,"$1")};var ey=t.jQuery,ty=t.$;return h.noConflict=function(o){return t.$===h&&(t.$=ty),o&&t.jQuery===h&&(t.jQuery=ey),h},typeof n>"u"&&(t.jQuery=t.$=h),h})})(Ph);var cy=Ph.exports;const fa=Dh(cy);window.CROP_THUMBNAILS_DO_CACHE_BREAK=function(e){for(var t=fa,n=t(e),i=0;i<n.length;i++){var s=t(n[i]),r=s.attr("src"),a=r.split("?");s.attr("src",a[0]+"?&cacheBreak="+new Date().getTime())}};fa(function(e){e(document).on("click",".cropThumbnailsLink",(t,n)=>{t.preventDefault();const i=JSON.parse(t.target.dataset.cropthumbnail);if(!i)return;const s=t.target.title,r=i.posttype!==void 0?i.posttype:null;new window.CROP_THUMBNAILS_VUE.modal().open(i.image_id,r,s)})});/**
* @vue/shared v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function yn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const je={},Is=[],Ft=()=>{},pr=()=>!1,ls=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xc=e=>e.startsWith("onUpdate:"),Be=Object.assign,Rc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uy=Object.prototype.hasOwnProperty,Ge=(e,t)=>uy.call(e,t),pe=Array.isArray,Os=e=>Xs(e)==="[object Map]",cs=e=>Xs(e)==="[object Set]",rf=e=>Xs(e)==="[object Date]",fy=e=>Xs(e)==="[object RegExp]",Ee=e=>typeof e=="function",Ne=e=>typeof e=="string",ln=e=>typeof e=="symbol",Ze=e=>e!==null&&typeof e=="object",Ic=e=>(Ze(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),Lh=Object.prototype.toString,Xs=e=>Lh.call(e),hy=e=>Xs(e).slice(8,-1),ha=e=>Xs(e)==="[object Object]",Oc=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oi=yn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dy=yn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),da=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},py=/-(\w)/g,ot=da(e=>e.replace(py,(t,n)=>n?n.toUpperCase():"")),gy=/\B([A-Z])/g,nn=da(e=>e.replace(gy,"-$1").toLowerCase()),us=da(e=>e.charAt(0).toUpperCase()+e.slice(1)),ks=da(e=>e?`on${us(e)}`:""),Vt=(e,t)=>!Object.is(e,t),Ns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Hh=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},zo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fo=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let of;const pa=()=>of||(of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function my(e,t){return e+JSON.stringify(t,(n,i)=>typeof i=="function"?i.toString():i)}const yy="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",vy=yn(yy);function fs(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=Ne(i)?zh(i):fs(i);if(s)for(const r in s)t[r]=s[r]}return t}else if(Ne(e)||Ze(e))return e}const by=/;(?![^(]*\))/g,wy=/:([^]+)/,Sy=/\/\*[^]*?\*\//g;function zh(e){const t={};return e.replace(Sy,"").split(by).forEach(n=>{if(n){const i=n.split(wy);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Xt(e){let t="";if(Ne(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const i=Xt(e[n]);i&&(t+=i+" ")}else if(Ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function _y(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Xt(t)),n&&(e.style=fs(n)),e}const Ty="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Cy="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ey="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Ay="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",xy=yn(Ty),Ry=yn(Cy),Iy=yn(Ey),Oy=yn(Ay),ky="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ny=yn(ky);function Fh(e){return!!e||e===""}function My(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=Pi(e[i],t[i]);return n}function Pi(e,t){if(e===t)return!0;let n=rf(e),i=rf(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=ln(e),i=ln(t),n||i)return e===t;if(n=pe(e),i=pe(t),n||i)return n&&i?My(e,t):!1;if(n=Ze(e),i=Ze(t),n||i){if(!n||!i)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const a in e){const c=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(c&&!u||!c&&u||!Pi(e[a],t[a]))return!1}}return String(e)===String(t)}function ga(e,t){return e.findIndex(n=>Pi(n,t))}const jh=e=>!!(e&&e.__v_isRef===!0),le=e=>Ne(e)?e:e==null?"":pe(e)||Ze(e)&&(e.toString===Lh||!Ee(e.toString))?jh(e)?le(e.value):JSON.stringify(e,Bh,2):String(e),Bh=(e,t)=>jh(t)?Bh(e,t.value):Os(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],r)=>(n[gl(i,r)+" =>"]=s,n),{})}:cs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gl(n))}:ln(t)?gl(t):Ze(t)&&!pe(t)&&!ha(t)?String(t):t,gl=(e,t="")=>{var n;return ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let qt;class kc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=qt,!t&&qt&&(this.index=(qt.scopes||(qt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=qt;try{return qt=this,t()}finally{qt=n}}}on(){qt=this}off(){qt=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Dy(e){return new kc(e)}function $h(){return qt}function Py(e,t=!1){qt&&qt.cleanups.push(e)}let rt;const ml=new WeakSet;class Rr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,qt&&qt.active&&qt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ml.has(this)&&(ml.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Wh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,af(this),qh(this);const t=rt,n=Pn;rt=this,Pn=!0;try{return this.fn()}finally{Vh(this),rt=t,Pn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Dc(t);this.deps=this.depsTail=void 0,af(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ml.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){jl(this)&&this.run()}get dirty(){return jl(this)}}let Uh=0,yr,vr;function Wh(e,t=!1){if(e.flags|=8,t){e.next=vr,vr=e;return}e.next=yr,yr=e}function Nc(){Uh++}function Mc(){if(--Uh>0)return;if(vr){let t=vr;for(vr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;yr;){let t=yr;for(yr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=n}}if(e)throw e}function qh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vh(e){let t,n=e.depsTail,i=n;for(;i;){const s=i.prevDep;i.version===-1?(i===n&&(n=s),Dc(i),Ly(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=s}e.deps=t,e.depsTail=n}function jl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Kh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Kh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ir))return;e.globalVersion=Ir;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!jl(e)){e.flags&=-3;return}const n=rt,i=Pn;rt=e,Pn=!0;try{qh(e);const s=e.fn(e._value);(t.version===0||Vt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{rt=n,Pn=i,Vh(e),e.flags&=-3}}function Dc(e,t=!1){const{dep:n,prevSub:i,nextSub:s}=e;if(i&&(i.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Dc(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ly(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Hy(e,t){e.effect instanceof Rr&&(e=e.effect.fn);const n=new Rr(e);t&&Be(n,t);try{n.run()}catch(s){throw n.stop(),s}const i=n.run.bind(n);return i.effect=n,i}function zy(e){e.effect.stop()}let Pn=!0;const Xh=[];function zi(){Xh.push(Pn),Pn=!1}function Fi(){const e=Xh.pop();Pn=e===void 0?!0:e}function af(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=rt;rt=void 0;try{t()}finally{rt=n}}}let Ir=0;class Fy{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ma{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!rt||!Pn||rt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==rt)n=this.activeLink=new Fy(rt,this),rt.deps?(n.prevDep=rt.depsTail,rt.depsTail.nextDep=n,rt.depsTail=n):rt.deps=rt.depsTail=n,Yh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=rt.depsTail,n.nextDep=void 0,rt.depsTail.nextDep=n,rt.depsTail=n,rt.deps===n&&(rt.deps=i)}return n}trigger(t){this.version++,Ir++,this.notify(t)}notify(t){Nc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Mc()}}}function Yh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Yh(i)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const jo=new WeakMap,Ji=Symbol(""),Bl=Symbol(""),Or=Symbol("");function Lt(e,t,n){if(Pn&&rt){let i=jo.get(e);i||jo.set(e,i=new Map);let s=i.get(n);s||(i.set(n,s=new ma),s.map=i,s.key=n),s.track()}}function li(e,t,n,i,s,r){const a=jo.get(e);if(!a){Ir++;return}const c=u=>{u&&u.trigger()};if(Nc(),t==="clear")a.forEach(c);else{const u=pe(e),g=u&&Oc(n);if(u&&n==="length"){const p=Number(i);a.forEach((m,w)=>{(w==="length"||w===Or||!ln(w)&&w>=p)&&c(m)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),g&&c(a.get(Or)),t){case"add":u?g&&c(a.get("length")):(c(a.get(Ji)),Os(e)&&c(a.get(Bl)));break;case"delete":u||(c(a.get(Ji)),Os(e)&&c(a.get(Bl)));break;case"set":Os(e)&&c(a.get(Ji));break}}Mc()}function jy(e,t){const n=jo.get(e);return n&&n.get(t)}function _s(e){const t=We(e);return t===e?t:(Lt(t,"iterate",Or),gn(e)?t:t.map(Ht))}function ya(e){return Lt(e=We(e),"iterate",Or),e}const By={__proto__:null,[Symbol.iterator](){return yl(this,Symbol.iterator,Ht)},concat(...e){return _s(this).concat(...e.map(t=>pe(t)?_s(t):t))},entries(){return yl(this,"entries",e=>(e[1]=Ht(e[1]),e))},every(e,t){return ni(this,"every",e,t,void 0,arguments)},filter(e,t){return ni(this,"filter",e,t,n=>n.map(Ht),arguments)},find(e,t){return ni(this,"find",e,t,Ht,arguments)},findIndex(e,t){return ni(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ni(this,"findLast",e,t,Ht,arguments)},findLastIndex(e,t){return ni(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ni(this,"forEach",e,t,void 0,arguments)},includes(...e){return vl(this,"includes",e)},indexOf(...e){return vl(this,"indexOf",e)},join(e){return _s(this).join(e)},lastIndexOf(...e){return vl(this,"lastIndexOf",e)},map(e,t){return ni(this,"map",e,t,void 0,arguments)},pop(){return ur(this,"pop")},push(...e){return ur(this,"push",e)},reduce(e,...t){return lf(this,"reduce",e,t)},reduceRight(e,...t){return lf(this,"reduceRight",e,t)},shift(){return ur(this,"shift")},some(e,t){return ni(this,"some",e,t,void 0,arguments)},splice(...e){return ur(this,"splice",e)},toReversed(){return _s(this).toReversed()},toSorted(e){return _s(this).toSorted(e)},toSpliced(...e){return _s(this).toSpliced(...e)},unshift(...e){return ur(this,"unshift",e)},values(){return yl(this,"values",Ht)}};function yl(e,t,n){const i=ya(e),s=i[t]();return i!==e&&!gn(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=n(r.value)),r}),s}const $y=Array.prototype;function ni(e,t,n,i,s,r){const a=ya(e),c=a!==e&&!gn(e),u=a[t];if(u!==$y[t]){const m=u.apply(e,r);return c?Ht(m):m}let g=n;a!==e&&(c?g=function(m,w){return n.call(this,Ht(m),w,e)}:n.length>2&&(g=function(m,w){return n.call(this,m,w,e)}));const p=u.call(a,g,i);return c&&s?s(p):p}function lf(e,t,n,i){const s=ya(e);let r=n;return s!==e&&(gn(e)?n.length>3&&(r=function(a,c,u){return n.call(this,a,c,u,e)}):r=function(a,c,u){return n.call(this,a,Ht(c),u,e)}),s[t](r,...i)}function vl(e,t,n){const i=We(e);Lt(i,"iterate",Or);const s=i[t](...n);return(s===-1||s===!1)&&Sa(n[0])?(n[0]=We(n[0]),i[t](...n)):s}function ur(e,t,n=[]){zi(),Nc();const i=We(e)[t].apply(e,n);return Mc(),Fi(),i}const Uy=yn("__proto__,__v_isRef,__isVue"),Gh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ln));function Wy(e){ln(e)||(e=String(e));const t=We(this);return Lt(t,"has",e),t.hasOwnProperty(e)}class Jh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?id:nd:r?td:ed).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const a=pe(t);if(!s){let u;if(a&&(u=By[n]))return u;if(n==="hasOwnProperty")return Wy}const c=Reflect.get(t,n,_t(t)?t:i);return(ln(n)?Gh.has(n):Uy(n))||(s||Lt(t,"get",n),r)?c:_t(c)?a&&Oc(n)?c:c.value:Ze(c)?s?Pc(c):ba(c):c}}class Qh extends Jh{constructor(t=!1){super(!1,t)}set(t,n,i,s){let r=t[n];if(!this._isShallow){const u=Li(r);if(!gn(i)&&!Li(i)&&(r=We(r),i=We(i)),!pe(t)&&_t(r)&&!_t(i))return u?!1:(r.value=i,!0)}const a=pe(t)&&Oc(n)?Number(n)<t.length:Ge(t,n),c=Reflect.set(t,n,i,_t(t)?t:s);return t===We(s)&&(a?Vt(i,r)&&li(t,"set",n,i):li(t,"add",n,i)),c}deleteProperty(t,n){const i=Ge(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&i&&li(t,"delete",n,void 0),s}has(t,n){const i=Reflect.has(t,n);return(!ln(n)||!Gh.has(n))&&Lt(t,"has",n),i}ownKeys(t){return Lt(t,"iterate",pe(t)?"length":Ji),Reflect.ownKeys(t)}}class Zh extends Jh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const qy=new Qh,Vy=new Zh,Ky=new Qh(!0),Xy=new Zh(!0),$l=e=>e,lo=e=>Reflect.getPrototypeOf(e);function Yy(e,t,n){return function(...i){const s=this.__v_raw,r=We(s),a=Os(r),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,g=s[e](...i),p=n?$l:t?Ul:Ht;return!t&&Lt(r,"iterate",u?Bl:Ji),{next(){const{value:m,done:w}=g.next();return w?{value:m,done:w}:{value:c?[p(m[0]),p(m[1])]:p(m),done:w}},[Symbol.iterator](){return this}}}}function co(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gy(e,t){const n={get(s){const r=this.__v_raw,a=We(r),c=We(s);e||(Vt(s,c)&&Lt(a,"get",s),Lt(a,"get",c));const{has:u}=lo(a),g=t?$l:e?Ul:Ht;if(u.call(a,s))return g(r.get(s));if(u.call(a,c))return g(r.get(c));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Lt(We(s),"iterate",Ji),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=We(r),c=We(s);return e||(Vt(s,c)&&Lt(a,"has",s),Lt(a,"has",c)),s===c?r.has(s):r.has(s)||r.has(c)},forEach(s,r){const a=this,c=a.__v_raw,u=We(c),g=t?$l:e?Ul:Ht;return!e&&Lt(u,"iterate",Ji),c.forEach((p,m)=>s.call(r,g(p),g(m),a))}};return Be(n,e?{add:co("add"),set:co("set"),delete:co("delete"),clear:co("clear")}:{add(s){!t&&!gn(s)&&!Li(s)&&(s=We(s));const r=We(this);return lo(r).has.call(r,s)||(r.add(s),li(r,"add",s,s)),this},set(s,r){!t&&!gn(r)&&!Li(r)&&(r=We(r));const a=We(this),{has:c,get:u}=lo(a);let g=c.call(a,s);g||(s=We(s),g=c.call(a,s));const p=u.call(a,s);return a.set(s,r),g?Vt(r,p)&&li(a,"set",s,r):li(a,"add",s,r),this},delete(s){const r=We(this),{has:a,get:c}=lo(r);let u=a.call(r,s);u||(s=We(s),u=a.call(r,s)),c&&c.call(r,s);const g=r.delete(s);return u&&li(r,"delete",s,void 0),g},clear(){const s=We(this),r=s.size!==0,a=s.clear();return r&&li(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yy(s,e,t)}),n}function va(e,t){const n=Gy(e,t);return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(Ge(n,s)&&s in i?n:i,s,r)}const Jy={get:va(!1,!1)},Qy={get:va(!1,!0)},Zy={get:va(!0,!1)},ev={get:va(!0,!0)},ed=new WeakMap,td=new WeakMap,nd=new WeakMap,id=new WeakMap;function tv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nv(e){return e.__v_skip||!Object.isExtensible(e)?0:tv(hy(e))}function ba(e){return Li(e)?e:wa(e,!1,qy,Jy,ed)}function sd(e){return wa(e,!1,Ky,Qy,td)}function Pc(e){return wa(e,!0,Vy,Zy,nd)}function iv(e){return wa(e,!0,Xy,ev,id)}function wa(e,t,n,i,s){if(!Ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const a=nv(e);if(a===0)return e;const c=new Proxy(e,a===2?i:n);return s.set(e,c),c}function ki(e){return Li(e)?ki(e.__v_raw):!!(e&&e.__v_isReactive)}function Li(e){return!!(e&&e.__v_isReadonly)}function gn(e){return!!(e&&e.__v_isShallow)}function Sa(e){return e?!!e.__v_raw:!1}function We(e){const t=e&&e.__v_raw;return t?We(t):e}function rd(e){return!Ge(e,"__v_skip")&&Object.isExtensible(e)&&Hh(e,"__v_skip",!0),e}const Ht=e=>Ze(e)?ba(e):e,Ul=e=>Ze(e)?Pc(e):e;function _t(e){return e?e.__v_isRef===!0:!1}function br(e){return ad(e,!1)}function od(e){return ad(e,!0)}function ad(e,t){return _t(e)?e:new sv(e,t)}class sv{constructor(t,n){this.dep=new ma,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:We(t),this._value=n?t:Ht(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,i=this.__v_isShallow||gn(t)||Li(t);t=i?t:We(t),Vt(t,n)&&(this._rawValue=t,this._value=i?t:Ht(t),this.dep.trigger())}}function rv(e){e.dep&&e.dep.trigger()}function _a(e){return _t(e)?e.value:e}function ov(e){return Ee(e)?e():_a(e)}const av={get:(e,t,n)=>t==="__v_raw"?e:_a(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return _t(s)&&!_t(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function Lc(e){return ki(e)?e:new Proxy(e,av)}class lv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ma,{get:i,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ld(e){return new lv(e)}function cv(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=cd(e,n);return t}class uv{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return jy(We(this._object),this._key)}}class fv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hv(e,t,n){return _t(e)?e:Ee(e)?new fv(e):Ze(e)&&arguments.length>1?cd(e,t,n):br(e)}function cd(e,t,n){const i=e[t];return _t(i)?i:new uv(e,t,n)}class dv{constructor(t,n,i){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ma(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ir-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&rt!==this)return Wh(this,!0),!0}get value(){const t=this.dep.track();return Kh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pv(e,t,n=!1){let i,s;return Ee(e)?i=e:(i=e.get,s=e.set),new dv(i,s,n)}const gv={GET:"get",HAS:"has",ITERATE:"iterate"},mv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},uo={},Bo=new WeakMap;let Ci;function yv(){return Ci}function ud(e,t=!1,n=Ci){if(n){let i=Bo.get(n);i||Bo.set(n,i=[]),i.push(e)}}function vv(e,t,n=je){const{immediate:i,deep:s,once:r,scheduler:a,augmentJob:c,call:u}=n,g=N=>s?N:gn(N)||s===!1||s===0?ci(N,1):ci(N);let p,m,w,_,S=!1,T=!1;if(_t(e)?(m=()=>e.value,S=gn(e)):ki(e)?(m=()=>g(e),S=!0):pe(e)?(T=!0,S=e.some(N=>ki(N)||gn(N)),m=()=>e.map(N=>{if(_t(N))return N.value;if(ki(N))return g(N);if(Ee(N))return u?u(N,2):N()})):Ee(e)?t?m=u?()=>u(e,2):e:m=()=>{if(w){zi();try{w()}finally{Fi()}}const N=Ci;Ci=p;try{return u?u(e,3,[_]):e(_)}finally{Ci=N}}:m=Ft,t&&s){const N=m,z=s===!0?1/0:s;m=()=>ci(N(),z)}const P=$h(),M=()=>{p.stop(),P&&Rc(P.effects,p)};if(r&&t){const N=t;t=(...z)=>{N(...z),M()}}let j=T?new Array(e.length).fill(uo):uo;const R=N=>{if(!(!(p.flags&1)||!p.dirty&&!N))if(t){const z=p.run();if(s||S||(T?z.some((G,h)=>Vt(G,j[h])):Vt(z,j))){w&&w();const G=Ci;Ci=p;try{const h=[z,j===uo?void 0:T&&j[0]===uo?[]:j,_];u?u(t,3,h):t(...h),j=z}finally{Ci=G}}}else p.run()};return c&&c(R),p=new Rr(m),p.scheduler=a?()=>a(R,!1):R,_=N=>ud(N,!1,p),w=p.onStop=()=>{const N=Bo.get(p);if(N){if(u)u(N,4);else for(const z of N)z();Bo.delete(p)}},t?i?R(!0):j=p.run():a?a(R.bind(null,!0),!0):p.run(),M.pause=p.pause.bind(p),M.resume=p.resume.bind(p),M.stop=M,M}function ci(e,t=1/0,n){if(t<=0||!Ze(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,_t(e))ci(e.value,t,n);else if(pe(e))for(let i=0;i<e.length;i++)ci(e[i],t,n);else if(cs(e)||Os(e))e.forEach(i=>{ci(i,t,n)});else if(ha(e)){for(const i in e)ci(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&ci(e[i],t,n)}return e}/**
* @vue/runtime-core v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const fd=[];function bv(e){fd.push(e)}function wv(){fd.pop()}function Sv(e,t){}const _v={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Tv={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Ys(e,t,n,i){try{return i?e(...i):e()}catch(s){hs(s,t,n)}}function In(e,t,n,i){if(Ee(e)){const s=Ys(e,t,n,i);return s&&Ic(s)&&s.catch(r=>{hs(r,t,n)}),s}if(pe(e)){const s=[];for(let r=0;r<e.length;r++)s.push(In(e[r],t,n,i));return s}}function hs(e,t,n,i=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||je;if(t){let c=t.parent;const u=t.proxy,g=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let m=0;m<p.length;m++)if(p[m](e,u,g)===!1)return}c=c.parent}if(r){zi(),Ys(r,null,10,[e,u,g]),Fi();return}}Cv(e,n,s,i,a)}function Cv(e,t,n,i=!0,s=!1){if(s)throw e;console.error(e)}const Kt=[];let qn=-1;const Ms=[];let Ei=null,As=0;const hd=Promise.resolve();let $o=null;function Ta(e){const t=$o||hd;return e?t.then(this?e.bind(this):e):t}function Ev(e){let t=qn+1,n=Kt.length;for(;t<n;){const i=t+n>>>1,s=Kt[i],r=kr(s);r<e||r===e&&s.flags&2?t=i+1:n=i}return t}function Hc(e){if(!(e.flags&1)){const t=kr(e),n=Kt[Kt.length-1];!n||!(e.flags&2)&&t>=kr(n)?Kt.push(e):Kt.splice(Ev(t),0,e),e.flags|=1,dd()}}function dd(){$o||($o=hd.then(pd))}function Uo(e){pe(e)?Ms.push(...e):Ei&&e.id===-1?Ei.splice(As+1,0,e):e.flags&1||(Ms.push(e),e.flags|=1),dd()}function cf(e,t,n=qn+1){for(;n<Kt.length;n++){const i=Kt[n];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;Kt.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function Wo(e){if(Ms.length){const t=[...new Set(Ms)].sort((n,i)=>kr(n)-kr(i));if(Ms.length=0,Ei){Ei.push(...t);return}for(Ei=t,As=0;As<Ei.length;As++){const n=Ei[As];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ei=null,As=0}}const kr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function pd(e){try{for(qn=0;qn<Kt.length;qn++){const t=Kt[qn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ys(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qn<Kt.length;qn++){const t=Kt[qn];t&&(t.flags&=-2)}qn=-1,Kt.length=0,Wo(),$o=null,(Kt.length||Ms.length)&&pd()}}let xs,fo=[];function gd(e,t){var n,i;xs=e,xs?(xs.enabled=!0,fo.forEach(({event:s,args:r})=>xs.emit(s,...r)),fo=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{gd(r,t)}),setTimeout(()=>{xs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,fo=[])},3e3)):fo=[]}let St=null,Ca=null;function Nr(e){const t=St;return St=e,Ca=e&&e.type.__scopeId||null,t}function Av(e){Ca=e}function xv(){Ca=null}const Rv=e=>cn;function cn(e,t=St,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Jl(-1);const r=Nr(t);let a;try{a=e(...s)}finally{Nr(r),i._d&&Jl(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function An(e,t){if(St===null)return e;const n=Kr(St),i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,c,u=je]=t[s];r&&(Ee(r)&&(r={mounted:r,updated:r}),r.deep&&ci(a),i.push({dir:r,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return e}function Vn(e,t,n,i){const s=e.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const c=s[a];r&&(c.oldValue=r[a].value);let u=c.dir[i];u&&(zi(),In(u,n,8,[e.el,c,e,t]),Fi())}}const md=Symbol("_vte"),yd=e=>e.__isTeleport,wr=e=>e&&(e.disabled||e.disabled===""),Iv=e=>e&&(e.defer||e.defer===""),uf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ff=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Wl=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},Ov={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,r,a,c,u,g){const{mc:p,pc:m,pbc:w,o:{insert:_,querySelector:S,createText:T,createComment:P}}=g,M=wr(t.props);let{shapeFlag:j,children:R,dynamicChildren:N}=t;if(e==null){const z=t.el=T(""),G=t.anchor=T("");_(z,n,i),_(G,n,i);const h=(D,q)=>{j&16&&(s&&s.isCE&&(s.ce._teleportTarget=D),p(R,D,q,s,r,a,c,u))},te=()=>{const D=t.target=Wl(t.props,S),q=vd(D,t,T,_);D&&(a!=="svg"&&uf(D)?a="svg":a!=="mathml"&&ff(D)&&(a="mathml"),M||(h(D,q),xo(t,!1)))};M&&(h(n,G),xo(t,!0)),Iv(t.props)?Ct(te,r):te()}else{t.el=e.el,t.targetStart=e.targetStart;const z=t.anchor=e.anchor,G=t.target=e.target,h=t.targetAnchor=e.targetAnchor,te=wr(e.props),D=te?n:G,q=te?z:h;if(a==="svg"||uf(G)?a="svg":(a==="mathml"||ff(G))&&(a="mathml"),N?(w(e.dynamicChildren,N,D,s,r,a,c),Xc(e,t,!0)):u||m(e,t,D,q,s,r,a,c,!1),M)te?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ho(t,n,z,g,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const re=t.target=Wl(t.props,S);re&&ho(t,re,null,g,0)}else te&&ho(t,G,h,g,1);xo(t,M)}},remove(e,t,n,{um:i,o:{remove:s}},r){const{shapeFlag:a,children:c,anchor:u,targetStart:g,targetAnchor:p,target:m,props:w}=e;if(m&&(s(g),s(p)),r&&s(u),a&16){const _=r||!wr(w);for(let S=0;S<c.length;S++){const T=c[S];i(T,t,n,_,!!T.dynamicChildren)}}},move:ho,hydrate:kv};function ho(e,t,n,{o:{insert:i},m:s},r=2){r===0&&i(e.targetAnchor,t,n);const{el:a,anchor:c,shapeFlag:u,children:g,props:p}=e,m=r===2;if(m&&i(a,t,n),(!m||wr(p))&&u&16)for(let w=0;w<g.length;w++)s(g[w],t,n,2);m&&i(c,t,n)}function kv(e,t,n,i,s,r,{o:{nextSibling:a,parentNode:c,querySelector:u,insert:g,createText:p}},m){const w=t.target=Wl(t.props,u);if(w){const _=wr(t.props),S=w._lpa||w.firstChild;if(t.shapeFlag&16)if(_)t.anchor=m(a(e),t,c(e),n,i,s,r),t.targetStart=S,t.targetAnchor=S&&a(S);else{t.anchor=a(e);let T=S;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetStart=T;else if(T.data==="teleport anchor"){t.targetAnchor=T,w._lpa=t.targetAnchor&&a(t.targetAnchor);break}}T=a(T)}t.targetAnchor||vd(w,t,p,g),m(S&&a(S),t,w,n,i,s,r)}xo(t,_)}return t.anchor&&a(t.anchor)}const Nv=Ov;function xo(e,t){const n=e.ctx;if(n&&n.ut){let i,s;for(t?(i=e.el,s=e.anchor):(i=e.targetStart,s=e.targetAnchor);i&&i!==s;)i.nodeType===1&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function vd(e,t,n,i){const s=t.targetStart=n(""),r=t.targetAnchor=n("");return s[md]=r,e&&(i(s,e),i(r,e)),r}const Ai=Symbol("_leaveCb"),po=Symbol("_enterCb");function zc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qr(()=>{e.isMounted=!0}),Ra(()=>{e.isUnmounting=!0}),e}const _n=[Function,Array],Fc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_n,onEnter:_n,onAfterEnter:_n,onEnterCancelled:_n,onBeforeLeave:_n,onLeave:_n,onAfterLeave:_n,onLeaveCancelled:_n,onBeforeAppear:_n,onAppear:_n,onAfterAppear:_n,onAppearCancelled:_n},bd=e=>{const t=e.subTree;return t.component?bd(t.component):t},Mv={name:"BaseTransition",props:Fc,setup(e,{slots:t}){const n=On(),i=zc();return()=>{const s=t.default&&Ea(t.default(),!0);if(!s||!s.length)return;const r=wd(s),a=We(e),{mode:c}=a;if(i.isLeaving)return bl(r);const u=hf(r);if(!u)return bl(r);let g=Ls(u,a,i,n,w=>g=w);u.type!==gt&&pi(u,g);const p=n.subTree,m=p&&hf(p);if(m&&m.type!==gt&&!Dn(u,m)&&bd(n).type!==gt){const w=Ls(m,a,i,n);if(pi(m,w),c==="out-in"&&u.type!==gt)return i.isLeaving=!0,w.afterLeave=()=>{i.isLeaving=!1,n.job.flags&8||n.update(),delete w.afterLeave},bl(r);c==="in-out"&&u.type!==gt&&(w.delayLeave=(_,S,T)=>{const P=_d(i,m);P[String(m.key)]=m,_[Ai]=()=>{S(),_[Ai]=void 0,delete g.delayedLeave},g.delayedLeave=T})}return r}}};function wd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==gt){t=n;break}}return t}const Sd=Mv;function _d(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Ls(e,t,n,i,s){const{appear:r,mode:a,persisted:c=!1,onBeforeEnter:u,onEnter:g,onAfterEnter:p,onEnterCancelled:m,onBeforeLeave:w,onLeave:_,onAfterLeave:S,onLeaveCancelled:T,onBeforeAppear:P,onAppear:M,onAfterAppear:j,onAppearCancelled:R}=t,N=String(e.key),z=_d(n,e),G=(D,q)=>{D&&In(D,i,9,q)},h=(D,q)=>{const re=q[1];G(D,q),pe(D)?D.every(V=>V.length<=1)&&re():D.length<=1&&re()},te={mode:a,persisted:c,beforeEnter(D){let q=u;if(!n.isMounted)if(r)q=P||u;else return;D[Ai]&&D[Ai](!0);const re=z[N];re&&Dn(e,re)&&re.el[Ai]&&re.el[Ai](),G(q,[D])},enter(D){let q=g,re=p,V=m;if(!n.isMounted)if(r)q=M||g,re=j||p,V=R||m;else return;let J=!1;const we=D[po]=xe=>{J||(J=!0,xe?G(V,[D]):G(re,[D]),te.delayedLeave&&te.delayedLeave(),D[po]=void 0)};q?h(q,[D,we]):we()},leave(D,q){const re=String(e.key);if(D[po]&&D[po](!0),n.isUnmounting)return q();G(w,[D]);let V=!1;const J=D[Ai]=we=>{V||(V=!0,q(),we?G(T,[D]):G(S,[D]),D[Ai]=void 0,z[re]===e&&delete z[re])};z[re]=e,_?h(_,[D,J]):J()},clone(D){const q=Ls(D,t,n,i,s);return s&&s(q),q}};return te}function bl(e){if(Wr(e))return e=Gn(e),e.children=null,e}function hf(e){if(!Wr(e))return yd(e.type)&&e.children?wd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ee(n.default))return n.default()}}function pi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,pi(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 Ea(e,t=!1,n){let i=[],s=0;for(let r=0;r<e.length;r++){let a=e[r];const c=n==null?a.key:String(n)+String(a.key!=null?a.key:r);a.type===tt?(a.patchFlag&128&&s++,i=i.concat(Ea(a.children,t,c))):(t||a.type!==gt)&&i.push(c!=null?Gn(a,{key:c}):a)}if(s>1)for(let r=0;r<i.length;r++)i[r].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function jc(e,t){return Ee(e)?Be({name:e.name},t,{setup:e}):e}function Dv(){const e=On();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Bc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Pv(e){const t=On(),n=od(null);if(t){const s=t.refs===je?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}return n}function qo(e,t,n,i,s=!1){if(pe(e)){e.forEach((S,T)=>qo(S,t&&(pe(t)?t[T]:t),n,i,s));return}if(Ni(i)&&!s)return;const r=i.shapeFlag&4?Kr(i.component):i.el,a=s?null:r,{i:c,r:u}=e,g=t&&t.r,p=c.refs===je?c.refs={}:c.refs,m=c.setupState,w=We(m),_=m===je?()=>!1:S=>Ge(w,S);if(g!=null&&g!==u&&(Ne(g)?(p[g]=null,_(g)&&(m[g]=null)):_t(g)&&(g.value=null)),Ee(u))Ys(u,c,12,[a,p]);else{const S=Ne(u),T=_t(u);if(S||T){const P=()=>{if(e.f){const M=S?_(u)?m[u]:p[u]:u.value;s?pe(M)&&Rc(M,r):pe(M)?M.includes(r)||M.push(r):S?(p[u]=[r],_(u)&&(m[u]=p[u])):(u.value=[r],e.k&&(p[e.k]=u.value))}else S?(p[u]=a,_(u)&&(m[u]=a)):T&&(u.value=a,e.k&&(p[e.k]=a))};a?(P.id=-1,Ct(P,n)):P()}}}let df=!1;const Ts=()=>{df||(console.error("Hydration completed but contains mismatches."),df=!0)},Lv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hv=e=>e.namespaceURI.includes("MathML"),go=e=>{if(e.nodeType===1){if(Lv(e))return"svg";if(Hv(e))return"mathml"}},Rs=e=>e.nodeType===8;function zv(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:a,remove:c,insert:u,createComment:g}}=e,p=(R,N)=>{if(!N.hasChildNodes()){n(null,R,N),Wo(),N._vnode=R;return}m(N.firstChild,R,null,null,null),Wo(),N._vnode=R},m=(R,N,z,G,h,te=!1)=>{te=te||!!N.dynamicChildren;const D=Rs(R)&&R.data==="[",q=()=>T(R,N,z,G,h,D),{type:re,ref:V,shapeFlag:J,patchFlag:we}=N;let xe=R.nodeType;N.el=R,we===-2&&(te=!1,N.dynamicChildren=null);let ge=null;switch(re){case Mi:xe!==3?N.children===""?(u(N.el=s(""),a(R),R),ge=R):ge=q():(R.data!==N.children&&(Ts(),R.data=N.children),ge=r(R));break;case gt:j(R)?(ge=r(R),M(N.el=R.content.firstChild,R,z)):xe!==8||D?ge=q():ge=r(R);break;case Zi:if(D&&(R=r(R),xe=R.nodeType),xe===1||xe===3){ge=R;const Se=!N.children.length;for(let ye=0;ye<N.staticCount;ye++)Se&&(N.children+=ge.nodeType===1?ge.outerHTML:ge.data),ye===N.staticCount-1&&(N.anchor=ge),ge=r(ge);return D?r(ge):ge}else q();break;case tt:D?ge=S(R,N,z,G,h,te):ge=q();break;default:if(J&1)(xe!==1||N.type.toLowerCase()!==R.tagName.toLowerCase())&&!j(R)?ge=q():ge=w(R,N,z,G,h,te);else if(J&6){N.slotScopeIds=h;const Se=a(R);if(D?ge=P(R):Rs(R)&&R.data==="teleport start"?ge=P(R,R.data,"teleport end"):ge=r(R),t(N,Se,null,z,G,go(Se),te),Ni(N)){let ye;D?(ye=ke(tt),ye.anchor=ge?ge.previousSibling:Se.lastChild):ye=R.nodeType===3?It(""):ke("div"),ye.el=R,N.component.subTree=ye}}else J&64?xe!==8?ge=q():ge=N.type.hydrate(R,N,z,G,h,te,e,_):J&128&&(ge=N.type.hydrate(R,N,z,G,go(a(R)),h,te,e,m))}return V!=null&&qo(V,null,G,N),ge},w=(R,N,z,G,h,te)=>{te=te||!!N.dynamicChildren;const{type:D,props:q,patchFlag:re,shapeFlag:V,dirs:J,transition:we}=N,xe=D==="input"||D==="option";if(xe||re!==-1){J&&Vn(N,null,z,"created");let ge=!1;if(j(R)){ge=Xd(null,we)&&z&&z.vnode.props&&z.vnode.props.appear;const ye=R.content.firstChild;ge&&we.beforeEnter(ye),M(ye,R,z),N.el=R=ye}if(V&16&&!(q&&(q.innerHTML||q.textContent))){let ye=_(R.firstChild,N,R,z,G,h,te);for(;ye;){mo(R,1)||Ts();const nt=ye;ye=ye.nextSibling,c(nt)}}else if(V&8){let ye=N.children;ye[0]===`
`&&(R.tagName==="PRE"||R.tagName==="TEXTAREA")&&(ye=ye.slice(1)),R.textContent!==ye&&(mo(R,0)||Ts(),R.textContent=N.children)}if(q){if(xe||!te||re&48){const ye=R.tagName.includes("-");for(const nt in q)(xe&&(nt.endsWith("value")||nt==="indeterminate")||ls(nt)&&!Oi(nt)||nt[0]==="."||ye)&&i(R,nt,null,q[nt],void 0,z)}else if(q.onClick)i(R,"onClick",null,q.onClick,void 0,z);else if(re&4&&ki(q.style))for(const ye in q.style)q.style[ye]}let Se;(Se=q&&q.onVnodeBeforeMount)&&en(Se,z,N),J&&Vn(N,null,z,"beforeMount"),((Se=q&&q.onVnodeMounted)||J||ge)&&sp(()=>{Se&&en(Se,z,N),ge&&we.enter(R),J&&Vn(N,null,z,"mounted")},G)}return R.nextSibling},_=(R,N,z,G,h,te,D)=>{D=D||!!N.dynamicChildren;const q=N.children,re=q.length;for(let V=0;V<re;V++){const J=D?q[V]:q[V]=tn(q[V]),we=J.type===Mi;R?(we&&!D&&V+1<re&&tn(q[V+1]).type===Mi&&(u(s(R.data.slice(J.children.length)),z,r(R)),R.data=J.children),R=m(R,J,G,h,te,D)):we&&!J.children?u(J.el=s(""),z):(mo(z,1)||Ts(),n(null,J,z,null,G,h,go(z),te))}return R},S=(R,N,z,G,h,te)=>{const{slotScopeIds:D}=N;D&&(h=h?h.concat(D):D);const q=a(R),re=_(r(R),N,q,z,G,h,te);return re&&Rs(re)&&re.data==="]"?r(N.anchor=re):(Ts(),u(N.anchor=g("]"),q,re),re)},T=(R,N,z,G,h,te)=>{if(mo(R.parentElement,1)||Ts(),N.el=null,te){const re=P(R);for(;;){const V=r(R);if(V&&V!==re)c(V);else break}}const D=r(R),q=a(R);return c(R),n(null,N,q,D,z,G,go(q),h),D},P=(R,N="[",z="]")=>{let G=0;for(;R;)if(R=r(R),R&&Rs(R)&&(R.data===N&&G++,R.data===z)){if(G===0)return r(R);G--}return R},M=(R,N,z)=>{const G=N.parentNode;G&&G.replaceChild(R,N);let h=z;for(;h;)h.vnode.el===N&&(h.vnode.el=h.subTree.el=R),h=h.parent},j=R=>R.nodeType===1&&R.tagName==="TEMPLATE";return[p,m]}const pf="data-allow-mismatch",Fv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pf);)e=e.parentElement;const n=e&&e.getAttribute(pf);if(n==null)return!1;if(n==="")return!0;{const i=n.split(",");return t===0&&i.includes("children")?!0:n.split(",").includes(Fv[t])}}const jv=pa().requestIdleCallback||(e=>setTimeout(e,1)),Bv=pa().cancelIdleCallback||(e=>clearTimeout(e)),$v=(e=1e4)=>t=>{const n=jv(t,{timeout:e});return()=>Bv(n)};function Uv(e){const{top:t,left:n,bottom:i,right:s}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:a}=window;return(t>0&&t<r||i>0&&i<r)&&(n>0&&n<a||s>0&&s<a)}const Wv=e=>(t,n)=>{const i=new IntersectionObserver(s=>{for(const r of s)if(r.isIntersecting){i.disconnect(),t();break}},e);return n(s=>{if(s instanceof Element){if(Uv(s))return t(),i.disconnect(),!1;i.observe(s)}}),()=>i.disconnect()},qv=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Vv=(e=[])=>(t,n)=>{Ne(e)&&(e=[e]);let i=!1;const s=a=>{i||(i=!0,r(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},r=()=>{n(a=>{for(const c of e)a.removeEventListener(c,s)})};return n(a=>{for(const c of e)a.addEventListener(c,s,{once:!0})}),r};function Kv(e,t){if(Rs(e)&&e.data==="["){let n=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(Rs(i))if(i.data==="]"){if(--n===0)break}else i.data==="["&&n++;i=i.nextSibling}}else t(e)}const Ni=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Xv(e){Ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,hydrate:r,timeout:a,suspensible:c=!0,onError:u}=e;let g=null,p,m=0;const w=()=>(m++,g=null,_()),_=()=>{let S;return g||(S=g=t().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),u)return new Promise((P,M)=>{u(T,()=>P(w()),()=>M(T),m+1)});throw T}).then(T=>S!==g&&g?g:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),p=T,T)))};return jc({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(S,T,P){const M=r?()=>{const j=r(P,R=>Kv(S,R));j&&(T.bum||(T.bum=[])).push(j)}:P;p?M():_().then(()=>!T.isUnmounted&&M())},get __asyncResolved(){return p},setup(){const S=wt;if(Bc(S),p)return()=>wl(p,S);const T=R=>{g=null,hs(R,S,13,!i)};if(c&&S.suspense||Hs)return _().then(R=>()=>wl(R,S)).catch(R=>(T(R),()=>i?ke(i,{error:R}):null));const P=br(!1),M=br(),j=br(!!s);return s&&setTimeout(()=>{j.value=!1},s),a!=null&&setTimeout(()=>{if(!P.value&&!M.value){const R=new Error(`Async component timed out after ${a}ms.`);T(R),M.value=R}},a),_().then(()=>{P.value=!0,S.parent&&Wr(S.parent.vnode)&&S.parent.update()}).catch(R=>{T(R),M.value=R}),()=>{if(P.value&&p)return wl(p,S);if(M.value&&i)return ke(i,{error:M.value});if(n&&!j.value)return ke(n)}}})}function wl(e,t){const{ref:n,props:i,children:s,ce:r}=t.vnode,a=ke(e,i,s);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const Wr=e=>e.type.__isKeepAlive,Yv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=On(),i=n.ctx;if(!i.renderer)return()=>{const j=t.default&&t.default();return j&&j.length===1?j[0]:j};const s=new Map,r=new Set;let a=null;const c=n.suspense,{renderer:{p:u,m:g,um:p,o:{createElement:m}}}=i,w=m("div");i.activate=(j,R,N,z,G)=>{const h=j.component;g(j,R,N,0,c),u(h.vnode,j,R,N,h,c,z,j.slotScopeIds,G),Ct(()=>{h.isDeactivated=!1,h.a&&Ns(h.a);const te=j.props&&j.props.onVnodeMounted;te&&en(te,h.parent,j)},c)},i.deactivate=j=>{const R=j.component;Ko(R.m),Ko(R.a),g(j,w,null,1,c),Ct(()=>{R.da&&Ns(R.da);const N=j.props&&j.props.onVnodeUnmounted;N&&en(N,R.parent,j),R.isDeactivated=!0},c)};function _(j){Sl(j),p(j,n,c,!0)}function S(j){s.forEach((R,N)=>{const z=nc(R.type);z&&!j(z)&&T(N)})}function T(j){const R=s.get(j);R&&(!a||!Dn(R,a))?_(R):a&&Sl(a),s.delete(j),r.delete(j)}Tr(()=>[e.include,e.exclude],([j,R])=>{j&&S(N=>gr(j,N)),R&&S(N=>!gr(R,N))},{flush:"post",deep:!0});let P=null;const M=()=>{P!=null&&(Xo(n.subTree.type)?Ct(()=>{s.set(P,yo(n.subTree))},n.subTree.suspense):s.set(P,yo(n.subTree)))};return qr(M),xa(M),Ra(()=>{s.forEach(j=>{const{subTree:R,suspense:N}=n,z=yo(R);if(j.type===z.type&&j.key===z.key){Sl(z);const G=z.component.da;G&&Ct(G,N);return}_(j)})}),()=>{if(P=null,!t.default)return a=null;const j=t.default(),R=j[0];if(j.length>1)return a=null,j;if(!gi(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let N=yo(R);if(N.type===gt)return a=null,N;const z=N.type,G=nc(Ni(N)?N.type.__asyncResolved||{}:z),{include:h,exclude:te,max:D}=e;if(h&&(!G||!gr(h,G))||te&&G&&gr(te,G))return N.shapeFlag&=-257,a=N,R;const q=N.key==null?z:N.key,re=s.get(q);return N.el&&(N=Gn(N),R.shapeFlag&128&&(R.ssContent=N)),P=q,re?(N.el=re.el,N.component=re.component,N.transition&&pi(N,N.transition),N.shapeFlag|=512,r.delete(q),r.add(q)):(r.add(q),D&&r.size>parseInt(D,10)&&T(r.values().next().value)),N.shapeFlag|=256,a=N,Xo(R.type)?R:N}}},Gv=Yv;function gr(e,t){return pe(e)?e.some(n=>gr(n,t)):Ne(e)?e.split(",").includes(t):fy(e)?(e.lastIndex=0,e.test(t)):!1}function Td(e,t){Ed(e,"a",t)}function Cd(e,t){Ed(e,"da",t)}function Ed(e,t,n=wt){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Aa(t,i,n),n){let s=n.parent;for(;s&&s.parent;)Wr(s.parent.vnode)&&Jv(i,t,n,s),s=s.parent}}function Jv(e,t,n,i){const s=Aa(t,e,i,!0);Ia(()=>{Rc(i[t],s)},n)}function Sl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function yo(e){return e.shapeFlag&128?e.ssContent:e}function Aa(e,t,n=wt,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{zi();const c=ss(n),u=In(t,n,e,a);return c(),Fi(),u});return i?s.unshift(r):s.push(r),r}}const mi=e=>(t,n=wt)=>{(!Hs||e==="sp")&&Aa(e,(...i)=>t(...i),n)},$c=mi("bm"),qr=mi("m"),Ad=mi("bu"),xa=mi("u"),Ra=mi("bum"),Ia=mi("um"),xd=mi("sp"),Rd=mi("rtg"),Id=mi("rtc");function Od(e,t=wt){Aa("ec",e,t)}const Uc="components",Qv="directives";function dt(e,t){return Wc(Uc,e,!0,t)||e}const kd=Symbol.for("v-ndc");function Mr(e){return Ne(e)?Wc(Uc,e,!1)||e:e||kd}function Zv(e){return Wc(Qv,e)}function Wc(e,t,n=!0,i=!1){const s=St||wt;if(s){const r=s.type;if(e===Uc){const c=nc(r,!1);if(c&&(c===t||c===ot(t)||c===us(ot(t))))return r}const a=gf(s[e]||r[e],t)||gf(s.appContext[e],t);return!a&&i?r:a}}function gf(e,t){return e&&(e[t]||e[ot(t)]||e[us(ot(t))])}function hi(e,t,n,i){let s;const r=n&&n[i],a=pe(e);if(a||Ne(e)){const c=a&&ki(e);let u=!1;c&&(u=!gn(e),e=ya(e)),s=new Array(e.length);for(let g=0,p=e.length;g<p;g++)s[g]=t(u?Ht(e[g]):e[g],g,void 0,r&&r[g])}else if(typeof e=="number"){s=new Array(e);for(let c=0;c<e;c++)s[c]=t(c+1,c,void 0,r&&r[c])}else if(Ze(e))if(e[Symbol.iterator])s=Array.from(e,(c,u)=>t(c,u,void 0,r&&r[u]));else{const c=Object.keys(e);s=new Array(c.length);for(let u=0,g=c.length;u<g;u++){const p=c[u];s[u]=t(e[p],p,u,r&&r[u])}}else s=[];return n&&(n[i]=s),s}function eb(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(pe(i))for(let s=0;s<i.length;s++)e[i[s].name]=i[s].fn;else i&&(e[i.name]=i.key?(...s)=>{const r=i.fn(...s);return r&&(r.key=i.key),r}:i.fn)}return e}function Qn(e,t,n={},i,s){if(St.ce||St.parent&&Ni(St.parent)&&St.parent.ce)return t!=="default"&&(n.name=t),ne(),Ve(tt,null,[ke("slot",n,i&&i())],64);let r=e[t];r&&r._c&&(r._d=!1),ne();const a=r&&qc(r(n)),c=n.key||a&&a.key,u=Ve(tt,{key:(c&&!ln(c)?c:`_${t}`)+(!a&&i?"_fb":"")},a||(i?i():[]),a&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function qc(e){return e.some(t=>gi(t)?!(t.type===gt||t.type===tt&&!qc(t.children)):!0)?e:null}function tb(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:ks(i)]=e[i];return n}const ql=e=>e?up(e)?Kr(e):ql(e.parent):null,Sr=Be(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=>ql(e.parent),$root:e=>ql(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vc(e),$forceUpdate:e=>e.f||(e.f=()=>{Hc(e.update)}),$nextTick:e=>e.n||(e.n=Ta.bind(e.proxy)),$watch:e=>Nb.bind(e)}),_l=(e,t)=>e!==je&&!e.__isScriptSetup&&Ge(e,t),Vl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:r,accessCache:a,type:c,appContext:u}=e;let g;if(t[0]!=="$"){const _=a[t];if(_!==void 0)switch(_){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(_l(i,t))return a[t]=1,i[t];if(s!==je&&Ge(s,t))return a[t]=2,s[t];if((g=e.propsOptions[0])&&Ge(g,t))return a[t]=3,r[t];if(n!==je&&Ge(n,t))return a[t]=4,n[t];Kl&&(a[t]=0)}}const p=Sr[t];let m,w;if(p)return t==="$attrs"&&Lt(e.attrs,"get",""),p(e);if((m=c.__cssModules)&&(m=m[t]))return m;if(n!==je&&Ge(n,t))return a[t]=4,n[t];if(w=u.config.globalProperties,Ge(w,t))return w[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return _l(s,t)?(s[t]=n,!0):i!==je&&Ge(i,t)?(i[t]=n,!0):Ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},a){let c;return!!n[a]||e!==je&&Ge(e,a)||_l(t,a)||(c=r[0])&&Ge(c,a)||Ge(i,a)||Ge(Sr,a)||Ge(s.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},nb=Be({},Vl,{get(e,t){if(t!==Symbol.unscopables)return Vl.get(e,t,e)},has(e,t){return t[0]!=="_"&&!vy(t)}});function ib(){return null}function sb(){return null}function rb(e){}function ob(e){}function ab(){return null}function lb(){}function cb(e,t){return null}function ub(){return Nd().slots}function fb(){return Nd().attrs}function Nd(){const e=On();return e.setupContext||(e.setupContext=pp(e))}function Dr(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hb(e,t){const n=Dr(e);for(const i in t){if(i.startsWith("__skip"))continue;let s=n[i];s?pe(s)||Ee(s)?s=n[i]={type:s,default:t[i]}:s.default=t[i]:s===null&&(s=n[i]={default:t[i]}),s&&t[`__skip_${i}`]&&(s.skipFactory=!0)}return n}function db(e,t){return!e||!t?e||t:pe(e)&&pe(t)?e.concat(t):Be({},Dr(e),Dr(t))}function pb(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function gb(e){const t=On();let n=e();return Zl(),Ic(n)&&(n=n.catch(i=>{throw ss(t),i})),[n,()=>ss(t)]}let Kl=!0;function mb(e){const t=Vc(e),n=e.proxy,i=e.ctx;Kl=!1,t.beforeCreate&&mf(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:c,provide:u,inject:g,created:p,beforeMount:m,mounted:w,beforeUpdate:_,updated:S,activated:T,deactivated:P,beforeDestroy:M,beforeUnmount:j,destroyed:R,unmounted:N,render:z,renderTracked:G,renderTriggered:h,errorCaptured:te,serverPrefetch:D,expose:q,inheritAttrs:re,components:V,directives:J,filters:we}=t;if(g&&yb(g,i,null),a)for(const Se in a){const ye=a[Se];Ee(ye)&&(i[Se]=ye.bind(n))}if(s){const Se=s.call(n,n);Ze(Se)&&(e.data=ba(Se))}if(Kl=!0,r)for(const Se in r){const ye=r[Se],nt=Ee(ye)?ye.bind(n,n):Ee(ye.get)?ye.get.bind(n,n):Ft,un=!Ee(ye)&&Ee(ye.set)?ye.set.bind(n):Ft,Yt=gp({get:nt,set:un});Object.defineProperty(i,Se,{enumerable:!0,configurable:!0,get:()=>Yt.value,set:fn=>Yt.value=fn})}if(c)for(const Se in c)Md(c[Se],i,n,Se);if(u){const Se=Ee(u)?u.call(n):u;Reflect.ownKeys(Se).forEach(ye=>{Pd(ye,Se[ye])})}p&&mf(p,e,"c");function ge(Se,ye){pe(ye)?ye.forEach(nt=>Se(nt.bind(n))):ye&&Se(ye.bind(n))}if(ge($c,m),ge(qr,w),ge(Ad,_),ge(xa,S),ge(Td,T),ge(Cd,P),ge(Od,te),ge(Id,G),ge(Rd,h),ge(Ra,j),ge(Ia,N),ge(xd,D),pe(q))if(q.length){const Se=e.exposed||(e.exposed={});q.forEach(ye=>{Object.defineProperty(Se,ye,{get:()=>n[ye],set:nt=>n[ye]=nt})})}else e.exposed||(e.exposed={});z&&e.render===Ft&&(e.render=z),re!=null&&(e.inheritAttrs=re),V&&(e.components=V),J&&(e.directives=J),D&&Bc(e)}function yb(e,t,n=Ft){pe(e)&&(e=Xl(e));for(const i in e){const s=e[i];let r;Ze(s)?"default"in s?r=_r(s.from||i,s.default,!0):r=_r(s.from||i):r=_r(s),_t(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[i]=r}}function mf(e,t,n){In(pe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Md(e,t,n,i){let s=i.includes(".")?ep(n,i):()=>n[i];if(Ne(e)){const r=t[e];Ee(r)&&Tr(s,r)}else if(Ee(e))Tr(s,e.bind(n));else if(Ze(e))if(pe(e))e.forEach(r=>Md(r,t,n,i));else{const r=Ee(e.handler)?e.handler.bind(n):t[e.handler];Ee(r)&&Tr(s,r,e)}}function Vc(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,c=r.get(t);let u;return c?u=c:!s.length&&!n&&!i?u=t:(u={},s.length&&s.forEach(g=>Vo(u,g,a,!0)),Vo(u,t,a)),Ze(t)&&r.set(t,u),u}function Vo(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&Vo(e,r,n,!0),s&&s.forEach(a=>Vo(e,a,n,!0));for(const a in t)if(!(i&&a==="expose")){const c=vb[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const vb={data:yf,props:vf,emits:vf,methods:mr,computed:mr,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:mr,directives:mr,watch:wb,provide:yf,inject:bb};function yf(e,t){return t?e?function(){return Be(Ee(e)?e.call(this,this):e,Ee(t)?t.call(this,this):t)}:t:e}function bb(e,t){return mr(Xl(e),Xl(t))}function Xl(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Wt(e,t){return e?[...new Set([].concat(e,t))]:t}function mr(e,t){return e?Be(Object.create(null),e,t):t}function vf(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:Be(Object.create(null),Dr(e),Dr(t??{})):t}function wb(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const i in t)n[i]=Wt(e[i],t[i]);return n}function Dd(){return{app:null,config:{isNativeTag:pr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sb=0;function _b(e,t){return function(i,s=null){Ee(i)||(i=Be({},i)),s!=null&&!Ze(s)&&(s=null);const r=Dd(),a=new WeakSet,c=[];let u=!1;const g=r.app={_uid:Sb++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:vp,get config(){return r.config},set config(p){},use(p,...m){return a.has(p)||(p&&Ee(p.install)?(a.add(p),p.install(g,...m)):Ee(p)&&(a.add(p),p(g,...m))),g},mixin(p){return r.mixins.includes(p)||r.mixins.push(p),g},component(p,m){return m?(r.components[p]=m,g):r.components[p]},directive(p,m){return m?(r.directives[p]=m,g):r.directives[p]},mount(p,m,w){if(!u){const _=g._ceVNode||ke(i,s);return _.appContext=r,w===!0?w="svg":w===!1&&(w=void 0),m&&t?t(_,p):e(_,p,w),u=!0,g._container=p,p.__vue_app__=g,Kr(_.component)}},onUnmount(p){c.push(p)},unmount(){u&&(In(c,g._instance,16),e(null,g._container),delete g._container.__vue_app__)},provide(p,m){return r.provides[p]=m,g},runWithContext(p){const m=Qi;Qi=g;try{return p()}finally{Qi=m}}};return g}}let Qi=null;function Pd(e,t){if(wt){let n=wt.provides;const i=wt.parent&&wt.parent.provides;i===n&&(n=wt.provides=Object.create(i)),n[e]=t}}function _r(e,t,n=!1){const i=wt||St;if(i||Qi){const s=Qi?Qi._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Ee(t)?t.call(i&&i.proxy):t}}function Tb(){return!!(wt||St||Qi)}const Ld={},Hd=()=>Object.create(Ld),zd=e=>Object.getPrototypeOf(e)===Ld;function Cb(e,t,n,i=!1){const s={},r=Hd();e.propsDefaults=Object.create(null),Fd(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=i?s:sd(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Eb(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,c=We(s),[u]=e.propsOptions;let g=!1;if((i||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let m=0;m<p.length;m++){let w=p[m];if(Oa(e.emitsOptions,w))continue;const _=t[w];if(u)if(Ge(r,w))_!==r[w]&&(r[w]=_,g=!0);else{const S=ot(w);s[S]=Yl(u,c,S,_,e,!1)}else _!==r[w]&&(r[w]=_,g=!0)}}}else{Fd(e,t,s,r)&&(g=!0);let p;for(const m in c)(!t||!Ge(t,m)&&((p=nn(m))===m||!Ge(t,p)))&&(u?n&&(n[m]!==void 0||n[p]!==void 0)&&(s[m]=Yl(u,c,m,void 0,e,!0)):delete s[m]);if(r!==c)for(const m in r)(!t||!Ge(t,m))&&(delete r[m],g=!0)}g&&li(e.attrs,"set","")}function Fd(e,t,n,i){const[s,r]=e.propsOptions;let a=!1,c;if(t)for(let u in t){if(Oi(u))continue;const g=t[u];let p;s&&Ge(s,p=ot(u))?!r||!r.includes(p)?n[p]=g:(c||(c={}))[p]=g:Oa(e.emitsOptions,u)||(!(u in i)||g!==i[u])&&(i[u]=g,a=!0)}if(r){const u=We(n),g=c||je;for(let p=0;p<r.length;p++){const m=r[p];n[m]=Yl(s,u,m,g[m],e,!Ge(g,m))}}return a}function Yl(e,t,n,i,s,r){const a=e[n];if(a!=null){const c=Ge(a,"default");if(c&&i===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&Ee(u)){const{propsDefaults:g}=s;if(n in g)i=g[n];else{const p=ss(s);i=g[n]=u.call(null,t),p()}}else i=u;s.ce&&s.ce._setProp(n,i)}a[0]&&(r&&!c?i=!1:a[1]&&(i===""||i===nn(n))&&(i=!0))}return i}const Ab=new WeakMap;function jd(e,t,n=!1){const i=n?Ab:t.propsCache,s=i.get(e);if(s)return s;const r=e.props,a={},c=[];let u=!1;if(!Ee(e)){const p=m=>{u=!0;const[w,_]=jd(m,t,!0);Be(a,w),_&&c.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!u)return Ze(e)&&i.set(e,Is),Is;if(pe(r))for(let p=0;p<r.length;p++){const m=ot(r[p]);bf(m)&&(a[m]=je)}else if(r)for(const p in r){const m=ot(p);if(bf(m)){const w=r[p],_=a[m]=pe(w)||Ee(w)?{type:w}:Be({},w),S=_.type;let T=!1,P=!0;if(pe(S))for(let M=0;M<S.length;++M){const j=S[M],R=Ee(j)&&j.name;if(R==="Boolean"){T=!0;break}else R==="String"&&(P=!1)}else T=Ee(S)&&S.name==="Boolean";_[0]=T,_[1]=P,(T||Ge(_,"default"))&&c.push(m)}}const g=[a,c];return Ze(e)&&i.set(e,g),g}function bf(e){return e[0]!=="$"&&!Oi(e)}const Bd=e=>e[0]==="_"||e==="$stable",Kc=e=>pe(e)?e.map(tn):[tn(e)],xb=(e,t,n)=>{if(t._n)return t;const i=cn((...s)=>Kc(t(...s)),n);return i._c=!1,i},$d=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Bd(s))continue;const r=e[s];if(Ee(r))t[s]=xb(s,r,i);else if(r!=null){const a=Kc(r);t[s]=()=>a}}},Ud=(e,t)=>{const n=Kc(t);e.slots.default=()=>n},Wd=(e,t,n)=>{for(const i in t)(n||i!=="_")&&(e[i]=t[i])},Rb=(e,t,n)=>{const i=e.slots=Hd();if(e.vnode.shapeFlag&32){const s=t._;s?(Wd(i,t,n),n&&Hh(i,"_",s,!0)):$d(t,i)}else t&&Ud(e,t)},Ib=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,a=je;if(i.shapeFlag&32){const c=t._;c?n&&c===1?r=!1:Wd(s,t,n):(r=!t.$stable,$d(t,s)),a=t}else t&&(Ud(e,t),a={default:1});if(r)for(const c in s)!Bd(c)&&a[c]==null&&delete s[c]},Ct=sp;function qd(e){return Kd(e)}function Vd(e){return Kd(e,zv)}function Kd(e,t){const n=pa();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:a,createText:c,createComment:u,setText:g,setElementText:p,parentNode:m,nextSibling:w,setScopeId:_=Ft,insertStaticContent:S}=e,T=(x,O,W,ie=null,Q=null,Z=null,ue=void 0,ce=null,ae=!!O.dynamicChildren)=>{if(x===O)return;x&&!Dn(x,O)&&(ie=ps(x),fn(x,Q,Z,!0),x=null),O.patchFlag===-2&&(ae=!1,O.dynamicChildren=null);const{type:ee,ref:_e,shapeFlag:fe}=O;switch(ee){case Mi:P(x,O,W,ie);break;case gt:M(x,O,W,ie);break;case Zi:x==null&&j(O,W,ie,ue);break;case tt:V(x,O,W,ie,Q,Z,ue,ce,ae);break;default:fe&1?z(x,O,W,ie,Q,Z,ue,ce,ae):fe&6?J(x,O,W,ie,Q,Z,ue,ce,ae):(fe&64||fe&128)&&ee.process(x,O,W,ie,Q,Z,ue,ce,ae,Et)}_e!=null&&Q&&qo(_e,x&&x.ref,Z,O||x,!O)},P=(x,O,W,ie)=>{if(x==null)i(O.el=c(O.children),W,ie);else{const Q=O.el=x.el;O.children!==x.children&&g(Q,O.children)}},M=(x,O,W,ie)=>{x==null?i(O.el=u(O.children||""),W,ie):O.el=x.el},j=(x,O,W,ie)=>{[x.el,x.anchor]=S(x.children,O,W,ie,x.el,x.anchor)},R=({el:x,anchor:O},W,ie)=>{let Q;for(;x&&x!==O;)Q=w(x),i(x,W,ie),x=Q;i(O,W,ie)},N=({el:x,anchor:O})=>{let W;for(;x&&x!==O;)W=w(x),s(x),x=W;s(O)},z=(x,O,W,ie,Q,Z,ue,ce,ae)=>{O.type==="svg"?ue="svg":O.type==="math"&&(ue="mathml"),x==null?G(O,W,ie,Q,Z,ue,ce,ae):D(x,O,Q,Z,ue,ce,ae)},G=(x,O,W,ie,Q,Z,ue,ce)=>{let ae,ee;const{props:_e,shapeFlag:fe,transition:Y,dirs:ve}=x;if(ae=x.el=a(x.type,Z,_e&&_e.is,_e),fe&8?p(ae,x.children):fe&16&&te(x.children,ae,null,ie,Q,Tl(x,Z),ue,ce),ve&&Vn(x,null,ie,"created"),h(ae,x,x.scopeId,ue,ie),_e){for(const et in _e)et!=="value"&&!Oi(et)&&r(ae,et,null,_e[et],Z,ie);"value"in _e&&r(ae,"value",null,_e.value,Z),(ee=_e.onVnodeBeforeMount)&&en(ee,ie,x)}ve&&Vn(x,null,ie,"beforeMount");const ze=Xd(Q,Y);ze&&Y.beforeEnter(ae),i(ae,O,W),((ee=_e&&_e.onVnodeMounted)||ze||ve)&&Ct(()=>{ee&&en(ee,ie,x),ze&&Y.enter(ae),ve&&Vn(x,null,ie,"mounted")},Q)},h=(x,O,W,ie,Q)=>{if(W&&_(x,W),ie)for(let Z=0;Z<ie.length;Z++)_(x,ie[Z]);if(Q){let Z=Q.subTree;if(O===Z||Xo(Z.type)&&(Z.ssContent===O||Z.ssFallback===O)){const ue=Q.vnode;h(x,ue,ue.scopeId,ue.slotScopeIds,Q.parent)}}},te=(x,O,W,ie,Q,Z,ue,ce,ae=0)=>{for(let ee=ae;ee<x.length;ee++){const _e=x[ee]=ce?xi(x[ee]):tn(x[ee]);T(null,_e,O,W,ie,Q,Z,ue,ce)}},D=(x,O,W,ie,Q,Z,ue)=>{const ce=O.el=x.el;let{patchFlag:ae,dynamicChildren:ee,dirs:_e}=O;ae|=x.patchFlag&16;const fe=x.props||je,Y=O.props||je;let ve;if(W&&qi(W,!1),(ve=Y.onVnodeBeforeUpdate)&&en(ve,W,O,x),_e&&Vn(O,x,W,"beforeUpdate"),W&&qi(W,!0),(fe.innerHTML&&Y.innerHTML==null||fe.textContent&&Y.textContent==null)&&p(ce,""),ee?q(x.dynamicChildren,ee,ce,W,ie,Tl(O,Q),Z):ue||ye(x,O,ce,null,W,ie,Tl(O,Q),Z,!1),ae>0){if(ae&16)re(ce,fe,Y,W,Q);else if(ae&2&&fe.class!==Y.class&&r(ce,"class",null,Y.class,Q),ae&4&&r(ce,"style",fe.style,Y.style,Q),ae&8){const ze=O.dynamicProps;for(let et=0;et<ze.length;et++){const Ye=ze[et],Nt=fe[Ye],mt=Y[Ye];(mt!==Nt||Ye==="value")&&r(ce,Ye,Nt,mt,Q,W)}}ae&1&&x.children!==O.children&&p(ce,O.children)}else!ue&&ee==null&&re(ce,fe,Y,W,Q);((ve=Y.onVnodeUpdated)||_e)&&Ct(()=>{ve&&en(ve,W,O,x),_e&&Vn(O,x,W,"updated")},ie)},q=(x,O,W,ie,Q,Z,ue)=>{for(let ce=0;ce<O.length;ce++){const ae=x[ce],ee=O[ce],_e=ae.el&&(ae.type===tt||!Dn(ae,ee)||ae.shapeFlag&70)?m(ae.el):W;T(ae,ee,_e,null,ie,Q,Z,ue,!0)}},re=(x,O,W,ie,Q)=>{if(O!==W){if(O!==je)for(const Z in O)!Oi(Z)&&!(Z in W)&&r(x,Z,O[Z],null,Q,ie);for(const Z in W){if(Oi(Z))continue;const ue=W[Z],ce=O[Z];ue!==ce&&Z!=="value"&&r(x,Z,ce,ue,Q,ie)}"value"in W&&r(x,"value",O.value,W.value,Q)}},V=(x,O,W,ie,Q,Z,ue,ce,ae)=>{const ee=O.el=x?x.el:c(""),_e=O.anchor=x?x.anchor:c("");let{patchFlag:fe,dynamicChildren:Y,slotScopeIds:ve}=O;ve&&(ce=ce?ce.concat(ve):ve),x==null?(i(ee,W,ie),i(_e,W,ie),te(O.children||[],W,_e,Q,Z,ue,ce,ae)):fe>0&&fe&64&&Y&&x.dynamicChildren?(q(x.dynamicChildren,Y,W,Q,Z,ue,ce),(O.key!=null||Q&&O===Q.subTree)&&Xc(x,O,!0)):ye(x,O,W,_e,Q,Z,ue,ce,ae)},J=(x,O,W,ie,Q,Z,ue,ce,ae)=>{O.slotScopeIds=ce,x==null?O.shapeFlag&512?Q.ctx.activate(O,W,ie,ue,ae):we(O,W,ie,Q,Z,ue,ae):xe(x,O,ae)},we=(x,O,W,ie,Q,Z,ue)=>{const ce=x.component=cp(x,ie,Q);if(Wr(x)&&(ce.ctx.renderer=Et),fp(ce,!1,ue),ce.asyncDep){if(Q&&Q.registerDep(ce,ge,ue),!x.el){const ae=ce.subTree=ke(gt);M(null,ae,O,W)}}else ge(ce,x,O,W,Q,Z,ue)},xe=(x,O,W)=>{const ie=O.component=x.component;if(zb(x,O,W))if(ie.asyncDep&&!ie.asyncResolved){Se(ie,O,W);return}else ie.next=O,ie.update();else O.el=x.el,ie.vnode=O},ge=(x,O,W,ie,Q,Z,ue)=>{const ce=()=>{if(x.isMounted){let{next:fe,bu:Y,u:ve,parent:ze,vnode:et}=x;{const ct=Yd(x);if(ct){fe&&(fe.el=et.el,Se(x,fe,ue)),ct.asyncDep.then(()=>{x.isUnmounted||ce()});return}}let Ye=fe,Nt;qi(x,!1),fe?(fe.el=et.el,Se(x,fe,ue)):fe=et,Y&&Ns(Y),(Nt=fe.props&&fe.props.onVnodeBeforeUpdate)&&en(Nt,ze,fe,et),qi(x,!0);const mt=Ro(x),At=x.subTree;x.subTree=mt,T(At,mt,m(At.el),ps(At),x,Q,Z),fe.el=mt.el,Ye===null&&Yc(x,mt.el),ve&&Ct(ve,Q),(Nt=fe.props&&fe.props.onVnodeUpdated)&&Ct(()=>en(Nt,ze,fe,et),Q)}else{let fe;const{el:Y,props:ve}=O,{bm:ze,m:et,parent:Ye,root:Nt,type:mt}=x,At=Ni(O);if(qi(x,!1),ze&&Ns(ze),!At&&(fe=ve&&ve.onVnodeBeforeMount)&&en(fe,Ye,O),qi(x,!0),Y&&Fn){const ct=()=>{x.subTree=Ro(x),Fn(Y,x.subTree,x,Q,null)};At&&mt.__asyncHydrate?mt.__asyncHydrate(Y,x,ct):ct()}else{Nt.ce&&Nt.ce._injectChildStyle(mt);const ct=x.subTree=Ro(x);T(null,ct,W,ie,x,Q,Z),O.el=ct.el}if(et&&Ct(et,Q),!At&&(fe=ve&&ve.onVnodeMounted)){const ct=O;Ct(()=>en(fe,Ye,ct),Q)}(O.shapeFlag&256||Ye&&Ni(Ye.vnode)&&Ye.vnode.shapeFlag&256)&&x.a&&Ct(x.a,Q),x.isMounted=!0,O=W=ie=null}};x.scope.on();const ae=x.effect=new Rr(ce);x.scope.off();const ee=x.update=ae.run.bind(ae),_e=x.job=ae.runIfDirty.bind(ae);_e.i=x,_e.id=x.uid,ae.scheduler=()=>Hc(_e),qi(x,!0),ee()},Se=(x,O,W)=>{O.component=x;const ie=x.vnode.props;x.vnode=O,x.next=null,Eb(x,O.props,ie,W),Ib(x,O.children,W),zi(),cf(x),Fi()},ye=(x,O,W,ie,Q,Z,ue,ce,ae=!1)=>{const ee=x&&x.children,_e=x?x.shapeFlag:0,fe=O.children,{patchFlag:Y,shapeFlag:ve}=O;if(Y>0){if(Y&128){un(ee,fe,W,ie,Q,Z,ue,ce,ae);return}else if(Y&256){nt(ee,fe,W,ie,Q,Z,ue,ce,ae);return}}ve&8?(_e&16&&ji(ee,Q,Z),fe!==ee&&p(W,fe)):_e&16?ve&16?un(ee,fe,W,ie,Q,Z,ue,ce,ae):ji(ee,Q,Z,!0):(_e&8&&p(W,""),ve&16&&te(fe,W,ie,Q,Z,ue,ce,ae))},nt=(x,O,W,ie,Q,Z,ue,ce,ae)=>{x=x||Is,O=O||Is;const ee=x.length,_e=O.length,fe=Math.min(ee,_e);let Y;for(Y=0;Y<fe;Y++){const ve=O[Y]=ae?xi(O[Y]):tn(O[Y]);T(x[Y],ve,W,null,Q,Z,ue,ce,ae)}ee>_e?ji(x,Q,Z,!0,!1,fe):te(O,W,ie,Q,Z,ue,ce,ae,fe)},un=(x,O,W,ie,Q,Z,ue,ce,ae)=>{let ee=0;const _e=O.length;let fe=x.length-1,Y=_e-1;for(;ee<=fe&&ee<=Y;){const ve=x[ee],ze=O[ee]=ae?xi(O[ee]):tn(O[ee]);if(Dn(ve,ze))T(ve,ze,W,null,Q,Z,ue,ce,ae);else break;ee++}for(;ee<=fe&&ee<=Y;){const ve=x[fe],ze=O[Y]=ae?xi(O[Y]):tn(O[Y]);if(Dn(ve,ze))T(ve,ze,W,null,Q,Z,ue,ce,ae);else break;fe--,Y--}if(ee>fe){if(ee<=Y){const ve=Y+1,ze=ve<_e?O[ve].el:ie;for(;ee<=Y;)T(null,O[ee]=ae?xi(O[ee]):tn(O[ee]),W,ze,Q,Z,ue,ce,ae),ee++}}else if(ee>Y)for(;ee<=fe;)fn(x[ee],Q,Z,!0),ee++;else{const ve=ee,ze=ee,et=new Map;for(ee=ze;ee<=Y;ee++){const Bt=O[ee]=ae?xi(O[ee]):tn(O[ee]);Bt.key!=null&&et.set(Bt.key,ee)}let Ye,Nt=0;const mt=Y-ze+1;let At=!1,ct=0;const hn=new Array(mt);for(ee=0;ee<mt;ee++)hn[ee]=0;for(ee=ve;ee<=fe;ee++){const Bt=x[ee];if(Nt>=mt){fn(Bt,Q,Z,!0);continue}let $t;if(Bt.key!=null)$t=et.get(Bt.key);else for(Ye=ze;Ye<=Y;Ye++)if(hn[Ye-ze]===0&&Dn(Bt,O[Ye])){$t=Ye;break}$t===void 0?fn(Bt,Q,Z,!0):(hn[$t-ze]=ee+1,$t>=ct?ct=$t:At=!0,T(Bt,O[$t],W,null,Q,Z,ue,ce,ae),Nt++)}const Zn=At?Ob(hn):Is;for(Ye=Zn.length-1,ee=mt-1;ee>=0;ee--){const Bt=ze+ee,$t=O[Bt],tr=Bt+1<_e?O[Bt+1].el:ie;hn[ee]===0?T(null,$t,W,tr,Q,Z,ue,ce,ae):At&&(Ye<0||ee!==Zn[Ye]?Yt($t,W,tr,2):Ye--)}}},Yt=(x,O,W,ie,Q=null)=>{const{el:Z,type:ue,transition:ce,children:ae,shapeFlag:ee}=x;if(ee&6){Yt(x.component.subTree,O,W,ie);return}if(ee&128){x.suspense.move(O,W,ie);return}if(ee&64){ue.move(x,O,W,Et);return}if(ue===tt){i(Z,O,W);for(let fe=0;fe<ae.length;fe++)Yt(ae[fe],O,W,ie);i(x.anchor,O,W);return}if(ue===Zi){R(x,O,W);return}if(ie!==2&&ee&1&&ce)if(ie===0)ce.beforeEnter(Z),i(Z,O,W),Ct(()=>ce.enter(Z),Q);else{const{leave:fe,delayLeave:Y,afterLeave:ve}=ce,ze=()=>i(Z,O,W),et=()=>{fe(Z,()=>{ze(),ve&&ve()})};Y?Y(Z,ze,et):et()}else i(Z,O,W)},fn=(x,O,W,ie=!1,Q=!1)=>{const{type:Z,props:ue,ref:ce,children:ae,dynamicChildren:ee,shapeFlag:_e,patchFlag:fe,dirs:Y,cacheIndex:ve}=x;if(fe===-2&&(Q=!1),ce!=null&&qo(ce,null,W,x,!0),ve!=null&&(O.renderCache[ve]=void 0),_e&256){O.ctx.deactivate(x);return}const ze=_e&1&&Y,et=!Ni(x);let Ye;if(et&&(Ye=ue&&ue.onVnodeBeforeUnmount)&&en(Ye,O,x),_e&6)Ka(x.component,W,ie);else{if(_e&128){x.suspense.unmount(W,ie);return}ze&&Vn(x,null,O,"beforeUnmount"),_e&64?x.type.remove(x,O,W,Et,ie):ee&&!ee.hasOnce&&(Z!==tt||fe>0&&fe&64)?ji(ee,O,W,!1,!0):(Z===tt&&fe&384||!Q&&_e&16)&&ji(ae,O,W),ie&&ds(x)}(et&&(Ye=ue&&ue.onVnodeUnmounted)||ze)&&Ct(()=>{Ye&&en(Ye,O,x),ze&&Vn(x,null,O,"unmounted")},W)},ds=x=>{const{type:O,el:W,anchor:ie,transition:Q}=x;if(O===tt){Zr(W,ie);return}if(O===Zi){N(x);return}const Z=()=>{s(W),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(x.shapeFlag&1&&Q&&!Q.persisted){const{leave:ue,delayLeave:ce}=Q,ae=()=>ue(W,Z);ce?ce(x.el,Z,ae):ae()}else Z()},Zr=(x,O)=>{let W;for(;x!==O;)W=w(x),s(x),x=W;s(O)},Ka=(x,O,W)=>{const{bum:ie,scope:Q,job:Z,subTree:ue,um:ce,m:ae,a:ee}=x;Ko(ae),Ko(ee),ie&&Ns(ie),Q.stop(),Z&&(Z.flags|=8,fn(ue,x,O,W)),ce&&Ct(ce,O),Ct(()=>{x.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},ji=(x,O,W,ie=!1,Q=!1,Z=0)=>{for(let ue=Z;ue<x.length;ue++)fn(x[ue],O,W,ie,Q)},ps=x=>{if(x.shapeFlag&6)return ps(x.component.subTree);if(x.shapeFlag&128)return x.suspense.next();const O=w(x.anchor||x.el),W=O&&O[md];return W?w(W):O};let Qs=!1;const Zs=(x,O,W)=>{x==null?O._vnode&&fn(O._vnode,null,null,!0):T(O._vnode||null,x,O,null,null,null,W),O._vnode=x,Qs||(Qs=!0,cf(),Wo(),Qs=!1)},Et={p:T,um:fn,m:Yt,r:ds,mt:we,mc:te,pc:ye,pbc:q,n:ps,o:e};let er,Fn;return t&&([er,Fn]=t(Et)),{render:Zs,hydrate:er,createApp:_b(Zs,er)}}function Tl({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 qi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xc(e,t,n=!1){const i=e.children,s=t.children;if(pe(i)&&pe(s))for(let r=0;r<i.length;r++){const a=i[r];let c=s[r];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[r]=xi(s[r]),c.el=a.el),!n&&c.patchFlag!==-2&&Xc(a,c)),c.type===Mi&&(c.el=a.el)}}function Ob(e){const t=e.slice(),n=[0];let i,s,r,a,c;const u=e.length;for(i=0;i<u;i++){const g=e[i];if(g!==0){if(s=n[n.length-1],e[s]<g){t[i]=s,n.push(i);continue}for(r=0,a=n.length-1;r<a;)c=r+a>>1,e[n[c]]<g?r=c+1:a=c;g<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}function Yd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yd(t)}function Ko(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Gd=Symbol.for("v-scx"),Jd=()=>_r(Gd);function kb(e,t){return Vr(e,null,t)}function Qd(e,t){return Vr(e,null,{flush:"post"})}function Zd(e,t){return Vr(e,null,{flush:"sync"})}function Tr(e,t,n){return Vr(e,t,n)}function Vr(e,t,n=je){const{immediate:i,deep:s,flush:r,once:a}=n,c=Be({},n),u=t&&i||!t&&r!=="post";let g;if(Hs){if(r==="sync"){const _=Jd();g=_.__watcherHandles||(_.__watcherHandles=[])}else if(!u){const _=()=>{};return _.stop=Ft,_.resume=Ft,_.pause=Ft,_}}const p=wt;c.call=(_,S,T)=>In(_,p,S,T);let m=!1;r==="post"?c.scheduler=_=>{Ct(_,p&&p.suspense)}:r!=="sync"&&(m=!0,c.scheduler=(_,S)=>{S?_():Hc(_)}),c.augmentJob=_=>{t&&(_.flags|=4),m&&(_.flags|=2,p&&(_.id=p.uid,_.i=p))};const w=vv(e,t,c);return Hs&&(g?g.push(w):u&&w()),w}function Nb(e,t,n){const i=this.proxy,s=Ne(e)?e.includes(".")?ep(i,e):()=>i[e]:e.bind(i,i);let r;Ee(t)?r=t:(r=t.handler,n=t);const a=ss(this),c=Vr(s,r.bind(i),n);return a(),c}function ep(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}function Mb(e,t,n=je){const i=On(),s=ot(t),r=nn(t),a=tp(e,s),c=ld((u,g)=>{let p,m=je,w;return Zd(()=>{const _=e[s];Vt(p,_)&&(p=_,g())}),{get(){return u(),n.get?n.get(p):p},set(_){const S=n.set?n.set(_):_;if(!Vt(S,p)&&!(m!==je&&Vt(_,m)))return;const T=i.vnode.props;T&&(t in T||s in T||r in T)&&(`onUpdate:${t}`in T||`onUpdate:${s}`in T||`onUpdate:${r}`in T)||(p=_,g()),i.emit(`update:${t}`,S),Vt(_,S)&&Vt(_,m)&&!Vt(S,w)&&g(),m=_,w=S}}});return c[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||je:c,done:!1}:{done:!0}}}},c}const tp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ot(t)}Modifiers`]||e[`${nn(t)}Modifiers`];function Db(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||je;let s=n;const r=t.startsWith("update:"),a=r&&tp(i,t.slice(7));a&&(a.trim&&(s=n.map(p=>Ne(p)?p.trim():p)),a.number&&(s=n.map(zo)));let c,u=i[c=ks(t)]||i[c=ks(ot(t))];!u&&r&&(u=i[c=ks(nn(t))]),u&&In(u,e,6,s);const g=i[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,In(g,e,6,s)}}function np(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let a={},c=!1;if(!Ee(e)){const u=g=>{const p=np(g,t,!0);p&&(c=!0,Be(a,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!c?(Ze(e)&&i.set(e,null),null):(pe(r)?r.forEach(u=>a[u]=null):Be(a,r),Ze(e)&&i.set(e,a),a)}function Oa(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ge(e,t[0].toLowerCase()+t.slice(1))||Ge(e,nn(t))||Ge(e,t))}function Ro(e){const{type:t,vnode:n,proxy:i,withProxy:s,propsOptions:[r],slots:a,attrs:c,emit:u,render:g,renderCache:p,props:m,data:w,setupState:_,ctx:S,inheritAttrs:T}=e,P=Nr(e);let M,j;try{if(n.shapeFlag&4){const N=s||i,z=N;M=tn(g.call(z,N,p,m,_,w,S)),j=c}else{const N=t;M=tn(N.length>1?N(m,{attrs:c,slots:a,emit:u}):N(m,null)),j=t.props?c:Lb(c)}}catch(N){Cr.length=0,hs(N,e,1),M=ke(gt)}let R=M;if(j&&T!==!1){const N=Object.keys(j),{shapeFlag:z}=R;N.length&&z&7&&(r&&N.some(xc)&&(j=Hb(j,r)),R=Gn(R,j,!1,!0))}return n.dirs&&(R=Gn(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&pi(R,n.transition),M=R,Nr(P),M}function Pb(e,t=!0){let n;for(let i=0;i<e.length;i++){const s=e[i];if(gi(s)){if(s.type!==gt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Lb=e=>{let t;for(const n in e)(n==="class"||n==="style"||ls(n))&&((t||(t={}))[n]=e[n]);return t},Hb=(e,t)=>{const n={};for(const i in e)(!xc(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function zb(e,t,n){const{props:i,children:s,component:r}=e,{props:a,children:c,patchFlag:u}=t,g=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return i?wf(i,a,g):!!a;if(u&8){const p=t.dynamicProps;for(let m=0;m<p.length;m++){const w=p[m];if(a[w]!==i[w]&&!Oa(g,w))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:i===a?!1:i?a?wf(i,a,g):!0:!!a;return!1}function wf(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(t[r]!==e[r]&&!Oa(n,r))return!0}return!1}function Yc({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const Xo=e=>e.__isSuspense;let Gl=0;const Fb={name:"Suspense",__isSuspense:!0,process(e,t,n,i,s,r,a,c,u,g){if(e==null)Bb(t,n,i,s,r,a,c,u,g);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$b(e,t,n,i,s,a,c,u,g)}},hydrate:Ub,normalize:Wb},jb=Fb;function Pr(e,t){const n=e.props&&e.props[t];Ee(n)&&n()}function Bb(e,t,n,i,s,r,a,c,u){const{p:g,o:{createElement:p}}=u,m=p("div"),w=e.suspense=ip(e,s,i,t,m,n,r,a,c,u);g(null,w.pendingBranch=e.ssContent,m,null,i,w,r,a),w.deps>0?(Pr(e,"onPending"),Pr(e,"onFallback"),g(null,e.ssFallback,t,n,i,null,r,a),Ds(w,e.ssFallback)):w.resolve(!1,!0)}function $b(e,t,n,i,s,r,a,c,{p:u,um:g,o:{createElement:p}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const w=t.ssContent,_=t.ssFallback,{activeBranch:S,pendingBranch:T,isInFallback:P,isHydrating:M}=m;if(T)m.pendingBranch=w,Dn(w,T)?(u(T,w,m.hiddenContainer,null,s,m,r,a,c),m.deps<=0?m.resolve():P&&(M||(u(S,_,n,i,s,null,r,a,c),Ds(m,_)))):(m.pendingId=Gl++,M?(m.isHydrating=!1,m.activeBranch=T):g(T,s,m),m.deps=0,m.effects.length=0,m.hiddenContainer=p("div"),P?(u(null,w,m.hiddenContainer,null,s,m,r,a,c),m.deps<=0?m.resolve():(u(S,_,n,i,s,null,r,a,c),Ds(m,_))):S&&Dn(w,S)?(u(S,w,n,i,s,m,r,a,c),m.resolve(!0)):(u(null,w,m.hiddenContainer,null,s,m,r,a,c),m.deps<=0&&m.resolve()));else if(S&&Dn(w,S))u(S,w,n,i,s,m,r,a,c),Ds(m,w);else if(Pr(t,"onPending"),m.pendingBranch=w,w.shapeFlag&512?m.pendingId=w.component.suspenseId:m.pendingId=Gl++,u(null,w,m.hiddenContainer,null,s,m,r,a,c),m.deps<=0)m.resolve();else{const{timeout:j,pendingId:R}=m;j>0?setTimeout(()=>{m.pendingId===R&&m.fallback(_)},j):j===0&&m.fallback(_)}}function ip(e,t,n,i,s,r,a,c,u,g,p=!1){const{p:m,m:w,um:_,n:S,o:{parentNode:T,remove:P}}=g;let M;const j=qb(e);j&&t&&t.pendingBranch&&(M=t.pendingId,t.deps++);const R=e.props?Fo(e.props.timeout):void 0,N=r,z={vnode:e,parent:t,parentComponent:n,namespace:a,container:i,hiddenContainer:s,deps:0,pendingId:Gl++,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!p,isHydrating:p,isUnmounted:!1,effects:[],resolve(G=!1,h=!1){const{vnode:te,activeBranch:D,pendingBranch:q,pendingId:re,effects:V,parentComponent:J,container:we}=z;let xe=!1;z.isHydrating?z.isHydrating=!1:G||(xe=D&&q.transition&&q.transition.mode==="out-in",xe&&(D.transition.afterLeave=()=>{re===z.pendingId&&(w(q,we,r===N?S(D):r,0),Uo(V))}),D&&(T(D.el)===we&&(r=S(D)),_(D,J,z,!0)),xe||w(q,we,r,0)),Ds(z,q),z.pendingBranch=null,z.isInFallback=!1;let ge=z.parent,Se=!1;for(;ge;){if(ge.pendingBranch){ge.effects.push(...V),Se=!0;break}ge=ge.parent}!Se&&!xe&&Uo(V),z.effects=[],j&&t&&t.pendingBranch&&M===t.pendingId&&(t.deps--,t.deps===0&&!h&&t.resolve()),Pr(te,"onResolve")},fallback(G){if(!z.pendingBranch)return;const{vnode:h,activeBranch:te,parentComponent:D,container:q,namespace:re}=z;Pr(h,"onFallback");const V=S(te),J=()=>{z.isInFallback&&(m(null,G,q,V,D,null,re,c,u),Ds(z,G))},we=G.transition&&G.transition.mode==="out-in";we&&(te.transition.afterLeave=J),z.isInFallback=!0,_(te,D,null,!0),we||J()},move(G,h,te){z.activeBranch&&w(z.activeBranch,G,h,te),z.container=G},next(){return z.activeBranch&&S(z.activeBranch)},registerDep(G,h,te){const D=!!z.pendingBranch;D&&z.deps++;const q=G.vnode.el;G.asyncDep.catch(re=>{hs(re,G,0)}).then(re=>{if(G.isUnmounted||z.isUnmounted||z.pendingId!==G.suspenseId)return;G.asyncResolved=!0;const{vnode:V}=G;ec(G,re,!1),q&&(V.el=q);const J=!q&&G.subTree.el;h(G,V,T(q||G.subTree.el),q?null:S(G.subTree),z,a,te),J&&P(J),Yc(G,V.el),D&&--z.deps===0&&z.resolve()})},unmount(G,h){z.isUnmounted=!0,z.activeBranch&&_(z.activeBranch,n,G,h),z.pendingBranch&&_(z.pendingBranch,n,G,h)}};return z}function Ub(e,t,n,i,s,r,a,c,u){const g=t.suspense=ip(t,i,n,e.parentNode,document.createElement("div"),null,s,r,a,c,!0),p=u(e,g.pendingBranch=t.ssContent,n,g,r,a);return g.deps===0&&g.resolve(!1,!0),p}function Wb(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=Sf(i?n.default:n),e.ssFallback=i?Sf(n.fallback):ke(gt)}function Sf(e){let t;if(Ee(e)){const n=is&&e._c;n&&(e._d=!1,ne()),e=e(),n&&(e._d=!0,t=zt,rp())}return pe(e)&&(e=Pb(e)),e=tn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sp(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):Uo(e)}function Ds(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,Yc(i,s))}function qb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const tt=Symbol.for("v-fgt"),Mi=Symbol.for("v-txt"),gt=Symbol.for("v-cmt"),Zi=Symbol.for("v-stc"),Cr=[];let zt=null;function ne(e=!1){Cr.push(zt=e?null:[])}function rp(){Cr.pop(),zt=Cr[Cr.length-1]||null}let is=1;function Jl(e){is+=e,e<0&&zt&&(zt.hasOnce=!0)}function op(e){return e.dynamicChildren=is>0?zt||Is:null,rp(),is>0&&zt&&zt.push(e),e}function me(e,t,n,i,s,r){return op(U(e,t,n,i,s,r,!0))}function Ve(e,t,n,i,s){return op(ke(e,t,n,i,s,!0))}function gi(e){return e?e.__v_isVNode===!0:!1}function Dn(e,t){return e.type===t.type&&e.key===t.key}function Vb(e){}const ap=({key:e})=>e??null,Io=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||_t(e)||Ee(e)?{i:St,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,i=0,s=null,r=e===tt?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ap(t),ref:t&&Io(t),scopeId:Ca,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:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:St};return c?(Gc(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=Ne(n)?8:16),is>0&&!a&&zt&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&zt.push(u),u}const ke=Kb;function Kb(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===kd)&&(e=gt),gi(e)){const c=Gn(e,t,!0);return n&&Gc(c,n),is>0&&!r&&zt&&(c.shapeFlag&6?zt[zt.indexOf(e)]=c:zt.push(c)),c.patchFlag=-2,c}if(e0(e)&&(e=e.__vccOpts),t){t=lp(t);let{class:c,style:u}=t;c&&!Ne(c)&&(t.class=Xt(c)),Ze(u)&&(Sa(u)&&!pe(u)&&(u=Be({},u)),t.style=fs(u))}const a=Ne(e)?1:Xo(e)?128:yd(e)?64:Ze(e)?4:Ee(e)?2:0;return U(e,t,n,i,s,a,r,!0)}function lp(e){return e?Sa(e)||zd(e)?Be({},e):e:null}function Gn(e,t,n=!1,i=!1){const{props:s,ref:r,patchFlag:a,children:c,transition:u}=e,g=t?ka(s||{},t):s,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&ap(g),ref:t&&t.ref?n&&r?pe(r)?r.concat(Io(t)):[r,Io(t)]:Io(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&i&&pi(p,u.clone(p)),p}function It(e=" ",t=0){return ke(Mi,null,e,t)}function Xb(e,t){const n=ke(Zi,null,e);return n.staticCount=t,n}function Ae(e="",t=!1){return t?(ne(),Ve(gt,null,e)):ke(gt,null,e)}function tn(e){return e==null||typeof e=="boolean"?ke(gt):pe(e)?ke(tt,null,e.slice()):gi(e)?xi(e):ke(Mi,null,String(e))}function xi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function Gc(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),Gc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!zd(t)?t._ctx=St:s===3&&St&&(St.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ee(t)?(t={default:t,_ctx:St},n=32):(t=String(t),i&64?(n=16,t=[It(t)]):n=8);e.children=t,e.shapeFlag|=n}function ka(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const s in i)if(s==="class")t.class!==i.class&&(t.class=Xt([t.class,i.class]));else if(s==="style")t.style=fs([t.style,i.style]);else if(ls(s)){const r=t[s],a=i[s];a&&r!==a&&!(pe(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=i[s])}return t}function en(e,t,n,i=null){In(e,t,7,[n,i])}const Yb=Dd();let Gb=0;function cp(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||Yb,r={uid:Gb++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jd(i,s),emitsOptions:np(i,s),emit:null,emitted:null,propsDefaults:je,inheritAttrs:i.inheritAttrs,ctx:je,data:je,props:je,attrs:je,slots:je,refs:je,setupState:je,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Db.bind(null,r),e.ce&&e.ce(r),r}let wt=null;const On=()=>wt||St;let Yo,Ql;{const e=pa(),t=(n,i)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(i),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Yo=t("__VUE_INSTANCE_SETTERS__",n=>wt=n),Ql=t("__VUE_SSR_SETTERS__",n=>Hs=n)}const ss=e=>{const t=wt;return Yo(e),e.scope.on(),()=>{e.scope.off(),Yo(t)}},Zl=()=>{wt&&wt.scope.off(),Yo(null)};function up(e){return e.vnode.shapeFlag&4}let Hs=!1;function fp(e,t=!1,n=!1){t&&Ql(t);const{props:i,children:s}=e.vnode,r=up(e);Cb(e,i,r,t),Rb(e,s,n);const a=r?Jb(e,t):void 0;return t&&Ql(!1),a}function Jb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vl);const{setup:i}=n;if(i){zi();const s=e.setupContext=i.length>1?pp(e):null,r=ss(e),a=Ys(i,e,0,[e.props,s]),c=Ic(a);if(Fi(),r(),(c||e.sp)&&!Ni(e)&&Bc(e),c){if(a.then(Zl,Zl),t)return a.then(u=>{ec(e,u,t)}).catch(u=>{hs(u,e,0)});e.asyncDep=a}else ec(e,a,t)}else dp(e,t)}function ec(e,t,n){Ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ze(t)&&(e.setupState=Lc(t)),dp(e,n)}let Go,tc;function hp(e){Go=e,tc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,nb))}}const Qb=()=>!Go;function dp(e,t,n){const i=e.type;if(!e.render){if(!t&&Go&&!i.render){const s=i.template||Vc(e).template;if(s){const{isCustomElement:r,compilerOptions:a}=e.appContext.config,{delimiters:c,compilerOptions:u}=i,g=Be(Be({isCustomElement:r,delimiters:c},a),u);i.render=Go(s,g)}}e.render=i.render||Ft,tc&&tc(e)}{const s=ss(e);zi();try{mb(e)}finally{Fi(),s()}}}const Zb={get(e,t){return Lt(e,"get",""),e[t]}};function pp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zb),slots:e.slots,emit:e.emit,expose:t}}function Kr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Lc(rd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sr)return Sr[n](e)},has(t,n){return n in t||n in Sr}})):e.proxy}function nc(e,t=!0){return Ee(e)?e.displayName||e.name:e.name||t&&e.__name}function e0(e){return Ee(e)&&"__vccOpts"in e}const gp=(e,t)=>pv(e,t,Hs);function mp(e,t,n){const i=arguments.length;return i===2?Ze(t)&&!pe(t)?gi(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&gi(n)&&(n=[n]),ke(e,t,n))}function t0(){}function n0(e,t,n,i){const s=n[i];if(s&&yp(s,e))return s;const r=t();return r.memo=e.slice(),r.cacheIndex=i,n[i]=r}function yp(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i<n.length;i++)if(Vt(n[i],t[i]))return!1;return is>0&&zt&&zt.push(e),!0}const vp="3.5.12",i0=Ft,s0=Tv,r0=xs,o0=gd,a0={createComponentInstance:cp,setupComponent:fp,renderComponentRoot:Ro,setCurrentRenderingInstance:Nr,isVNode:gi,normalizeVNode:tn,getComponentPublicInstance:Kr,ensureValidVNode:qc,pushWarningContext:bv,popWarningContext:wv},l0=a0,c0=null,u0=null,f0=null;/**
* @vue/runtime-dom v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ic;const _f=typeof window<"u"&&window.trustedTypes;if(_f)try{ic=_f.createPolicy("vue",{createHTML:e=>e})}catch{}const bp=ic?e=>ic.createHTML(e):e=>e,h0="http://www.w3.org/2000/svg",d0="http://www.w3.org/1998/Math/MathML",ai=typeof document<"u"?document:null,Tf=ai&&ai.createElement("template"),p0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t==="svg"?ai.createElementNS(h0,e):t==="mathml"?ai.createElementNS(d0,e):n?ai.createElement(e,{is:n}):ai.createElement(e);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>ai.createTextNode(e),createComment:e=>ai.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ai.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const a=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Tf.innerHTML=bp(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const c=Tf.content;if(i==="svg"||i==="mathml"){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wi="transition",fr="animation",zs=Symbol("_vtc"),wp={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},Sp=Be({},Fc,wp),g0=e=>(e.displayName="Transition",e.props=Sp,e),_p=g0((e,{slots:t})=>mp(Sd,Tp(e),t)),Vi=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cf=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function Tp(e){const t={};for(const V in e)V in wp||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:g=a,appearToClass:p=c,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:w=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,S=m0(s),T=S&&S[0],P=S&&S[1],{onBeforeEnter:M,onEnter:j,onEnterCancelled:R,onLeave:N,onLeaveCancelled:z,onBeforeAppear:G=M,onAppear:h=j,onAppearCancelled:te=R}=t,D=(V,J,we)=>{Ti(V,J?p:c),Ti(V,J?g:a),we&&we()},q=(V,J)=>{V._isLeaving=!1,Ti(V,m),Ti(V,_),Ti(V,w),J&&J()},re=V=>(J,we)=>{const xe=V?h:j,ge=()=>D(J,V,we);Vi(xe,[J,ge]),Ef(()=>{Ti(J,V?u:r),ri(J,V?p:c),Cf(xe)||Af(J,i,T,ge)})};return Be(t,{onBeforeEnter(V){Vi(M,[V]),ri(V,r),ri(V,a)},onBeforeAppear(V){Vi(G,[V]),ri(V,u),ri(V,g)},onEnter:re(!1),onAppear:re(!0),onLeave(V,J){V._isLeaving=!0;const we=()=>q(V,J);ri(V,m),ri(V,w),Ep(),Ef(()=>{V._isLeaving&&(Ti(V,m),ri(V,_),Cf(N)||Af(V,i,P,we))}),Vi(N,[V,we])},onEnterCancelled(V){D(V,!1),Vi(R,[V])},onAppearCancelled(V){D(V,!0),Vi(te,[V])},onLeaveCancelled(V){q(V),Vi(z,[V])}})}function m0(e){if(e==null)return null;if(Ze(e))return[Cl(e.enter),Cl(e.leave)];{const t=Cl(e);return[t,t]}}function Cl(e){return Fo(e)}function ri(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zs]||(e[zs]=new Set)).add(t)}function Ti(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[zs];n&&(n.delete(t),n.size||(e[zs]=void 0))}function Ef(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let y0=0;function Af(e,t,n,i){const s=e._endId=++y0,r=()=>{s===e._endId&&i()};if(n!=null)return setTimeout(r,n);const{type:a,timeout:c,propCount:u}=Cp(e,t);if(!a)return i();const g=a+"end";let p=0;const m=()=>{e.removeEventListener(g,w),r()},w=_=>{_.target===e&&++p>=u&&m()};setTimeout(()=>{p<u&&m()},c+1),e.addEventListener(g,w)}function Cp(e,t){const n=window.getComputedStyle(e),i=S=>(n[S]||"").split(", "),s=i(`${wi}Delay`),r=i(`${wi}Duration`),a=xf(s,r),c=i(`${fr}Delay`),u=i(`${fr}Duration`),g=xf(c,u);let p=null,m=0,w=0;t===wi?a>0&&(p=wi,m=a,w=r.length):t===fr?g>0&&(p=fr,m=g,w=u.length):(m=Math.max(a,g),p=m>0?a>g?wi:fr:null,w=p?p===wi?r.length:u.length:0);const _=p===wi&&/\b(transform|all)(,|$)/.test(i(`${wi}Property`).toString());return{type:p,timeout:m,propCount:w,hasTransform:_}}function xf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>Rf(n)+Rf(e[i])))}function Rf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ep(){return document.body.offsetHeight}function v0(e,t,n){const i=e[zs];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Jo=Symbol("_vod"),Ap=Symbol("_vsh"),Na={beforeMount(e,{value:t},{transition:n}){e[Jo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),hr(e,!0),i.enter(e)):i.leave(e,()=>{hr(e,!1)}):hr(e,t))},beforeUnmount(e,{value:t}){hr(e,t)}};function hr(e,t){e.style.display=t?e[Jo]:"none",e[Ap]=!t}function b0(){Na.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const xp=Symbol("");function w0(e){const t=On();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>Qo(r,s))},i=()=>{const s=e(t.proxy);t.ce?Qo(t.ce,s):sc(t.subTree,s),n(s)};$c(()=>{Qd(i)}),qr(()=>{const s=new MutationObserver(i);s.observe(t.subTree.el.parentNode,{childList:!0}),Ia(()=>s.disconnect())})}function sc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{sc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Qo(e.el,t);else if(e.type===tt)e.children.forEach(n=>sc(n,t));else if(e.type===Zi){let{el:n,anchor:i}=e;for(;n&&(Qo(n,t),n!==i);)n=n.nextSibling}}function Qo(e,t){if(e.nodeType===1){const n=e.style;let i="";for(const s in t)n.setProperty(`--${s}`,t[s]),i+=`--${s}: ${t[s]};`;n[xp]=i}}const S0=/(^|;)\s*display\s*:/;function _0(e,t,n){const i=e.style,s=Ne(n);let r=!1;if(n&&!s){if(t)if(Ne(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&Oo(i,c,"")}else for(const a in t)n[a]==null&&Oo(i,a,"");for(const a in n)a==="display"&&(r=!0),Oo(i,a,n[a])}else if(s){if(t!==n){const a=i[xp];a&&(n+=";"+a),i.cssText=n,r=S0.test(n)}}else t&&e.removeAttribute("style");Jo in e&&(e[Jo]=r?i.display:"",e[Ap]&&(i.display="none"))}const If=/\s*!important$/;function Oo(e,t,n){if(pe(n))n.forEach(i=>Oo(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=T0(e,t);If.test(n)?e.setProperty(nn(i),n.replace(If,""),"important"):e[i]=n}}const Of=["Webkit","Moz","ms"],El={};function T0(e,t){const n=El[t];if(n)return n;let i=ot(t);if(i!=="filter"&&i in e)return El[t]=i;i=us(i);for(let s=0;s<Of.length;s++){const r=Of[s]+i;if(r in e)return El[t]=r}return t}const kf="http://www.w3.org/1999/xlink";function Nf(e,t,n,i,s,r=Ny(t)){i&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(kf,t.slice(6,t.length)):e.setAttributeNS(kf,t,n):n==null||r&&!Fh(n)?e.removeAttribute(t):e.setAttribute(t,r?"":ln(n)?String(n):n)}function Mf(e,t,n,i,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?bp(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const c=r==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Fh(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function ui(e,t,n,i){e.addEventListener(t,n,i)}function C0(e,t,n,i){e.removeEventListener(t,n,i)}const Df=Symbol("_vei");function E0(e,t,n,i,s=null){const r=e[Df]||(e[Df]={}),a=r[t];if(i&&a)a.value=i;else{const[c,u]=A0(t);if(i){const g=r[t]=I0(i,s);ui(e,c,g,u)}else a&&(C0(e,c,a,u),r[t]=void 0)}}const Pf=/(?:Once|Passive|Capture)$/;function A0(e){let t;if(Pf.test(e)){t={};let i;for(;i=e.match(Pf);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):nn(e.slice(2)),t]}let Al=0;const x0=Promise.resolve(),R0=()=>Al||(x0.then(()=>Al=0),Al=Date.now());function I0(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;In(O0(i,n.value),t,5,[i])};return n.value=e,n.attached=R0(),n}function O0(e,t){if(pe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const Lf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,k0=(e,t,n,i,s,r)=>{const a=s==="svg";t==="class"?v0(e,i,a):t==="style"?_0(e,n,i):ls(t)?xc(t)||E0(e,t,n,i,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):N0(e,t,i,a))?(Mf(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Nf(e,t,i,a,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ne(i))?Mf(e,ot(t),i,r,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Nf(e,t,i,a))};function N0(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lf(t)&&Ee(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Lf(t)&&Ne(n)?!1:t in e}const Hf={};/*! #__NO_SIDE_EFFECTS__ */function Rp(e,t,n){const i=jc(e,t);ha(i)&&Be(i,t);class s extends Ma{constructor(a){super(i,a,n)}}return s.def=i,s}/*! #__NO_SIDE_EFFECTS__ */const M0=(e,t)=>Rp(e,t,jp),D0=typeof HTMLElement<"u"?HTMLElement:class{};class Ma extends D0{constructor(t,n={},i=js){super(),this._def=t,this._props=n,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==js?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ma){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Ta(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const s of i)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=i;let c;if(r&&!pe(r))for(const u in r){const g=r[u];(g===Number||g&&g.type===Number)&&(u in this._props&&(this._props[u]=Fo(this._props[u])),(c||(c=Object.create(null)))[ot(u)]=!0)}this._numberProps=c,s&&this._resolveProps(i),this.shadowRoot&&this._applyStyles(a),this._mount(i)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(i=>t(this._def=i,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const i in n)Ge(this,i)||Object.defineProperty(this,i,{get:()=>_a(n[i])})}_resolveProps(t){const{props:n}=t,i=pe(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&i.includes(s)&&this._setProp(s,this[s]);for(const s of i.map(ot))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let i=n?this.getAttribute(t):Hf;const s=ot(t);n&&this._numberProps&&this._numberProps[s]&&(i=Fo(i)),this._setProp(s,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,s=!1){n!==this._props[t]&&(n===Hf?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(nn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(nn(t),n+""):n||this.removeAttribute(nn(t))))}_update(){Fp(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ke(this._def,Be(t,this._props));return this._instance||(n.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,ha(a[0])?Be({detail:a},a[0]):{detail:a}))};i.emit=(r,...a)=>{s(r,a),nn(r)!==r&&s(nn(r),a)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");i&&r.setAttribute("nonce",i),r.textContent=t[s],this.shadowRoot.prepend(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const i=n.nodeType===1&&n.getAttribute("slot")||"default";(t[i]||(t[i]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let i=0;i<t.length;i++){const s=t[i],r=s.getAttribute("name")||"default",a=this._slots[r],c=s.parentNode;if(a)for(const u of a){if(n&&u.nodeType===1){const g=n+"-s",p=document.createTreeWalker(u,1);u.setAttribute(g,"");let m;for(;m=p.nextNode();)m.setAttribute(g,"")}c.insertBefore(u,s)}else for(;s.firstChild;)c.insertBefore(s.firstChild,s);c.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Ip(e){const t=On(),n=t&&t.ce;return n||null}function P0(){const e=Ip();return e&&e.shadowRoot}function L0(e="$style"){{const t=On();if(!t)return je;const n=t.type.__cssModules;if(!n)return je;const i=n[e];return i||je}}const Op=new WeakMap,kp=new WeakMap,Zo=Symbol("_moveCb"),zf=Symbol("_enterCb"),H0=e=>(delete e.props.mode,e),z0=H0({name:"TransitionGroup",props:Be({},Sp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=On(),i=zc();let s,r;return xa(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!U0(s[0].el,n.vnode.el,a))return;s.forEach(j0),s.forEach(B0);const c=s.filter($0);Ep(),c.forEach(u=>{const g=u.el,p=g.style;ri(g,a),p.transform=p.webkitTransform=p.transitionDuration="";const m=g[Zo]=w=>{w&&w.target!==g||(!w||/transform$/.test(w.propertyName))&&(g.removeEventListener("transitionend",m),g[Zo]=null,Ti(g,a))};g.addEventListener("transitionend",m)})}),()=>{const a=We(e),c=Tp(a);let u=a.tag||tt;if(s=[],r)for(let g=0;g<r.length;g++){const p=r[g];p.el&&p.el instanceof Element&&(s.push(p),pi(p,Ls(p,c,i,n)),Op.set(p,p.el.getBoundingClientRect()))}r=t.default?Ea(t.default()):[];for(let g=0;g<r.length;g++){const p=r[g];p.key!=null&&pi(p,Ls(p,c,i,n))}return ke(u,null,r)}}}),F0=z0;function j0(e){const t=e.el;t[Zo]&&t[Zo](),t[zf]&&t[zf]()}function B0(e){kp.set(e,e.el.getBoundingClientRect())}function $0(e){const t=Op.get(e),n=kp.get(e),i=t.left-n.left,s=t.top-n.top;if(i||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${i}px,${s}px)`,r.transitionDuration="0s",e}}function U0(e,t,n){const i=e.cloneNode(),s=e[zs];s&&s.forEach(c=>{c.split(/\s+/).forEach(u=>u&&i.classList.remove(u))}),n.split(/\s+/).forEach(c=>c&&i.classList.add(c)),i.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(i);const{hasTransform:a}=Cp(i);return r.removeChild(i),a}const Hi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pe(t)?n=>Ns(t,n):t};function W0(e){e.target.composing=!0}function Ff(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xn=Symbol("_assign"),ea={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[xn]=Hi(s);const r=i||s.props&&s.props.type==="number";ui(e,t?"change":"input",a=>{if(a.target.composing)return;let c=e.value;n&&(c=c.trim()),r&&(c=zo(c)),e[xn](c)}),n&&ui(e,"change",()=>{e.value=e.value.trim()}),t||(ui(e,"compositionstart",W0),ui(e,"compositionend",Ff),ui(e,"change",Ff))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:s,number:r}},a){if(e[xn]=Hi(a),e.composing)return;const c=(r||e.type==="number")&&!/^0\d/.test(e.value)?zo(e.value):e.value,u=t??"";c!==u&&(document.activeElement===e&&e.type!=="range"&&(i&&t===n||s&&e.value.trim()===u)||(e.value=u))}},Yn={deep:!0,created(e,t,n){e[xn]=Hi(n),ui(e,"change",()=>{const i=e._modelValue,s=Fs(e),r=e.checked,a=e[xn];if(pe(i)){const c=ga(i,s),u=c!==-1;if(r&&!u)a(i.concat(s));else if(!r&&u){const g=[...i];g.splice(c,1),a(g)}}else if(cs(i)){const c=new Set(i);r?c.add(s):c.delete(s),a(c)}else a(Np(e,r))})},mounted:jf,beforeUpdate(e,t,n){e[xn]=Hi(n),jf(e,t,n)}};function jf(e,{value:t,oldValue:n},i){e._modelValue=t;let s;if(pe(t))s=ga(t,i.props.value)>-1;else if(cs(t))s=t.has(i.props.value);else{if(t===n)return;s=Pi(t,Np(e,!0))}e.checked!==s&&(e.checked=s)}const Jc={created(e,{value:t},n){e.checked=Pi(t,n.props.value),e[xn]=Hi(n),ui(e,"change",()=>{e[xn](Fs(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[xn]=Hi(i),t!==n&&(e.checked=Pi(t,i.props.value))}},Da={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=cs(t);ui(e,"change",()=>{const r=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?zo(Fs(a)):Fs(a));e[xn](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,Ta(()=>{e._assigning=!1})}),e[xn]=Hi(i)},mounted(e,{value:t}){Bf(e,t)},beforeUpdate(e,t,n){e[xn]=Hi(n)},updated(e,{value:t}){e._assigning||Bf(e,t)}};function Bf(e,t){const n=e.multiple,i=pe(t);if(!(n&&!i&&!cs(t))){for(let s=0,r=e.options.length;s<r;s++){const a=e.options[s],c=Fs(a);if(n)if(i){const u=typeof c;u==="string"||u==="number"?a.selected=t.some(g=>String(g)===String(c)):a.selected=ga(t,c)>-1}else a.selected=t.has(c);else if(Pi(Fs(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fs(e){return"_value"in e?e._value:e.value}function Np(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Mp={created(e,t,n){vo(e,t,n,null,"created")},mounted(e,t,n){vo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){vo(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){vo(e,t,n,i,"updated")}};function Dp(e,t){switch(e){case"SELECT":return Da;case"TEXTAREA":return ea;default:switch(t){case"checkbox":return Yn;case"radio":return Jc;default:return ea}}}function vo(e,t,n,i,s){const a=Dp(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,i)}function q0(){ea.getSSRProps=({value:e})=>({value:e}),Jc.getSSRProps=({value:e},t)=>{if(t.props&&Pi(t.props.value,e))return{checked:!0}},Yn.getSSRProps=({value:e},t)=>{if(pe(e)){if(t.props&&ga(e,t.props.value)>-1)return{checked:!0}}else if(cs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Mp.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Dp(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const V0=["ctrl","shift","alt","meta"],K0={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>V0.some(n=>e[`${n}Key`]&&!t.includes(n))},Pp=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(s,...r)=>{for(let a=0;a<t.length;a++){const c=K0[t[a]];if(c&&c(s,t))return}return e(s,...r)})},X0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Y0=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=s=>{if(!("key"in s))return;const r=nn(s.key);if(t.some(a=>a===r||X0[a]===r))return e(s)})},Lp=Be({patchProp:k0},p0);let Er,$f=!1;function Hp(){return Er||(Er=qd(Lp))}function zp(){return Er=$f?Er:Vd(Lp),$f=!0,Er}const Fp=(...e)=>{Hp().render(...e)},G0=(...e)=>{zp().hydrate(...e)},js=(...e)=>{const t=Hp().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=$p(i);if(!s)return;const r=t._component;!Ee(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,Bp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},jp=(...e)=>{const t=zp().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=$p(i);if(s)return n(s,!0,Bp(s))},t};function Bp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $p(e){return Ne(e)?document.querySelector(e):e}let Uf=!1;const J0=()=>{Uf||(Uf=!0,q0(),b0())},Q0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Sd,BaseTransitionPropsValidators:Fc,Comment:gt,DeprecationTypes:f0,EffectScope:kc,ErrorCodes:_v,ErrorTypeStrings:s0,Fragment:tt,KeepAlive:Gv,ReactiveEffect:Rr,Static:Zi,Suspense:jb,Teleport:Nv,Text:Mi,TrackOpTypes:gv,Transition:_p,TransitionGroup:F0,TriggerOpTypes:mv,VueElement:Ma,assertNumber:Sv,callWithAsyncErrorHandling:In,callWithErrorHandling:Ys,camelize:ot,capitalize:us,cloneVNode:Gn,compatUtils:u0,computed:gp,createApp:js,createBlock:Ve,createCommentVNode:Ae,createElementBlock:me,createElementVNode:U,createHydrationRenderer:Vd,createPropsRestProxy:pb,createRenderer:qd,createSSRApp:jp,createSlots:eb,createStaticVNode:Xb,createTextVNode:It,createVNode:ke,customRef:ld,defineAsyncComponent:Xv,defineComponent:jc,defineCustomElement:Rp,defineEmits:sb,defineExpose:rb,defineModel:lb,defineOptions:ob,defineProps:ib,defineSSRCustomElement:M0,defineSlots:ab,devtools:r0,effect:Hy,effectScope:Dy,getCurrentInstance:On,getCurrentScope:$h,getCurrentWatcher:yv,getTransitionRawChildren:Ea,guardReactiveProps:lp,h:mp,handleError:hs,hasInjectionContext:Tb,hydrate:G0,hydrateOnIdle:$v,hydrateOnInteraction:Vv,hydrateOnMediaQuery:qv,hydrateOnVisible:Wv,initCustomFormatter:t0,initDirectivesForSSR:J0,inject:_r,isMemoSame:yp,isProxy:Sa,isReactive:ki,isReadonly:Li,isRef:_t,isRuntimeOnly:Qb,isShallow:gn,isVNode:gi,markRaw:rd,mergeDefaults:hb,mergeModels:db,mergeProps:ka,nextTick:Ta,normalizeClass:Xt,normalizeProps:_y,normalizeStyle:fs,onActivated:Td,onBeforeMount:$c,onBeforeUnmount:Ra,onBeforeUpdate:Ad,onDeactivated:Cd,onErrorCaptured:Od,onMounted:qr,onRenderTracked:Id,onRenderTriggered:Rd,onScopeDispose:Py,onServerPrefetch:xd,onUnmounted:Ia,onUpdated:xa,onWatcherCleanup:ud,openBlock:ne,popScopeId:xv,provide:Pd,proxyRefs:Lc,pushScopeId:Av,queuePostFlushCb:Uo,reactive:ba,readonly:Pc,ref:br,registerRuntimeCompiler:hp,render:Fp,renderList:hi,renderSlot:Qn,resolveComponent:dt,resolveDirective:Zv,resolveDynamicComponent:Mr,resolveFilter:c0,resolveTransitionHooks:Ls,setBlockTracking:Jl,setDevtoolsHook:o0,setTransitionHooks:pi,shallowReactive:sd,shallowReadonly:iv,shallowRef:od,ssrContextKey:Gd,ssrUtils:l0,stop:zy,toDisplayString:le,toHandlerKey:ks,toHandlers:tb,toRaw:We,toRef:hv,toRefs:cv,toValue:ov,transformVNodeArgs:Vb,triggerRef:rv,unref:_a,useAttrs:fb,useCssModule:L0,useCssVars:w0,useHost:Ip,useId:Dv,useModel:Mb,useSSRContext:Jd,useShadowRoot:P0,useSlots:ub,useTemplateRef:Pv,useTransitionState:zc,vModelCheckbox:Yn,vModelDynamic:Mp,vModelRadio:Jc,vModelSelect:Da,vModelText:ea,vShow:Na,version:vp,warn:i0,watch:Tr,watchEffect:kb,watchPostEffect:Qd,watchSyncEffect:Zd,withAsyncContext:gb,withCtx:cn,withDefaults:cb,withDirectives:An,withKeys:Y0,withMemo:n0,withModifiers:Pp,withScopeId:Rv},Symbol.toStringTag,{value:"Module"}));/**
* @vue/compiler-core v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Lr=Symbol(""),Ar=Symbol(""),Qc=Symbol(""),ta=Symbol(""),Up=Symbol(""),rs=Symbol(""),Wp=Symbol(""),qp=Symbol(""),Zc=Symbol(""),eu=Symbol(""),Xr=Symbol(""),tu=Symbol(""),Vp=Symbol(""),nu=Symbol(""),iu=Symbol(""),su=Symbol(""),ru=Symbol(""),ou=Symbol(""),au=Symbol(""),Kp=Symbol(""),Xp=Symbol(""),Pa=Symbol(""),na=Symbol(""),lu=Symbol(""),cu=Symbol(""),Hr=Symbol(""),Yr=Symbol(""),uu=Symbol(""),rc=Symbol(""),Z0=Symbol(""),oc=Symbol(""),ia=Symbol(""),ew=Symbol(""),tw=Symbol(""),fu=Symbol(""),nw=Symbol(""),iw=Symbol(""),hu=Symbol(""),Yp=Symbol(""),Bs={[Lr]:"Fragment",[Ar]:"Teleport",[Qc]:"Suspense",[ta]:"KeepAlive",[Up]:"BaseTransition",[rs]:"openBlock",[Wp]:"createBlock",[qp]:"createElementBlock",[Zc]:"createVNode",[eu]:"createElementVNode",[Xr]:"createCommentVNode",[tu]:"createTextVNode",[Vp]:"createStaticVNode",[nu]:"resolveComponent",[iu]:"resolveDynamicComponent",[su]:"resolveDirective",[ru]:"resolveFilter",[ou]:"withDirectives",[au]:"renderList",[Kp]:"renderSlot",[Xp]:"createSlots",[Pa]:"toDisplayString",[na]:"mergeProps",[lu]:"normalizeClass",[cu]:"normalizeStyle",[Hr]:"normalizeProps",[Yr]:"guardReactiveProps",[uu]:"toHandlers",[rc]:"camelize",[Z0]:"capitalize",[oc]:"toHandlerKey",[ia]:"setBlockTracking",[ew]:"pushScopeId",[tw]:"popScopeId",[fu]:"withCtx",[nw]:"unref",[iw]:"isRef",[hu]:"withMemo",[Yp]:"isMemoSame"};function sw(e){Object.getOwnPropertySymbols(e).forEach(t=>{Bs[t]=e[t]})}const vn={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function rw(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:vn}}function zr(e,t,n,i,s,r,a,c=!1,u=!1,g=!1,p=vn){return e&&(c?(e.helper(rs),e.helper(Ws(e.inSSR,g))):e.helper(Us(e.inSSR,g)),a&&e.helper(ou)),{type:13,tag:t,props:n,children:i,patchFlag:s,dynamicProps:r,directives:a,isBlock:c,disableTracking:u,isComponent:g,loc:p}}function es(e,t=vn){return{type:17,loc:t,elements:e}}function Cn(e,t=vn){return{type:15,loc:t,properties:e}}function pt(e,t){return{type:16,loc:vn,key:Ne(e)?De(e,!0):e,value:t}}function De(e,t=!1,n=vn,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function Ln(e,t=vn){return{type:8,loc:t,children:e}}function bt(e,t=[],n=vn){return{type:14,loc:n,callee:e,arguments:t}}function $s(e,t=void 0,n=!1,i=!1,s=vn){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:s}}function ac(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:vn}}function ow(e,t,n=!1){return{type:20,index:e,value:t,needPauseTracking:n,needArraySpread:!1,loc:vn}}function aw(e){return{type:21,body:e,loc:vn}}function Us(e,t){return e||t?Zc:eu}function Ws(e,t){return e||t?Wp:qp}function du(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(Us(i,e.isComponent)),t(rs),t(Ws(i,e.isComponent)))}const Wf=new Uint8Array([123,123]),qf=new Uint8Array([125,125]);function Vf(e){return e>=97&&e<=122||e>=65&&e<=90}function dn(e){return e===32||e===10||e===9||e===12||e===13}function Si(e){return e===47||e===62||dn(e)}function sa(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Dt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class lw{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Wf,this.delimiterClose=qf,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Wf,this.delimiterClose=qf}getPos(t){let n=1,i=t+1;for(let s=this.newlines.length-1;s>=0;s--){const r=this.newlines[s];if(t>r){n=s+2,i=t-r;break}}return{column:i,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Si(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||dn(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Dt.TitleEnd||this.currentSequence===Dt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Dt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Dt.Cdata.length&&(this.state=28,this.currentSequence=Dt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Dt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Vf(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Si(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Si(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(sa("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){dn(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Vf(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||dn(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):dn(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):dn(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Si(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Si(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Si(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Si(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Si(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):dn(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):dn(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){dn(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Dt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Dt.ScriptEnd[3]?this.startSpecial(Dt.ScriptEnd,4):t===Dt.StyleEnd[3]?this.startSpecial(Dt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Dt.TitleEnd[3]?this.startSpecial(Dt.TitleEnd,4):t===Dt.TextareaEnd[3]?this.startSpecial(Dt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Dt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function Kf(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function ts(e,t){const n=Kf("MODE",t),i=Kf(e,t);return n===3?i===!0:i!==!1}function Fr(e,t,n,...i){return ts(e,t)}function pu(e){throw e}function Gp(e){}function lt(e,t,n,i){const s=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(s));return r.code=e,r.loc=t,r}const sn=e=>e.type===4&&e.isStatic;function Jp(e){switch(e){case"Teleport":case"teleport":return Ar;case"Suspense":case"suspense":return Qc;case"KeepAlive":case"keep-alive":return ta;case"BaseTransition":case"base-transition":return Up}}const cw=/^\d|[^\$\w\xA0-\uFFFF]/,gu=e=>!cw.test(e),uw=/[A-Za-z_$\xA0-\uFFFF]/,fw=/[\.\?\w$\xA0-\uFFFF]/,hw=/\s+[.[]\s*|\s*[.[]\s+/g,Qp=e=>e.type===4?e.content:e.loc.source,dw=e=>{const t=Qp(e).trim().replace(hw,c=>c.trim());let n=0,i=[],s=0,r=0,a=null;for(let c=0;c<t.length;c++){const u=t.charAt(c);switch(n){case 0:if(u==="[")i.push(n),n=1,s++;else if(u==="(")i.push(n),n=2,r++;else if(!(c===0?uw:fw).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(i.push(n),n=3,a=u):u==="["?s++:u==="]"&&(--s||(n=i.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")i.push(n),n=3,a=u;else if(u==="(")r++;else if(u===")"){if(c===t.length-1)return!1;--r||(n=i.pop())}break;case 3:u===a&&(n=i.pop(),a=null);break}}return!s&&!r},Zp=dw,pw=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,gw=e=>pw.test(Qp(e)),mw=gw;function Tn(e,t,n=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&(n||s.exp)&&(Ne(t)?s.name===t:t.test(s.name)))return s}}function La(e,t,n=!1,i=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||i))return r}else if(r.name==="bind"&&(r.exp||i)&&Xi(r.arg,t))return r}}function Xi(e,t){return!!(e&&sn(e)&&e.content===t)}function yw(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function xl(e){return e.type===5||e.type===2}function vw(e){return e.type===7&&e.name==="slot"}function ra(e){return e.type===1&&e.tagType===3}function oa(e){return e.type===1&&e.tagType===2}const bw=new Set([Hr,Yr]);function eg(e,t=[]){if(e&&!Ne(e)&&e.type===14){const n=e.callee;if(!Ne(n)&&bw.has(n))return eg(e.arguments[0],t.concat(e))}return[e,t]}function aa(e,t,n){let i,s=e.type===13?e.props:e.arguments[2],r=[],a;if(s&&!Ne(s)&&s.type===14){const c=eg(s);s=c[0],r=c[1],a=r[r.length-1]}if(s==null||Ne(s))i=Cn([t]);else if(s.type===14){const c=s.arguments[0];!Ne(c)&&c.type===15?Xf(t,c)||c.properties.unshift(t):s.callee===uu?i=bt(n.helper(na),[Cn([t]),s]):s.arguments.unshift(Cn([t])),!i&&(i=s)}else s.type===15?(Xf(t,s)||s.properties.unshift(t),i=s):(i=bt(n.helper(na),[Cn([t]),s]),a&&a.callee===Yr&&(a=r[r.length-2]));e.type===13?a?a.arguments[0]=i:e.props=i:a?a.arguments[0]=i:e.arguments[2]=i}function Xf(e,t){let n=!1;if(e.key.type===4){const i=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===i)}return n}function jr(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,i)=>n==="-"?"_":e.charCodeAt(i).toString())}`}function ww(e){return e.type===14&&e.callee===hu?e.arguments[1].returns:e}const Sw=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,tg={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:pr,isPreTag:pr,isIgnoreNewlineTag:pr,isCustomElement:pr,onError:pu,onWarn:Gp,comments:!1,prefixIdentifiers:!1};let Je=tg,Br=null,di="",Pt=null,Ue=null,Zt="",oi=-1,Ki=-1,mu=0,Ri=!1,lc=null;const at=[],ft=new lw(at,{onerr:ii,ontext(e,t){bo(Rt(e,t),e,t)},ontextentity(e,t,n){bo(e,t,n)},oninterpolation(e,t){if(Ri)return bo(Rt(e,t),e,t);let n=e+ft.delimiterOpen.length,i=t-ft.delimiterClose.length;for(;dn(di.charCodeAt(n));)n++;for(;dn(di.charCodeAt(i-1));)i--;let s=Rt(n,i);s.includes("&")&&(s=Je.decodeEntities(s,!1)),cc({type:5,content:No(s,!1,ht(n,i)),loc:ht(e,t)})},onopentagname(e,t){const n=Rt(e,t);Pt={type:1,tag:n,ns:Je.getNamespace(n,at[0],Je.ns),tagType:0,props:[],children:[],loc:ht(e-1,t),codegenNode:void 0}},onopentagend(e){Gf(e)},onclosetag(e,t){const n=Rt(e,t);if(!Je.isVoidTag(n)){let i=!1;for(let s=0;s<at.length;s++)if(at[s].tag.toLowerCase()===n.toLowerCase()){i=!0,s>0&&ii(24,at[0].loc.start.offset);for(let a=0;a<=s;a++){const c=at.shift();ko(c,t,a<s)}break}i||ii(23,ng(e,60))}},onselfclosingtag(e){const t=Pt.tag;Pt.isSelfClosing=!0,Gf(e),at[0]&&at[0].tag===t&&ko(at.shift(),e)},onattribname(e,t){Ue={type:6,name:Rt(e,t),nameLoc:ht(e,t),value:void 0,loc:ht(e)}},ondirname(e,t){const n=Rt(e,t),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ri&&i===""&&ii(26,e),Ri||i==="")Ue={type:6,name:n,nameLoc:ht(e,t),value:void 0,loc:ht(e)};else if(Ue={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[De("prop")]:[],loc:ht(e)},i==="pre"){Ri=ft.inVPre=!0,lc=Pt;const s=Pt.props;for(let r=0;r<s.length;r++)s[r].type===7&&(s[r]=Nw(s[r]))}},ondirarg(e,t){if(e===t)return;const n=Rt(e,t);if(Ri)Ue.name+=n,Yi(Ue.nameLoc,t);else{const i=n[0]!=="[";Ue.arg=No(i?n:n.slice(1,-1),i,ht(e,t),i?3:0)}},ondirmodifier(e,t){const n=Rt(e,t);if(Ri)Ue.name+="."+n,Yi(Ue.nameLoc,t);else if(Ue.name==="slot"){const i=Ue.arg;i&&(i.content+="."+n,Yi(i.loc,t))}else{const i=De(n,!0,ht(e,t));Ue.modifiers.push(i)}},onattribdata(e,t){Zt+=Rt(e,t),oi<0&&(oi=e),Ki=t},onattribentity(e,t,n){Zt+=e,oi<0&&(oi=t),Ki=n},onattribnameend(e){const t=Ue.loc.start.offset,n=Rt(t,e);Ue.type===7&&(Ue.rawName=n),Pt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&ii(2,t)},onattribend(e,t){if(Pt&&Ue){if(Yi(Ue.loc,t),e!==0)if(Zt.includes("&")&&(Zt=Je.decodeEntities(Zt,!0)),Ue.type===6)Ue.name==="class"&&(Zt=sg(Zt).trim()),e===1&&!Zt&&ii(13,t),Ue.value={type:2,content:Zt,loc:e===1?ht(oi,Ki):ht(oi-1,Ki+1)},ft.inSFCRoot&&Pt.tag==="template"&&Ue.name==="lang"&&Zt&&Zt!=="html"&&ft.enterRCDATA(sa("</template"),0);else{let n=0;Ue.exp=No(Zt,!1,ht(oi,Ki),0,n),Ue.name==="for"&&(Ue.forParseResult=Tw(Ue.exp));let i=-1;Ue.name==="bind"&&(i=Ue.modifiers.findIndex(s=>s.content==="sync"))>-1&&Fr("COMPILER_V_BIND_SYNC",Je,Ue.loc,Ue.rawName)&&(Ue.name="model",Ue.modifiers.splice(i,1))}(Ue.type!==7||Ue.name!=="pre")&&Pt.props.push(Ue)}Zt="",oi=Ki=-1},oncomment(e,t){Je.comments&&cc({type:3,content:Rt(e,t),loc:ht(e-4,t+3)})},onend(){const e=di.length;for(let t=0;t<at.length;t++)ko(at[t],e-1),ii(24,at[t].loc.start.offset)},oncdata(e,t){at[0].ns!==0?bo(Rt(e,t),e,t):ii(1,e-9)},onprocessinginstruction(e){(at[0]?at[0].ns:Je.ns)===0&&ii(21,e-1)}}),Yf=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,_w=/^\(|\)$/g;function Tw(e){const t=e.loc,n=e.content,i=n.match(Sw);if(!i)return;const[,s,r]=i,a=(m,w,_=!1)=>{const S=t.start.offset+w,T=S+m.length;return No(m,!1,ht(S,T),0,_?1:0)},c={source:a(r.trim(),n.indexOf(r,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=s.trim().replace(_w,"").trim();const g=s.indexOf(u),p=u.match(Yf);if(p){u=u.replace(Yf,"").trim();const m=p[1].trim();let w;if(m&&(w=n.indexOf(m,g+u.length),c.key=a(m,w,!0)),p[2]){const _=p[2].trim();_&&(c.index=a(_,n.indexOf(_,c.key?w+m.length:g+u.length),!0))}}return u&&(c.value=a(u,g,!0)),c}function Rt(e,t){return di.slice(e,t)}function Gf(e){ft.inSFCRoot&&(Pt.innerLoc=ht(e+1,e+1)),cc(Pt);const{tag:t,ns:n}=Pt;n===0&&Je.isPreTag(t)&&mu++,Je.isVoidTag(t)?ko(Pt,e):(at.unshift(Pt),(n===1||n===2)&&(ft.inXML=!0)),Pt=null}function bo(e,t,n){{const r=at[0]&&at[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=Je.decodeEntities(e,!1))}const i=at[0]||Br,s=i.children[i.children.length-1];s&&s.type===2?(s.content+=e,Yi(s.loc,n)):i.children.push({type:2,content:e,loc:ht(t,n)})}function ko(e,t,n=!1){n?Yi(e.loc,ng(t,60)):Yi(e.loc,Cw(t,62)+1),ft.inSFCRoot&&(e.children.length?e.innerLoc.end=Be({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Be({},e.innerLoc.start),e.innerLoc.source=Rt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:s,children:r}=e;if(Ri||(i==="slot"?e.tagType=2:Jf(e)?e.tagType=3:Aw(e)&&(e.tagType=1)),ft.inRCDATA||(e.children=ig(r)),s===0&&Je.isIgnoreNewlineTag(i)){const a=r[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}s===0&&Je.isPreTag(i)&&mu--,lc===e&&(Ri=ft.inVPre=!1,lc=null),ft.inXML&&(at[0]?at[0].ns:Je.ns)===0&&(ft.inXML=!1);{const a=e.props;if(!ft.inSFCRoot&&ts("COMPILER_NATIVE_TEMPLATE",Je)&&e.tag==="template"&&!Jf(e)){const u=at[0]||Br,g=u.children.indexOf(e);u.children.splice(g,1,...e.children)}const c=a.find(u=>u.type===6&&u.name==="inline-template");c&&Fr("COMPILER_INLINE_TEMPLATE",Je,c.loc)&&e.children.length&&(c.value={type:2,content:Rt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:c.loc})}}function Cw(e,t){let n=e;for(;di.charCodeAt(n)!==t&&n<di.length-1;)n++;return n}function ng(e,t){let n=e;for(;di.charCodeAt(n)!==t&&n>=0;)n--;return n}const Ew=new Set(["if","else","else-if","for","slot"]);function Jf({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Ew.has(t[n].name))return!0}return!1}function Aw({tag:e,props:t}){if(Je.isCustomElement(e))return!1;if(e==="component"||xw(e.charCodeAt(0))||Jp(e)||Je.isBuiltInComponent&&Je.isBuiltInComponent(e)||Je.isNativeTag&&!Je.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const i=t[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(Fr("COMPILER_IS_ON_ELEMENT",Je,i.loc))return!0}}else if(i.name==="bind"&&Xi(i.arg,"is")&&Fr("COMPILER_IS_ON_ELEMENT",Je,i.loc))return!0}return!1}function xw(e){return e>64&&e<91}const Rw=/\r\n/g;function ig(e,t){const n=Je.whitespace!=="preserve";let i=!1;for(let s=0;s<e.length;s++){const r=e[s];if(r.type===2)if(mu)r.content=r.content.replace(Rw,`
`);else if(Iw(r.content)){const a=e[s-1]&&e[s-1].type,c=e[s+1]&&e[s+1].type;!a||!c||n&&(a===3&&(c===3||c===1)||a===1&&(c===3||c===1&&Ow(r.content)))?(i=!0,e[s]=null):r.content=" "}else n&&(r.content=sg(r.content))}return i?e.filter(Boolean):e}function Iw(e){for(let t=0;t<e.length;t++)if(!dn(e.charCodeAt(t)))return!1;return!0}function Ow(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function sg(e){let t="",n=!1;for(let i=0;i<e.length;i++)dn(e.charCodeAt(i))?n||(t+=" ",n=!0):(t+=e[i],n=!1);return t}function cc(e){(at[0]||Br).children.push(e)}function ht(e,t){return{start:ft.getPos(e),end:t==null?t:ft.getPos(t),source:t==null?t:Rt(e,t)}}function kw(e){return ht(e.start.offset,e.end.offset)}function Yi(e,t){e.end=ft.getPos(t),e.source=Rt(e.start.offset,t)}function Nw(e){const t={type:6,name:e.rawName,nameLoc:ht(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function No(e,t=!1,n,i=0,s=0){return De(e,t,n,i)}function ii(e,t,n){Je.onError(lt(e,ht(t,t)))}function Mw(){ft.reset(),Pt=null,Ue=null,Zt="",oi=-1,Ki=-1,at.length=0}function Dw(e,t){if(Mw(),di=e,Je=Be({},tg),t){let s;for(s in t)t[s]!=null&&(Je[s]=t[s])}ft.mode=Je.parseMode==="html"?1:Je.parseMode==="sfc"?2:0,ft.inXML=Je.ns===1||Je.ns===2;const n=t&&t.delimiters;n&&(ft.delimiterOpen=sa(n[0]),ft.delimiterClose=sa(n[1]));const i=Br=rw([],e);return ft.parse(di),i.loc=ht(0,e.length),i.children=ig(i.children),Br=null,i}function Pw(e,t){Mo(e,void 0,t,rg(e,e.children[0]))}function rg(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!oa(t)}function Mo(e,t,n,i=!1,s=!1){const{children:r}=e,a=[];for(let p=0;p<r.length;p++){const m=r[p];if(m.type===1&&m.tagType===0){const w=i?0:pn(m,n);if(w>0){if(w>=2){m.codegenNode.patchFlag=-1,a.push(m);continue}}else{const _=m.codegenNode;if(_.type===13){const S=_.patchFlag;if((S===void 0||S===512||S===1)&&ag(m,n)>=2){const T=lg(m);T&&(_.props=n.hoist(T))}_.dynamicProps&&(_.dynamicProps=n.hoist(_.dynamicProps))}}}else if(m.type===12&&(i?0:pn(m,n))>=2){a.push(m);continue}if(m.type===1){const w=m.tagType===1;w&&n.scopes.vSlot++,Mo(m,e,n,!1,s),w&&n.scopes.vSlot--}else if(m.type===11)Mo(m,e,n,m.children.length===1,!0);else if(m.type===9)for(let w=0;w<m.branches.length;w++)Mo(m.branches[w],e,n,m.branches[w].children.length===1,s)}let c=!1;if(a.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&pe(e.codegenNode.children))e.codegenNode.children=u(es(e.codegenNode.children)),c=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!pe(e.codegenNode.children)&&e.codegenNode.children.type===15){const p=g(e.codegenNode,"default");p&&(p.returns=u(es(p.returns)),c=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!pe(t.codegenNode.children)&&t.codegenNode.children.type===15){const p=Tn(e,"slot",!0),m=p&&p.arg&&g(t.codegenNode,p.arg);m&&(m.returns=u(es(m.returns)),c=!0)}}if(!c)for(const p of a)p.codegenNode=n.cache(p.codegenNode);function u(p){const m=n.cache(p);return s&&n.hmr&&(m.needArraySpread=!0),m}function g(p,m){if(p.children&&!pe(p.children)&&p.children.type===15){const w=p.children.properties.find(_=>_.key===m||_.key.content===m);return w&&w.value}}a.length&&n.transformHoist&&n.transformHoist(r,n,e)}function pn(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const i=n.get(e);if(i!==void 0)return i;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let a=3;const c=ag(e,t);if(c===0)return n.set(e,0),0;c<a&&(a=c);for(let u=0;u<e.children.length;u++){const g=pn(e.children[u],t);if(g===0)return n.set(e,0),0;g<a&&(a=g)}if(a>1)for(let u=0;u<e.props.length;u++){const g=e.props[u];if(g.type===7&&g.name==="bind"&&g.exp){const p=pn(g.exp,t);if(p===0)return n.set(e,0),0;p<a&&(a=p)}}if(s.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return n.set(e,0),0;t.removeHelper(rs),t.removeHelper(Ws(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(Us(t.inSSR,s.isComponent))}return n.set(e,a),a}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return pn(e.content,t);case 4:return e.constType;case 8:let r=3;for(let a=0;a<e.children.length;a++){const c=e.children[a];if(Ne(c)||ln(c))continue;const u=pn(c,t);if(u===0)return 0;u<r&&(r=u)}return r;case 20:return 2;default:return 0}}const Lw=new Set([lu,cu,Hr,Yr]);function og(e,t){if(e.type===14&&!Ne(e.callee)&&Lw.has(e.callee)){const n=e.arguments[0];if(n.type===4)return pn(n,t);if(n.type===14)return og(n,t)}return 0}function ag(e,t){let n=3;const i=lg(e);if(i&&i.type===15){const{properties:s}=i;for(let r=0;r<s.length;r++){const{key:a,value:c}=s[r],u=pn(a,t);if(u===0)return u;u<n&&(n=u);let g;if(c.type===4?g=pn(c,t):c.type===14?g=og(c,t):g=0,g===0)return g;g<n&&(n=g)}}return n}function lg(e){const t=e.codegenNode;if(t.type===13)return t.props}function Hw(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:s=!1,cacheHandlers:r=!1,nodeTransforms:a=[],directiveTransforms:c={},transformHoist:u=null,isBuiltInComponent:g=Ft,isCustomElement:p=Ft,expressionPlugins:m=[],scopeId:w=null,slotted:_=!0,ssr:S=!1,inSSR:T=!1,ssrCssVars:P="",bindingMetadata:M=je,inline:j=!1,isTS:R=!1,onError:N=pu,onWarn:z=Gp,compatConfig:G}){const h=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),te={filename:t,selfName:h&&us(ot(h[1])),prefixIdentifiers:n,hoistStatic:i,hmr:s,cacheHandlers:r,nodeTransforms:a,directiveTransforms:c,transformHoist:u,isBuiltInComponent:g,isCustomElement:p,expressionPlugins:m,scopeId:w,slotted:_,ssr:S,inSSR:T,ssrCssVars:P,bindingMetadata:M,inline:j,isTS:R,onError:N,onWarn:z,compatConfig:G,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(D){const q=te.helpers.get(D)||0;return te.helpers.set(D,q+1),D},removeHelper(D){const q=te.helpers.get(D);if(q){const re=q-1;re?te.helpers.set(D,re):te.helpers.delete(D)}},helperString(D){return`_${Bs[te.helper(D)]}`},replaceNode(D){te.parent.children[te.childIndex]=te.currentNode=D},removeNode(D){const q=te.parent.children,re=D?q.indexOf(D):te.currentNode?te.childIndex:-1;!D||D===te.currentNode?(te.currentNode=null,te.onNodeRemoved()):te.childIndex>re&&(te.childIndex--,te.onNodeRemoved()),te.parent.children.splice(re,1)},onNodeRemoved:Ft,addIdentifiers(D){},removeIdentifiers(D){},hoist(D){Ne(D)&&(D=De(D)),te.hoists.push(D);const q=De(`_hoisted_${te.hoists.length}`,!1,D.loc,2);return q.hoisted=D,q},cache(D,q=!1){const re=ow(te.cached.length,D,q);return te.cached.push(re),re}};return te.filters=new Set,te}function zw(e,t){const n=Hw(e,t);Ha(e,n),t.hoistStatic&&Pw(e,n),t.ssr||Fw(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Fw(e,t){const{helper:n}=t,{children:i}=e;if(i.length===1){const s=i[0];if(rg(e,s)&&s.codegenNode){const r=s.codegenNode;r.type===13&&du(r,t),e.codegenNode=r}else e.codegenNode=s}else if(i.length>1){let s=64;e.codegenNode=zr(t,n(Lr),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function jw(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];Ne(s)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=i,Ha(s,t))}}function Ha(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let r=0;r<n.length;r++){const a=n[r](e,t);if(a&&(pe(a)?i.push(...a):i.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Xr);break;case 5:t.ssr||t.helper(Pa);break;case 9:for(let r=0;r<e.branches.length;r++)Ha(e.branches[r],t);break;case 10:case 11:case 1:case 0:jw(e,t);break}t.currentNode=e;let s=i.length;for(;s--;)i[s]()}function cg(e,t){const n=Ne(e)?i=>i===e:i=>e.test(i);return(i,s)=>{if(i.type===1){const{props:r}=i;if(i.tagType===3&&r.some(vw))return;const a=[];for(let c=0;c<r.length;c++){const u=r[c];if(u.type===7&&n(u.name)){r.splice(c,1),c--;const g=t(i,u,s);g&&a.push(g)}}return a}}}const za="/*@__PURE__*/",ug=e=>`${Bs[e]}: _${Bs[e]}`;function Bw(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:i=!1,filename:s="template.vue.html",scopeId:r=null,optimizeImports:a=!1,runtimeGlobalName:c="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:g="vue/server-renderer",ssr:p=!1,isTS:m=!1,inSSR:w=!1}){const _={mode:t,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:r,optimizeImports:a,runtimeGlobalName:c,runtimeModuleName:u,ssrRuntimeModuleName:g,ssr:p,isTS:m,inSSR:w,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${Bs[T]}`},push(T,P=-2,M){_.code+=T},indent(){S(++_.indentLevel)},deindent(T=!1){T?--_.indentLevel:S(--_.indentLevel)},newline(){S(_.indentLevel)}};function S(T){_.push(`
`+"  ".repeat(T),0)}return _}function $w(e,t={}){const n=Bw(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:r,indent:a,deindent:c,newline:u,scopeId:g,ssr:p}=n,m=Array.from(e.helpers),w=m.length>0,_=!r&&i!=="module";Uw(e,n);const T=p?"ssrRender":"render",M=(p?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${T}(${M}) {`),a(),_&&(s("with (_ctx) {"),a(),w&&(s(`const { ${m.map(ug).join(", ")} } = _Vue
`,-1),u())),e.components.length&&(Rl(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(Rl(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),Rl(e.filters,"filter",n),u()),e.temps>0){s("let ");for(let j=0;j<e.temps;j++)s(`${j>0?", ":""}_temp${j}`)}return(e.components.length||e.directives.length||e.temps)&&(s(`
`,0),u()),p||s("return "),e.codegenNode?jt(e.codegenNode,n):s("null"),_&&(c(),s("}")),c(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Uw(e,t){const{ssr:n,prefixIdentifiers:i,push:s,newline:r,runtimeModuleName:a,runtimeGlobalName:c,ssrRuntimeModuleName:u}=t,g=c,p=Array.from(e.helpers);if(p.length>0&&(s(`const _Vue = ${g}
`,-1),e.hoists.length)){const m=[Zc,eu,Xr,tu,Vp].filter(w=>p.includes(w)).map(ug).join(", ");s(`const { ${m} } = _Vue
`,-1)}Ww(e.hoists,t),r(),s("return ")}function Rl(e,t,{helper:n,push:i,newline:s,isTS:r}){const a=n(t==="filter"?ru:t==="component"?nu:su);for(let c=0;c<e.length;c++){let u=e[c];const g=u.endsWith("__self");g&&(u=u.slice(0,-6)),i(`const ${jr(u,t)} = ${a}(${JSON.stringify(u)}${g?", true":""})${r?"!":""}`),c<e.length-1&&s()}}function Ww(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:i}=t;i();for(let s=0;s<e.length;s++){const r=e[s];r&&(n(`const _hoisted_${s+1} = `),jt(r,t),i())}t.pure=!1}function yu(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Gr(e,t,n),n&&t.deindent(),t.push("]")}function Gr(e,t,n=!1,i=!0){const{push:s,newline:r}=t;for(let a=0;a<e.length;a++){const c=e[a];Ne(c)?s(c,-3):pe(c)?yu(c,t):jt(c,t),a<e.length-1&&(n?(i&&s(","),r()):i&&s(", "))}}function jt(e,t){if(Ne(e)){t.push(e,-3);return}if(ln(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:jt(e.codegenNode,t);break;case 2:qw(e,t);break;case 4:fg(e,t);break;case 5:Vw(e,t);break;case 12:jt(e.codegenNode,t);break;case 8:hg(e,t);break;case 3:Xw(e,t);break;case 13:Yw(e,t);break;case 14:Jw(e,t);break;case 15:Qw(e,t);break;case 17:Zw(e,t);break;case 18:eS(e,t);break;case 19:tS(e,t);break;case 20:nS(e,t);break;case 21:Gr(e.body,t,!0,!1);break}}function qw(e,t){t.push(JSON.stringify(e.content),-3,e)}function fg(e,t){const{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function Vw(e,t){const{push:n,helper:i,pure:s}=t;s&&n(za),n(`${i(Pa)}(`),jt(e.content,t),n(")")}function hg(e,t){for(let n=0;n<e.children.length;n++){const i=e.children[n];Ne(i)?t.push(i,-3):jt(i,t)}}function Kw(e,t){const{push:n}=t;if(e.type===8)n("["),hg(e,t),n("]");else if(e.isStatic){const i=gu(e.content)?e.content:JSON.stringify(e.content);n(i,-2,e)}else n(`[${e.content}]`,-3,e)}function Xw(e,t){const{push:n,helper:i,pure:s}=t;s&&n(za),n(`${i(Xr)}(${JSON.stringify(e.content)})`,-3,e)}function Yw(e,t){const{push:n,helper:i,pure:s}=t,{tag:r,props:a,children:c,patchFlag:u,dynamicProps:g,directives:p,isBlock:m,disableTracking:w,isComponent:_}=e;let S;u&&(S=String(u)),p&&n(i(ou)+"("),m&&n(`(${i(rs)}(${w?"true":""}), `),s&&n(za);const T=m?Ws(t.inSSR,_):Us(t.inSSR,_);n(i(T)+"(",-2,e),Gr(Gw([r,a,c,S,g]),t),n(")"),m&&n(")"),p&&(n(", "),jt(p,t),n(")"))}function Gw(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function Jw(e,t){const{push:n,helper:i,pure:s}=t,r=Ne(e.callee)?e.callee:i(e.callee);s&&n(za),n(r+"(",-2,e),Gr(e.arguments,t),n(")")}function Qw(e,t){const{push:n,indent:i,deindent:s,newline:r}=t,{properties:a}=e;if(!a.length){n("{}",-2,e);return}const c=a.length>1||!1;n(c?"{":"{ "),c&&i();for(let u=0;u<a.length;u++){const{key:g,value:p}=a[u];Kw(g,t),n(": "),jt(p,t),u<a.length-1&&(n(","),r())}c&&s(),n(c?"}":" }")}function Zw(e,t){yu(e.elements,t)}function eS(e,t){const{push:n,indent:i,deindent:s}=t,{params:r,returns:a,body:c,newline:u,isSlot:g}=e;g&&n(`_${Bs[fu]}(`),n("(",-2,e),pe(r)?Gr(r,t):r&&jt(r,t),n(") => "),(u||c)&&(n("{"),i()),a?(u&&n("return "),pe(a)?yu(a,t):jt(a,t)):c&&jt(c,t),(u||c)&&(s(),n("}")),g&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function tS(e,t){const{test:n,consequent:i,alternate:s,newline:r}=e,{push:a,indent:c,deindent:u,newline:g}=t;if(n.type===4){const m=!gu(n.content);m&&a("("),fg(n,t),m&&a(")")}else a("("),jt(n,t),a(")");r&&c(),t.indentLevel++,r||a(" "),a("? "),jt(i,t),t.indentLevel--,r&&g(),r||a(" "),a(": ");const p=s.type===19;p||t.indentLevel++,jt(s,t),p||t.indentLevel--,r&&u(!0)}function nS(e,t){const{push:n,helper:i,indent:s,deindent:r,newline:a}=t,{needPauseTracking:c,needArraySpread:u}=e;u&&n("[...("),n(`_cache[${e.index}] || (`),c&&(s(),n(`${i(ia)}(-1),`),a(),n("(")),n(`_cache[${e.index}] = `),jt(e.value,t),c&&(n(`).cacheIndex = ${e.index},`),a(),n(`${i(ia)}(1),`),a(),n(`_cache[${e.index}]`),r()),n(")"),u&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const iS=cg(/^(if|else|else-if)$/,(e,t,n)=>sS(e,t,n,(i,s,r)=>{const a=n.parent.children;let c=a.indexOf(i),u=0;for(;c-->=0;){const g=a[c];g&&g.type===9&&(u+=g.branches.length)}return()=>{if(r)i.codegenNode=Zf(s,u,n);else{const g=rS(i.codegenNode);g.alternate=Zf(s,u+i.branches.length-1,n)}}}));function sS(e,t,n,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(lt(28,t.loc)),t.exp=De("true",!1,s)}if(t.name==="if"){const s=Qf(e,t),r={type:9,loc:kw(e.loc),branches:[s]};if(n.replaceNode(r),i)return i(r,s,!0)}else{const s=n.parent.children;let r=s.indexOf(e);for(;r-->=-1;){const a=s[r];if(a&&a.type===3){n.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){n.removeNode(a);continue}if(a&&a.type===9){t.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&n.onError(lt(30,e.loc)),n.removeNode();const c=Qf(e,t);a.branches.push(c);const u=i&&i(a,c,!1);Ha(c,n),u&&u(),n.currentNode=null}else n.onError(lt(30,e.loc));break}}}function Qf(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Tn(e,"for")?e.children:[e],userKey:La(e,"key"),isTemplateIf:n}}function Zf(e,t,n){return e.condition?ac(e.condition,eh(e,t,n),bt(n.helper(Xr),['""',"true"])):eh(e,t,n)}function eh(e,t,n){const{helper:i}=n,s=pt("key",De(`${t}`,!1,vn,2)),{children:r}=e,a=r[0];if(r.length!==1||a.type!==1)if(r.length===1&&a.type===11){const u=a.codegenNode;return aa(u,s,n),u}else return zr(n,i(Lr),Cn([s]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=a.codegenNode,g=ww(u);return g.type===13&&du(g,n),aa(g,s,n),u}}function rS(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const oS=(e,t,n)=>{const{modifiers:i,loc:s}=e,r=e.arg;let{exp:a}=e;if(a&&a.type===4&&!a.content.trim()&&(a=void 0),!a){if(r.type!==4||!r.isStatic)return n.onError(lt(52,r.loc)),{props:[pt(r,De("",!0,s))]};dg(e),a=e.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),i.some(c=>c.content==="camel")&&(r.type===4?r.isStatic?r.content=ot(r.content):r.content=`${n.helperString(rc)}(${r.content})`:(r.children.unshift(`${n.helperString(rc)}(`),r.children.push(")"))),n.inSSR||(i.some(c=>c.content==="prop")&&th(r,"."),i.some(c=>c.content==="attr")&&th(r,"^")),{props:[pt(r,a)]}},dg=(e,t)=>{const n=e.arg,i=ot(n.content);e.exp=De(i,!1,n.loc)},th=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},aS=cg("for",(e,t,n)=>{const{helper:i,removeHelper:s}=n;return lS(e,t,n,r=>{const a=bt(i(au),[r.source]),c=ra(e),u=Tn(e,"memo"),g=La(e,"key",!1,!0);g&&g.type===7&&!g.exp&&dg(g);const p=g&&(g.type===6?g.value?De(g.value.content,!0):void 0:g.exp),m=g&&p?pt("key",p):null,w=r.source.type===4&&r.source.constType>0,_=w?64:g?128:256;return r.codegenNode=zr(n,i(Lr),void 0,a,_,void 0,void 0,!0,!w,!1,e.loc),()=>{let S;const{children:T}=r,P=T.length!==1||T[0].type!==1,M=oa(e)?e:c&&e.children.length===1&&oa(e.children[0])?e.children[0]:null;if(M?(S=M.codegenNode,c&&m&&aa(S,m,n)):P?S=zr(n,i(Lr),m?Cn([m]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(S=T[0].codegenNode,c&&m&&aa(S,m,n),S.isBlock!==!w&&(S.isBlock?(s(rs),s(Ws(n.inSSR,S.isComponent))):s(Us(n.inSSR,S.isComponent))),S.isBlock=!w,S.isBlock?(i(rs),i(Ws(n.inSSR,S.isComponent))):i(Us(n.inSSR,S.isComponent))),u){const j=$s(uc(r.parseResult,[De("_cached")]));j.body=aw([Ln(["const _memo = (",u.exp,")"]),Ln(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${n.helperString(Yp)}(_cached, _memo)) return _cached`]),Ln(["const _item = ",S]),De("_item.memo = _memo"),De("return _item")]),a.arguments.push(j,De("_cache"),De(String(n.cached.length))),n.cached.push(null)}else a.arguments.push($s(uc(r.parseResult),S,!0))}})});function lS(e,t,n,i){if(!t.exp){n.onError(lt(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(lt(32,t.loc));return}pg(s);const{addIdentifiers:r,removeIdentifiers:a,scopes:c}=n,{source:u,value:g,key:p,index:m}=s,w={type:11,loc:t.loc,source:u,valueAlias:g,keyAlias:p,objectIndexAlias:m,parseResult:s,children:ra(e)?e.children:[e]};n.replaceNode(w),c.vFor++;const _=i&&i(w);return()=>{c.vFor--,_&&_()}}function pg(e,t){e.finalized||(e.finalized=!0)}function uc({value:e,key:t,index:n},i=[]){return cS([e,t,n,...i])}function cS(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,i)=>n||De("_".repeat(i+1),!1))}const nh=De("undefined",!1),uS=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Tn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},fS=(e,t,n,i)=>$s(e,n,!1,!0,n.length?n[0].loc:i);function hS(e,t,n=fS){t.helper(fu);const{children:i,loc:s}=e,r=[],a=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Tn(e,"slot",!0);if(u){const{arg:P,exp:M}=u;P&&!sn(P)&&(c=!0),r.push(pt(P||De("default",!0),n(M,void 0,i,s)))}let g=!1,p=!1;const m=[],w=new Set;let _=0;for(let P=0;P<i.length;P++){const M=i[P];let j;if(!ra(M)||!(j=Tn(M,"slot",!0))){M.type!==3&&m.push(M);continue}if(u){t.onError(lt(37,j.loc));break}g=!0;const{children:R,loc:N}=M,{arg:z=De("default",!0),exp:G,loc:h}=j;let te;sn(z)?te=z?z.content:"default":c=!0;const D=Tn(M,"for"),q=n(G,D,R,N);let re,V;if(re=Tn(M,"if"))c=!0,a.push(ac(re.exp,wo(z,q,_++),nh));else if(V=Tn(M,/^else(-if)?$/,!0)){let J=P,we;for(;J--&&(we=i[J],we.type===3););if(we&&ra(we)&&Tn(we,/^(else-)?if$/)){let xe=a[a.length-1];for(;xe.alternate.type===19;)xe=xe.alternate;xe.alternate=V.exp?ac(V.exp,wo(z,q,_++),nh):wo(z,q,_++)}else t.onError(lt(30,V.loc))}else if(D){c=!0;const J=D.forParseResult;J?(pg(J),a.push(bt(t.helper(au),[J.source,$s(uc(J),wo(z,q),!0)]))):t.onError(lt(32,D.loc))}else{if(te){if(w.has(te)){t.onError(lt(38,h));continue}w.add(te),te==="default"&&(p=!0)}r.push(pt(z,q))}}if(!u){const P=(M,j)=>{const R=n(M,void 0,j,s);return t.compatConfig&&(R.isNonScopedSlot=!0),pt("default",R)};g?m.length&&m.some(M=>gg(M))&&(p?t.onError(lt(39,m[0].loc)):r.push(P(void 0,m))):r.push(P(void 0,i))}const S=c?2:Do(e.children)?3:1;let T=Cn(r.concat(pt("_",De(S+"",!1))),s);return a.length&&(T=bt(t.helper(Xp),[T,es(a)])),{slots:T,hasDynamicSlots:c}}function wo(e,t,n){const i=[pt("name",e),pt("fn",t)];return n!=null&&i.push(pt("key",De(String(n),!0))),Cn(i)}function Do(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Do(n.children))return!0;break;case 9:if(Do(n.branches))return!0;break;case 10:case 11:if(Do(n.children))return!0;break}}return!1}function gg(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():gg(e.content)}const mg=new WeakMap,dS=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:s}=e,r=e.tagType===1;let a=r?pS(e,t):`"${i}"`;const c=Ze(a)&&a.callee===iu;let u,g,p=0,m,w,_,S=c||a===Ar||a===Qc||!r&&(i==="svg"||i==="foreignObject"||i==="math");if(s.length>0){const T=yg(e,t,void 0,r,c);u=T.props,p=T.patchFlag,w=T.dynamicPropNames;const P=T.directives;_=P&&P.length?es(P.map(M=>mS(M,t))):void 0,T.shouldUseBlock&&(S=!0)}if(e.children.length>0)if(a===ta&&(S=!0,p|=1024),r&&a!==Ar&&a!==ta){const{slots:P,hasDynamicSlots:M}=hS(e,t);g=P,M&&(p|=1024)}else if(e.children.length===1&&a!==Ar){const P=e.children[0],M=P.type,j=M===5||M===8;j&&pn(P,t)===0&&(p|=1),j||M===2?g=P:g=e.children}else g=e.children;w&&w.length&&(m=yS(w)),e.codegenNode=zr(t,a,u,g,p===0?void 0:p,m,_,!!S,!1,r,e.loc)};function pS(e,t,n=!1){let{tag:i}=e;const s=fc(i),r=La(e,"is",!1,!0);if(r)if(s||ts("COMPILER_IS_ON_ELEMENT",t)){let c;if(r.type===6?c=r.value&&De(r.value.content,!0):(c=r.exp,c||(c=De("is",!1,r.arg.loc))),c)return bt(t.helper(iu),[c])}else r.type===6&&r.value.content.startsWith("vue:")&&(i=r.value.content.slice(4));const a=Jp(i)||t.isBuiltInComponent(i);return a?(n||t.helper(a),a):(t.helper(nu),t.components.add(i),jr(i,"component"))}function yg(e,t,n=e.props,i,s,r=!1){const{tag:a,loc:c,children:u}=e;let g=[];const p=[],m=[],w=u.length>0;let _=!1,S=0,T=!1,P=!1,M=!1,j=!1,R=!1,N=!1;const z=[],G=q=>{g.length&&(p.push(Cn(ih(g),c)),g=[]),q&&p.push(q)},h=()=>{t.scopes.vFor>0&&g.push(pt(De("ref_for",!0),De("true")))},te=({key:q,value:re})=>{if(sn(q)){const V=q.content,J=ls(V);if(J&&(!i||s)&&V.toLowerCase()!=="onclick"&&V!=="onUpdate:modelValue"&&!Oi(V)&&(j=!0),J&&Oi(V)&&(N=!0),J&&re.type===14&&(re=re.arguments[0]),re.type===20||(re.type===4||re.type===8)&&pn(re,t)>0)return;V==="ref"?T=!0:V==="class"?P=!0:V==="style"?M=!0:V!=="key"&&!z.includes(V)&&z.push(V),i&&(V==="class"||V==="style")&&!z.includes(V)&&z.push(V)}else R=!0};for(let q=0;q<n.length;q++){const re=n[q];if(re.type===6){const{loc:V,name:J,nameLoc:we,value:xe}=re;let ge=!0;if(J==="ref"&&(T=!0,h()),J==="is"&&(fc(a)||xe&&xe.content.startsWith("vue:")||ts("COMPILER_IS_ON_ELEMENT",t)))continue;g.push(pt(De(J,!0,we),De(xe?xe.content:"",ge,xe?xe.loc:V)))}else{const{name:V,arg:J,exp:we,loc:xe,modifiers:ge}=re,Se=V==="bind",ye=V==="on";if(V==="slot"){i||t.onError(lt(40,xe));continue}if(V==="once"||V==="memo"||V==="is"||Se&&Xi(J,"is")&&(fc(a)||ts("COMPILER_IS_ON_ELEMENT",t))||ye&&r)continue;if((Se&&Xi(J,"key")||ye&&w&&Xi(J,"vue:before-update"))&&(_=!0),Se&&Xi(J,"ref")&&h(),!J&&(Se||ye)){if(R=!0,we)if(Se){if(h(),G(),ts("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(we);continue}p.push(we)}else G({type:14,loc:xe,callee:t.helper(uu),arguments:i?[we]:[we,"true"]});else t.onError(lt(Se?34:35,xe));continue}Se&&ge.some(un=>un.content==="prop")&&(S|=32);const nt=t.directiveTransforms[V];if(nt){const{props:un,needRuntime:Yt}=nt(re,e,t);!r&&un.forEach(te),ye&&J&&!sn(J)?G(Cn(un,c)):g.push(...un),Yt&&(m.push(re),ln(Yt)&&mg.set(re,Yt))}else dy(V)||(m.push(re),w&&(_=!0))}}let D;if(p.length?(G(),p.length>1?D=bt(t.helper(na),p,c):D=p[0]):g.length&&(D=Cn(ih(g),c)),R?S|=16:(P&&!i&&(S|=2),M&&!i&&(S|=4),z.length&&(S|=8),j&&(S|=32)),!_&&(S===0||S===32)&&(T||N||m.length>0)&&(S|=512),!t.inSSR&&D)switch(D.type){case 15:let q=-1,re=-1,V=!1;for(let xe=0;xe<D.properties.length;xe++){const ge=D.properties[xe].key;sn(ge)?ge.content==="class"?q=xe:ge.content==="style"&&(re=xe):ge.isHandlerKey||(V=!0)}const J=D.properties[q],we=D.properties[re];V?D=bt(t.helper(Hr),[D]):(J&&!sn(J.value)&&(J.value=bt(t.helper(lu),[J.value])),we&&(M||we.value.type===4&&we.value.content.trim()[0]==="["||we.value.type===17)&&(we.value=bt(t.helper(cu),[we.value])));break;case 14:break;default:D=bt(t.helper(Hr),[bt(t.helper(Yr),[D])]);break}return{props:D,directives:m,patchFlag:S,dynamicPropNames:z,shouldUseBlock:_}}function ih(e){const t=new Map,n=[];for(let i=0;i<e.length;i++){const s=e[i];if(s.key.type===8||!s.key.isStatic){n.push(s);continue}const r=s.key.content,a=t.get(r);a?(r==="style"||r==="class"||ls(r))&&gS(a,s):(t.set(r,s),n.push(s))}return n}function gS(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=es([e.value,t.value],e.loc)}function mS(e,t){const n=[],i=mg.get(e);i?n.push(t.helperString(i)):(t.helper(su),t.directives.add(e.name),n.push(jr(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=De("true",!1,s);n.push(Cn(e.modifiers.map(a=>pt(a,r)),s))}return es(n,e.loc)}function yS(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}function fc(e){return e==="component"||e==="Component"}const vS=(e,t)=>{if(oa(e)){const{children:n,loc:i}=e,{slotName:s,slotProps:r}=bS(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let c=2;r&&(a[2]=r,c=3),n.length&&(a[3]=$s([],n,!1,!1,i),c=4),t.scopeId&&!t.slotted&&(c=5),a.splice(c),e.codegenNode=bt(t.helper(Kp),a,i)}};function bS(e,t){let n='"default"',i;const s=[];for(let r=0;r<e.props.length;r++){const a=e.props[r];if(a.type===6)a.value&&(a.name==="name"?n=JSON.stringify(a.value.content):(a.name=ot(a.name),s.push(a)));else if(a.name==="bind"&&Xi(a.arg,"name")){if(a.exp)n=a.exp;else if(a.arg&&a.arg.type===4){const c=ot(a.arg.content);n=a.exp=De(c,!1,a.arg.loc)}}else a.name==="bind"&&a.arg&&sn(a.arg)&&(a.arg.content=ot(a.arg.content)),s.push(a)}if(s.length>0){const{props:r,directives:a}=yg(e,t,s,!1,!1);i=r,a.length&&t.onError(lt(36,a[0].loc))}return{slotName:n,slotProps:i}}const vg=(e,t,n,i)=>{const{loc:s,modifiers:r,arg:a}=e;!e.exp&&!r.length&&n.onError(lt(35,s));let c;if(a.type===4)if(a.isStatic){let m=a.content;m.startsWith("vue:")&&(m=`vnode-${m.slice(4)}`);const w=t.tagType!==0||m.startsWith("vnode")||!/[A-Z]/.test(m)?ks(ot(m)):`on:${m}`;c=De(w,!0,a.loc)}else c=Ln([`${n.helperString(oc)}(`,a,")"]);else c=a,c.children.unshift(`${n.helperString(oc)}(`),c.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let g=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const m=Zp(u),w=!(m||mw(u)),_=u.content.includes(";");(w||g&&m)&&(u=Ln([`${w?"$event":"(...args)"} => ${_?"{":"("}`,u,_?"}":")"]))}let p={props:[pt(c,u||De("() => {}",!1,s))]};return i&&(p=i(p)),g&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach(m=>m.key.isHandlerKey=!0),p},wS=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let i,s=!1;for(let r=0;r<n.length;r++){const a=n[r];if(xl(a)){s=!0;for(let c=r+1;c<n.length;c++){const u=n[c];if(xl(u))i||(i=n[r]=Ln([a],a.loc)),i.children.push(" + ",u),n.splice(c,1),c--;else{i=void 0;break}}}}if(!(!s||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const a=n[r];if(xl(a)||a.type===8){const c=[];(a.type!==2||a.content!==" ")&&c.push(a),!t.ssr&&pn(a,t)===0&&c.push("1"),n[r]={type:12,content:a,loc:a.loc,codegenNode:bt(t.helper(tu),c)}}}}},sh=new WeakSet,SS=(e,t)=>{if(e.type===1&&Tn(e,"once",!0))return sh.has(e)||t.inVOnce||t.inSSR?void 0:(sh.add(e),t.inVOnce=!0,t.helper(ia),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},bg=(e,t,n)=>{const{exp:i,arg:s}=e;if(!i)return n.onError(lt(41,e.loc)),So();const r=i.loc.source.trim(),a=i.type===4?i.content:r,c=n.bindingMetadata[r];if(c==="props"||c==="props-aliased")return n.onError(lt(44,i.loc)),So();if(!a.trim()||!Zp(i)&&!!1)return n.onError(lt(42,i.loc)),So();const g=s||De("modelValue",!0),p=s?sn(s)?`onUpdate:${ot(s.content)}`:Ln(['"onUpdate:" + ',s]):"onUpdate:modelValue";let m;const w=n.isTS?"($event: any)":"$event";m=Ln([`${w} => ((`,i,") = $event)"]);const _=[pt(g,e.exp),pt(p,m)];if(e.modifiers.length&&t.tagType===1){const S=e.modifiers.map(P=>P.content).map(P=>(gu(P)?P:JSON.stringify(P))+": true").join(", "),T=s?sn(s)?`${s.content}Modifiers`:Ln([s,' + "Modifiers"']):"modelModifiers";_.push(pt(T,De(`{ ${S} }`,!1,e.loc,2)))}return So(_)};function So(e=[]){return{props:e}}const _S=/[\w).+\-_$\]]/,TS=(e,t)=>{ts("COMPILER_FILTERS",t)&&(e.type===5?la(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&la(n.exp,t)}))};function la(e,t){if(e.type===4)rh(e,t);else for(let n=0;n<e.children.length;n++){const i=e.children[n];typeof i=="object"&&(i.type===4?rh(i,t):i.type===8?la(e,t):i.type===5&&la(i.content,t))}}function rh(e,t){const n=e.content;let i=!1,s=!1,r=!1,a=!1,c=0,u=0,g=0,p=0,m,w,_,S,T=[];for(_=0;_<n.length;_++)if(w=m,m=n.charCodeAt(_),i)m===39&&w!==92&&(i=!1);else if(s)m===34&&w!==92&&(s=!1);else if(r)m===96&&w!==92&&(r=!1);else if(a)m===47&&w!==92&&(a=!1);else if(m===124&&n.charCodeAt(_+1)!==124&&n.charCodeAt(_-1)!==124&&!c&&!u&&!g)S===void 0?(p=_+1,S=n.slice(0,_).trim()):P();else{switch(m){case 34:s=!0;break;case 39:i=!0;break;case 96:r=!0;break;case 40:g++;break;case 41:g--;break;case 91:u++;break;case 93:u--;break;case 123:c++;break;case 125:c--;break}if(m===47){let M=_-1,j;for(;M>=0&&(j=n.charAt(M),j===" ");M--);(!j||!_S.test(j))&&(a=!0)}}S===void 0?S=n.slice(0,_).trim():p!==0&&P();function P(){T.push(n.slice(p,_).trim()),p=_+1}if(T.length){for(_=0;_<T.length;_++)S=CS(S,T[_],t);e.content=S,e.ast=void 0}}function CS(e,t,n){n.helper(ru);const i=t.indexOf("(");if(i<0)return n.filters.add(t),`${jr(t,"filter")}(${e})`;{const s=t.slice(0,i),r=t.slice(i+1);return n.filters.add(s),`${jr(s,"filter")}(${e}${r!==")"?","+r:r}`}}const oh=new WeakSet,ES=(e,t)=>{if(e.type===1){const n=Tn(e,"memo");return!n||oh.has(e)?void 0:(oh.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&du(i,t),e.codegenNode=bt(t.helper(hu),[n.exp,$s(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function AS(e){return[[SS,iS,ES,aS,TS,vS,dS,uS,wS],{on:vg,bind:oS,model:bg}]}function xS(e,t={}){const n=t.onError||pu,i=t.mode==="module";t.prefixIdentifiers===!0?n(lt(47)):i&&n(lt(48));const s=!1;t.cacheHandlers&&n(lt(49)),t.scopeId&&!i&&n(lt(50));const r=Be({},t,{prefixIdentifiers:s}),a=Ne(e)?Dw(e,r):e,[c,u]=AS();return zw(a,Be({},r,{nodeTransforms:[...c,...t.nodeTransforms||[]],directiveTransforms:Be({},u,t.directiveTransforms||{})})),$w(a,r)}const RS=()=>({props:[]});/**
* @vue/compiler-dom v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const wg=Symbol(""),Sg=Symbol(""),_g=Symbol(""),Tg=Symbol(""),hc=Symbol(""),Cg=Symbol(""),Eg=Symbol(""),Ag=Symbol(""),xg=Symbol(""),Rg=Symbol("");sw({[wg]:"vModelRadio",[Sg]:"vModelCheckbox",[_g]:"vModelText",[Tg]:"vModelSelect",[hc]:"vModelDynamic",[Cg]:"withModifiers",[Eg]:"withKeys",[Ag]:"vShow",[xg]:"Transition",[Rg]:"TransitionGroup"});let Cs;function IS(e,t=!1){return Cs||(Cs=document.createElement("div")),t?(Cs.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Cs.children[0].getAttribute("foo")):(Cs.innerHTML=e,Cs.textContent)}const OS={parseMode:"html",isVoidTag:Oy,isNativeTag:e=>xy(e)||Ry(e)||Iy(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:IS,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return xg;if(e==="TransitionGroup"||e==="transition-group")return Rg},getNamespace(e,t,n){let i=t?t.ns:n;if(t&&i===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i}},kS=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:De("style",!0,t.loc),exp:NS(t.value.content,t.loc),modifiers:[],loc:t.loc})})},NS=(e,t)=>{const n=zh(e);return De(JSON.stringify(n),!1,t,3)};function Di(e,t){return lt(e,t)}const MS=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Di(53,s)),t.children.length&&(n.onError(Di(54,s)),t.children.length=0),{props:[pt(De("innerHTML",!0,s),i||De("",!0))]}},DS=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Di(55,s)),t.children.length&&(n.onError(Di(56,s)),t.children.length=0),{props:[pt(De("textContent",!0),i?pn(i,n)>0?i:bt(n.helperString(Pa),[i],s):De("",!0))]}},PS=(e,t,n)=>{const i=bg(e,t,n);if(!i.props.length||t.tagType===1)return i;e.arg&&n.onError(Di(58,e.arg.loc));const{tag:s}=t,r=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||r){let a=_g,c=!1;if(s==="input"||r){const u=La(t,"type");if(u){if(u.type===7)a=hc;else if(u.value)switch(u.value.content){case"radio":a=wg;break;case"checkbox":a=Sg;break;case"file":c=!0,n.onError(Di(59,e.loc));break}}else yw(t)&&(a=hc)}else s==="select"&&(a=Tg);c||(i.needRuntime=n.helper(a))}else n.onError(Di(57,e.loc));return i.props=i.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),i},LS=yn("passive,once,capture"),HS=yn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),zS=yn("left,right"),Ig=yn("onkeyup,onkeydown,onkeypress"),FS=(e,t,n,i)=>{const s=[],r=[],a=[];for(let c=0;c<t.length;c++){const u=t[c].content;u==="native"&&Fr("COMPILER_V_ON_NATIVE",n)||LS(u)?a.push(u):zS(u)?sn(e)?Ig(e.content.toLowerCase())?s.push(u):r.push(u):(s.push(u),r.push(u)):HS(u)?r.push(u):s.push(u)}return{keyModifiers:s,nonKeyModifiers:r,eventOptionModifiers:a}},ah=(e,t)=>sn(e)&&e.content.toLowerCase()==="onclick"?De(t,!0):e.type!==4?Ln(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,jS=(e,t,n)=>vg(e,t,n,i=>{const{modifiers:s}=e;if(!s.length)return i;let{key:r,value:a}=i.props[0];const{keyModifiers:c,nonKeyModifiers:u,eventOptionModifiers:g}=FS(r,s,n,e.loc);if(u.includes("right")&&(r=ah(r,"onContextmenu")),u.includes("middle")&&(r=ah(r,"onMouseup")),u.length&&(a=bt(n.helper(Cg),[a,JSON.stringify(u)])),c.length&&(!sn(r)||Ig(r.content.toLowerCase()))&&(a=bt(n.helper(Eg),[a,JSON.stringify(c)])),g.length){const p=g.map(us).join("");r=sn(r)?De(`${r.content}${p}`,!0):Ln(["(",r,`) + "${p}"`])}return{props:[pt(r,a)]}}),BS=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Di(61,s)),{props:[],needRuntime:n.helper(Ag)}},$S=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},US=[kS],WS={cloak:RS,html:MS,text:DS,model:PS,on:jS,show:BS};function qS(e,t={}){return xS(e,Be({},OS,t,{nodeTransforms:[$S,...US,...t.nodeTransforms||[]],directiveTransforms:Be({},WS,t.directiveTransforms||{}),transformHoist:null}))}/**
* vue v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const lh=Object.create(null);function VS(e,t){if(!Ne(e))if(e.nodeType)e=e.innerHTML;else return Ft;const n=my(e,t),i=lh[n];if(i)return i;if(e[0]==="#"){const c=document.querySelector(e);e=c?c.innerHTML:""}const s=Be({hoistStatic:!0,onError:void 0,onWarn:Ft},t);!s.isCustomElement&&typeof customElements<"u"&&(s.isCustomElement=c=>!!customElements.get(c));const{code:r}=qS(e,s),a=new Function("Vue",r)(Q0);return a._rc=!0,lh[n]=a}hp(VS);var Og={exports:{}},Il={exports:{}},ch;function KS(){return ch||(ch=1,function(e){(function(t,n){e.exports?e.exports=n():t.EvEmitter=n()})(typeof window<"u"?window:Ac,function(){function t(){}let n=t.prototype;return n.on=function(i,s){if(!i||!s)return this;let r=this._events=this._events||{},a=r[i]=r[i]||[];return a.includes(s)||a.push(s),this},n.once=function(i,s){if(!i||!s)return this;this.on(i,s);let r=this._onceEvents=this._onceEvents||{},a=r[i]=r[i]||{};return a[s]=!0,this},n.off=function(i,s){let r=this._events&&this._events[i];if(!r||!r.length)return this;let a=r.indexOf(s);return a!=-1&&r.splice(a,1),this},n.emitEvent=function(i,s){let r=this._events&&this._events[i];if(!r||!r.length)return this;r=r.slice(0),s=s||[];let a=this._onceEvents&&this._onceEvents[i];for(let c of r)a&&a[c]&&(this.off(i,c),delete a[c]),c.apply(this,s);return this},n.allOff=function(){return delete this._events,delete this._onceEvents,this},t})}(Il)),Il.exports}/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */(function(e){(function(t,n){e.exports?e.exports=n(t,KS()):t.imagesLoaded=n(t,t.EvEmitter)})(typeof window<"u"?window:Ac,function(n,i){let s=n.jQuery,r=n.console;function a(w){return Array.isArray(w)?w:typeof w=="object"&&typeof w.length=="number"?[...w]:[w]}function c(w,_,S){if(!(this instanceof c))return new c(w,_,S);let T=w;if(typeof w=="string"&&(T=document.querySelectorAll(w)),!T){r.error(`Bad element for imagesLoaded ${T||w}`);return}this.elements=a(T),this.options={},typeof _=="function"?S=_:Object.assign(this.options,_),S&&this.on("always",S),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))}c.prototype=Object.create(i.prototype),c.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const u=[1,9,11];c.prototype.addElementImages=function(w){w.nodeName==="IMG"&&this.addImage(w),this.options.background===!0&&this.addElementBackgroundImages(w);let{nodeType:_}=w;if(!_||!u.includes(_))return;let S=w.querySelectorAll("img");for(let T of S)this.addImage(T);if(typeof this.options.background=="string"){let T=w.querySelectorAll(this.options.background);for(let P of T)this.addElementBackgroundImages(P)}};const g=/url\((['"])?(.*?)\1\)/gi;c.prototype.addElementBackgroundImages=function(w){let _=getComputedStyle(w);if(!_)return;let S=g.exec(_.backgroundImage);for(;S!==null;){let T=S&&S[2];T&&this.addBackground(T,w),S=g.exec(_.backgroundImage)}},c.prototype.addImage=function(w){let _=new p(w);this.images.push(_)},c.prototype.addBackground=function(w,_){let S=new m(w,_);this.images.push(S)},c.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let w=(_,S,T)=>{setTimeout(()=>{this.progress(_,S,T)})};this.images.forEach(function(_){_.once("progress",w),_.check()})},c.prototype.progress=function(w,_,S){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!w.isLoaded,this.emitEvent("progress",[this,w,_]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,w),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&r&&r.log(`progress: ${S}`,w,_)},c.prototype.complete=function(){let w=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(w,[this]),this.emitEvent("always",[this]),this.jqDeferred){let _=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[_](this)}};function p(w){this.img=w}p.prototype=Object.create(i.prototype),p.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src},p.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},p.prototype.confirm=function(w,_){this.isLoaded=w;let{parentNode:S}=this.img,T=S.nodeName==="PICTURE"?S:this.img;this.emitEvent("progress",[this,T,_])},p.prototype.handleEvent=function(w){let _="on"+w.type;this[_]&&this[_](w)},p.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},p.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},p.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function m(w,_){this.url=w,this.element=_,this.img=new Image}return m.prototype=Object.create(p.prototype),m.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(this.img.naturalWidth!==0,"naturalWidth"),this.unbindEvents())},m.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},m.prototype.confirm=function(w,_){this.isLoaded=w,this.emitEvent("progress",[this,this.element,_])},c.makeJQueryPlugin=function(w){w=w||n.jQuery,w&&(s=w,s.fn.imagesLoaded=function(_,S){return new c(this,_,S).jqDeferred.promise(s(this))})},c.makeJQueryPlugin(),c})})(Og);var XS=Og.exports;const YS=Dh(XS),kn=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},GS={props:{image:{required:!0,type:String}},data:()=>({status:null}),mounted(){this.setup()},watch:{image(){this.setup()}},methods:{setup(){this.setStart(),setTimeout(()=>{var e=YS(this.$el);e.once("done",()=>{this.status!=="failed"&&this.setComplete()}).once("fail",()=>{this.setFailed()})},300)},setComplete(){this.status="completed"},setStart(){this.status="loading"},setFailed(){this.status="failed"}}},JS=["src"],QS={key:0,class:"loadingMsg"};function ZS(e,t,n,i,s,r){return ne(),me("div",{class:Xt(["loadingcontainer",e.status])},[U("img",{src:n.image,style:{display:"none"}},null,8,JS),Qn(e.$slots,"default"),ke(_p,{name:"fade"},{default:cn(()=>[e.status==="loading"?(ne(),me("div",QS,t[0]||(t[0]=[U("div",{class:"cptLoadingSpinner"},null,-1)]))):Ae("",!0)]),_:1})],2)}const e1=kn(GS,[["render",ZS]]),kg=(e,t)=>!e.active||t===null?!1:e.width===0&&t.height<e.height||e.height===0&&t.width<e.width?!0:e.height===9999?t.width<e.width:e.width===9999?t.height<e.height:t.width<e.width||t.height<e.height,t1=(e,t,n)=>{let i=0,s=0,r=e,a=t;return e/t<=n?(s=t/2-e/n/2,a=t-s):(i=e/2-t*n/2,r=e-i),[i,s,r,a]},n1={components:{LoadingContainer:e1},props:{image:{required:!0,type:Object},lang:{required:!0,type:Object},sameRatioMode:{required:!0,type:[Object,String,null]},notYetCropped:{required:!0,type:Boolean},currentCropSize:{required:!0,type:[Object,String,null]}},computed:{isLowRes(){return kg(this.image,this.currentCropSize)},cssClass(){var e={active:this.image.active};return e["cptImageSize-"+this.image.nameLabel]=!0,e}},methods:{isImageInGroupNotYetCropped(e){return this.cropData.imageSizes.filter(t=>t.printRatio===e&&t.notYetCropped).length>0}}},i1=["title"],s1=["title"],r1={class:"dimensions"},o1={class:"ratio"},a1=["title"];function l1(e,t,n,i,s,r){const a=dt("LoadingContainer");return ne(),me("section",{class:Xt(["CropImageSize",r.cssClass])},[n.sameRatioMode!=="group"?(ne(),me(tt,{key:0},[U("header",null,le(n.image.nameLabel),1),r.isLowRes?(ne(),me("div",{key:0,class:"lowResWarning",title:n.lang.lowResWarning},t[0]||(t[0]=[U("span",null,"!",-1)]),8,i1)):Ae("",!0),!r.isLowRes&&n.image.notYetCropped?(ne(),me("div",{key:1,class:"notYetCropped",title:n.lang.notYetCropped},t[1]||(t[1]=[U("span",{class:"dashicons dashicons-image-crop"},null,-1)]),8,s1)):Ae("",!0),U("div",r1,le(n.lang.dimensions)+" "+le(n.image.width)+" x "+le(n.image.height)+" "+le(n.lang.pixel),1),U("div",o1,le(n.lang.ratio)+" "+le(n.image.printRatio),1)],64)):(ne(),me(tt,{key:1},[U("header",null,le(n.image.printRatio),1),n.notYetCropped?(ne(),me("div",{key:0,class:"notYetCropped",title:n.lang.notYetCropped},t[2]||(t[2]=[U("span",{class:"dashicons dashicons-image-crop"},null,-1)]),8,a1)):Ae("",!0)],64)),ke(a,{image:n.image.url+"?cacheBreak="+n.image.cacheBreak},{default:cn(()=>[U("div",{class:"cptImageBgContainer",style:fs({"background-image":"url("+n.image.url+"?cacheBreak="+n.image.cacheBreak+")"})},null,4)]),_:1},8,["image"])],2)}const c1=kn(n1,[["render",l1]]),u1={props:{},data:()=>({closed:!1}),methods:{close(){this.closed=!0}}},f1={key:0,class:"notice notice-warning is-dismissible cptMessage","aria-role":"alert"};function h1(e,t,n,i,s,r){return e.closed?Ae("",!0):(ne(),me("div",f1,[U("p",null,[Qn(e.$slots,"default")]),U("button",{type:"button",class:"notice-dismiss",onClick:t[0]||(t[0]=a=>r.close()),"aria-label":"close"})]))}const Ng=kn(u1,[["render",h1]]);function uh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,i)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uh(Object(n),!0).forEach(function(i){En(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uh(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d1(e,t){if(e==null)return{};var n,i,s=function(a,c){if(a==null)return{};var u,g,p={},m=Object.keys(a);for(g=0;g<m.length;g++)u=m[g],c.indexOf(u)>=0||(p[u]=a[u]);return p}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}function os(e){return function(t){if(Array.isArray(t))return Ol(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Ol(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ol(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ol(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var fh,p1,_o,vt=(fh=function(e){/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/(function(){var t={}.hasOwnProperty;function n(){for(var i=[],s=0;s<arguments.length;s++){var r=arguments[s];if(r){var a=typeof r;if(a==="string"||a==="number")i.push(r);else if(Array.isArray(r)){if(r.length){var c=n.apply(null,r);c&&i.push(c)}}else if(a==="object")if(r.toString===Object.prototype.toString)for(var u in r)t.call(r,u)&&r[u]&&i.push(u);else i.push(r.toString())}}return i.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()},fh(_o={path:p1,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(t==null&&_o.path)}},_o.exports),_o.exports),Hn=function(e){return function(t,n){if(!t)return e;var i;typeof t=="string"?i=t:n=t;var s=e;return i&&(s+="__"+i),s+(n?Object.keys(n).reduce(function(r,a){var c=n[a];return c&&(r+=" "+(typeof c=="boolean"?s+"--"+a:s+"--"+a+"_"+c)),r},""):"")}};function dc(e,t,n){var i,s,r,a,c;function u(){var p=Date.now()-a;p<t&&p>=0?i=setTimeout(u,t-p):(i=null,n||(c=e.apply(r,s),r=s=null))}t==null&&(t=100);var g=function(){r=this,s=arguments,a=Date.now();var p=n&&!i;return i||(i=setTimeout(u,t)),p&&(c=e.apply(r,s),r=s=null),c};return g.clear=function(){i&&(clearTimeout(i),i=null)},g.flush=function(){i&&(c=e.apply(r,s),r=s=null,clearTimeout(i),i=null)},g}dc.debounce=dc;var pc=dc,Te=function(){return Te=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},Te.apply(this,arguments)};/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function Mg(e,t){var n,i;return e&&t?(n=""+e+t[0].toUpperCase()+t.slice(1),i=e+"-"+t):(n=e||t,i=e||t),{name:n,classname:i}}function Dg(e){return/^blob:/.test(e)}function hh(e){return Dg(e)||function(t){return/^data:/.test(t)}(e)}function Es(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Tt(e){return e===void 0}function Po(e){return typeof e=="object"&&e!==null}function gc(e,t,n){var i={};return Po(e)?(Object.keys(t).forEach(function(s){Tt(e[s])?i[s]=t[s]:Po(t[s])?Po(e[s])?i[s]=gc(e[s],t[s],n[s]):i[s]=e[s]?t[s]:n[s]:t[s]===!0||t[s]===!1?i[s]=!!e[s]:i[s]=e[s]}),i):e?t:n}function To(e){var t=Number(e);return Number.isNaN(t)?e:t}function dh(e){return typeof(e=="number"||function(t){return typeof t=="object"&&t!==null}(e)&&toString.call(e)=="[object Number]")&&!Pg(e)}function Pg(e){return e!=e}function Lg(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var xr=function(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},g1=function(e,t){t===void 0&&(t={}),this.type="resize",this.directions=e,this.params=t},vu=function(e){this.type="move",this.directions=e},m1=function(){function e(t,n,i,s,r){this.type="drag",this.nativeEvent=t,this.position=i,this.previousPosition=s,this.element=n,this.anchor=r}return e.prototype.shift=function(){var t=this,n=t.element,i=t.anchor,s=t.position;if(n){var r=n.getBoundingClientRect(),a=r.left,c=r.top;return{left:s.left-a-i.left,top:s.top-c-i.top}}return{left:0,top:0}},e}(),bu={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(e){e.cancelable&&!this.disabled&&e.touches.length===1&&(this.touches=os(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce(function(t,n){return{clientX:t.clientX+n.clientX/e.touches.length,clientY:t.clientY+n.clientY/e.touches.length}},{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),n=t.left,i=t.right,s=t.bottom,r=t.top;this.anchor={left:e.clientX-n,top:e.clientY-r,bottom:s-e.clientY,right:i-e.clientX}},processMove:function(e,t){var n=os(t);if(this.touches.length){if(this.touches.length===1&&n.length===1){var i=this.$refs.draggable;this.$emit("drag",new m1(e,i,{left:n[0].clientX,top:n[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=n}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"]};bu.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"draggable",class:n.classname,onTouchstart:t[1]||(t[1]=function(){return r.onTouchStart&&r.onTouchStart.apply(r,arguments)}),onMousedown:t[2]||(t[2]=function(){return r.onMouseDown&&r.onMouseDown.apply(r,arguments)}),onMouseover:t[3]||(t[3]=function(){return r.onMouseOver&&r.onMouseOver.apply(r,arguments)}),onMouseleave:t[4]||(t[4]=function(){return r.onMouseLeave&&r.onMouseLeave.apply(r,arguments)})},[Qn(e.$slots,"default")],34)};var kl=Hn("vue-handler-wrapper"),Hg={name:"HandlerWrapper",components:{DraggableElement:bu},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,n=Mg(this.horizontalPosition,this.verticalPosition);e=kl((En(t={},n.classname,!0),En(t,"disabled",this.disabled),t))}else e=kl({disabled:this.disabled});return{root:e,draggable:kl("draggable")}}},emits:["leave","enter","drag","drag-end"]};Hg.render=function(e,t,n,i,s,r){var a=dt("DraggableElement");return ne(),Ve("div",{class:r.classes.root},[ke(a,{class:r.classes.draggable,onDrag:t[1]||(t[1]=function(c){return e.$emit("drag",c)}),onDragEnd:t[2]||(t[2]=function(c){return e.$emit("drag-end")}),onLeave:t[3]||(t[3]=function(c){return e.$emit("leave")}),onEnter:t[4]||(t[4]=function(c){return e.$emit("enter")})},{default:cn(function(){return[Qn(e.$slots,"default")]}),_:3},8,["class"])],2)};var y1=Hn("vue-line-wrapper"),zg={name:"LineWrapper",components:{DraggableElement:bu},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return y1((En(e={},this.position,!0),En(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"]};zg.render=function(e,t,n,i,s,r){var a=dt("DraggableElement");return ne(),Ve(a,{class:r.classname,onDrag:t[1]||(t[1]=function(c){return e.$emit("drag",c)}),onDragEnd:t[2]||(t[2]=function(c){return e.$emit("drag-end")}),onLeave:t[3]||(t[3]=function(c){return e.$emit("leave")}),onEnter:t[4]||(t[4]=function(c){return e.$emit("enter")})},{default:cn(function(){return[Qn(e.$slots,"default")]}),_:3},8,["class"])};var Xn=["left","right","top","bottom"],v1=["left","right"],b1=["top","bottom"],w1=["left","top"],S1=["fill-area","fit-area","stencil","none"],ph={left:0,top:0,width:0,height:0};function gh(e,t,n){return!(n=n||["width","height","left","top"]).some(function(i){return e[i]!==t[i]})}function Jn(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function qs(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Ot(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function $r(e,t){var n={left:0,top:0,right:0,bottom:0};return Xn.forEach(function(i){var s=t[i],r=Jn(e)[i];n[i]=s!==void 0&&r!==void 0?i==="left"||i==="top"?Math.max(0,s-r):Math.max(0,r-s):0}),n}function Kn(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function Fa(e){return{left:-e.left,top:-e.top}}function rn(e,t){return Te(Te({},e),{left:e.left+t.left,top:e.top+t.top})}function Rn(e,t,n,i){if(t!==1){if(n){var s=Ot(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(n.left-s.left)*(1-t),top:e.top+e.height*(1-t)/2+(n.top-s.top)*(1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function Xe(e){return e.width/e.height}function Vs(e,t){return Math.min(t.right!==void 0&&t.left!==void 0?(t.right-t.left)/e.width:1/0,t.bottom!==void 0&&t.top!==void 0?(t.bottom-t.top)/e.height:1/0)}function Ks(e,t){var n={left:0,top:0},i=$r(e,t);return i.left&&i.left>0?n.left=i.left:i.right&&i.right>0&&(n.left=-i.right),i.top&&i.top>0?n.top=i.top:i.bottom&&i.bottom>0&&(n.top=-i.bottom),n}function Nl(e,t){var n;return t.minimum&&e<t.minimum?n=t.minimum:t.maximum&&e>t.maximum&&(n=t.maximum),n}function Fg(e,t){var n=Xe(e),i=Xe(t);return t.width<1/0&&t.height<1/0?n>i?{width:t.width,height:t.width/n}:{width:t.height*n,height:t.height}:t.width<1/0?{width:t.width,height:t.width/n}:t.height<1/0?{width:t.height*n,height:t.height}:e}function jg(e,t){var n=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(n))+Math.abs(e.height*Math.sin(n)),height:Math.abs(e.width*Math.sin(n))+Math.abs(e.height*Math.cos(n))}}function Ii(e,t){var n=t*Math.PI/180;return{left:e.left*Math.cos(n)-e.top*Math.sin(n),top:e.left*Math.sin(n)+e.top*Math.cos(n)}}function ja(e,t){var n=$r(kt(e,t),t);return n.left+n.right+n.top+n.bottom?n.left+n.right>n.top+n.bottom?Math.min((e.width+n.left+n.right)/e.width,Vs(e,t)):Math.min((e.height+n.top+n.bottom)/e.height,Vs(e,t)):1}function kt(e,t,n){n===void 0&&(n=!1);var i=Ks(e,t);return rn(e,n?Fa(i):i)}function mc(e){return{width:e.right!==void 0&&e.left!==void 0?e.right-e.left:1/0,height:e.bottom!==void 0&&e.top!==void 0?e.bottom-e.top:1/0}}function _1(e,t){return Te(Te({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}function Bg(e,t,n){n===void 0&&(n=!0);var i={};return Xn.forEach(function(s){var r=e[s],a=t[s];r!==void 0&&a!==void 0?i[s]=s==="left"||s==="top"?n?Math.max(r,a):Math.min(r,a):n?Math.min(r,a):Math.max(r,a):a!==void 0?i[s]=a:r!==void 0&&(i[s]=r)}),i}function Ba(e,t){return Bg(e,t,!0)}function mh(e){var t=e.size,n=e.aspectRatio,i=e.ignoreMinimum,s=e.sizeRestrictions;return!!((t.correctRatio||Xe(t)>=n.minimum&&Xe(t)<=n.maximum)&&t.height<=s.maxHeight&&t.width<=s.maxWidth&&t.width&&t.height&&(i||t.height>=s.minHeight&&t.width>=s.minWidth))}function yh(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function fi(e){var t=e.width,n=e.height,i=e.sizeRestrictions,s={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},r={width:Math.max(i.minWidth,Math.min(i.maxWidth,t)),height:Math.max(i.minHeight,Math.min(i.maxHeight,n))};function a(g,p){return p===void 0&&(p=!1),g.reduce(function(m,w){return mh({size:w,aspectRatio:s,sizeRestrictions:i,ignoreMinimum:p})&&(!m||yh(w,{width:t,height:n})<yh(m,{width:t,height:n}))?w:m},null)}var c=[];s&&[s.minimum,s.maximum].forEach(function(g){g&&c.push({width:r.width,height:r.width/g,correctRatio:!0},{width:r.height*g,height:r.height,correctRatio:!0})}),mh({size:r,aspectRatio:s,sizeRestrictions:i})&&c.push(r);var u=a(c)||a(c,!0);return u&&{width:u.width,height:u.height}}function yc(e){var t=e.event,n=e.coordinates,i=e.positionRestrictions,s=i===void 0?{}:i,r=rn(n,t.directions);return rn(r,Ks(r,s))}function T1(e){var t=e.coordinates,n=e.transform,i=e.imageSize,s=e.sizeRestrictions,r=e.positionRestrictions,a=e.aspectRatio,c=e.visibleArea,u=function(p,m){return yc({coordinates:p,positionRestrictions:r,event:new vu({left:m.left-p.left,top:m.top-p.top})})},g=Te({},t);return(Array.isArray(n)?n:[n]).forEach(function(p){var m={};Tt((m=typeof p=="function"?p({coordinates:g,imageSize:i,visibleArea:c}):p).width)&&Tt(m.height)||(g=function(w,_){var S=Te(Te(Te({},w),fi({width:_.width,height:_.height,sizeRestrictions:s,aspectRatio:a})),{left:0,top:0});return u(S,{left:w.left,top:w.top})}(g,Te(Te({},g),m))),Tt(m.left)&&Tt(m.top)||(g=u(g,Te(Te({},g),m)))}),g}function C1(e){e.event;var t=e.getAreaRestrictions,n=e.boundaries,i=e.coordinates,s=e.visibleArea;e.aspectRatio;var r=e.stencilSize,a=e.sizeRestrictions,c=e.positionRestrictions;e.stencilReference;var u,g,p,m=Te({},i),w=Te({},s),_=Te({},r);u=Xe(_),g=Xe(m),p===void 0&&(p=.001),(u===0||g===0?Math.abs(g-u)<p:Math.abs(g/u)<1+p&&Math.abs(g/u)>1-p)||(m=Te(Te({},m),fi({sizeRestrictions:a,width:m.width,height:m.height,aspectRatio:{minimum:Xe(_),maximum:Xe(_)}})));var S=ja(w=Rn(w,m.width*n.width/(w.width*_.width)),t({visibleArea:w,type:"resize"}));return S!==1&&(w=Rn(w,S),m=Rn(m,S)),w=kt(w=rn(w,qs(Ot(m),Ot(w))),t({visibleArea:w,type:"move"})),{coordinates:m=kt(m,Ba(Jn(w),c)),visibleArea:w}}function E1(e){var t=e.event,n=e.getAreaRestrictions,i=e.boundaries,s=e.coordinates,r=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var a=e.positionRestrictions;e.stencilReference;var c=Te({},s),u=Te({},r);if(s&&r&&t.type!=="manipulateImage"){var g={width:0,height:0};u.width,i.width,Xe(i)>Xe(c)?(g.height=.8*i.height,g.width=g.height*Xe(c)):(g.width=.8*i.width,g.height=g.width*Xe(c));var p=ja(u=Rn(u,c.width*i.width/(u.width*g.width)),n({visibleArea:u,type:"resize"}));u=Rn(u,p),p!==1&&(g.height/=p,g.width/=p),u=kt(u=rn(u,qs(Ot(c),Ot(u))),n({visibleArea:u,type:"move"})),c=kt(c,Ba(Jn(u),a))}return{coordinates:c,visibleArea:u}}function A1(e){var t=e.event,n=e.coordinates,i=e.visibleArea,s=e.getAreaRestrictions,r=Te({},i),a=Te({},n);if(t.type==="setCoordinates"){var c=Math.max(0,a.width-r.width),u=Math.max(0,a.height-r.height);c>u?r=Rn(r,Math.min(a.width/r.width,Vs(r,s({visibleArea:r,type:"resize"})))):u>c&&(r=Rn(r,Math.min(a.height/r.height,Vs(r,s({visibleArea:r,type:"resize"}))))),r=kt(r=rn(r,Fa(Ks(a,Jn(r)))),s({visibleArea:r,type:"move"}))}return{visibleArea:r,coordinates:a}}function x1(e){var t=e.imageSize,n=e.visibleArea,i=e.coordinates,s=n||t;return{left:(n?n.left:0)+s.width/2-i.width/2,top:(n?n.top:0)+s.height/2-i.height/2}}function R1(e){var t=e.imageSize,n=e.visibleArea,i=e.aspectRatio,s=e.sizeRestrictions,r=n||t,a=Math.min(i.maximum||1/0,Math.max(i.minimum||0,Xe(r))),c=r.width<r.height?{width:.8*r.width,height:.8*r.width/a}:{height:.8*r.height,width:.8*r.height*a};return fi(Te(Te({},c),{aspectRatio:i,sizeRestrictions:s}))}function I1(e){var t,n,i=e.imageSize,s=e.visibleArea,r=e.boundaries,a=e.aspectRatio,c=e.sizeRestrictions,u=e.stencilSize,g=s||i;return Xe(g)>Xe(r)?n=(t=u.height*g.height/r.height)*Xe(u):t=(n=u.width*g.width/r.width)/Xe(u),fi({width:n,height:t,aspectRatio:a,sizeRestrictions:c})}function O1(e){var t=e.getAreaRestrictions,n=e.coordinates,i=e.imageSize,s=Xe(e.boundaries);if(n){var r={height:Math.max(n.height,i.height),width:Math.max(n.width,i.width)},a=Fg({width:Xe(r)>s?r.width:r.height*s,height:Xe(r)>s?r.width/s:r.height},mc(t())),c={left:n.left+n.width/2-a.width/2,top:n.top+n.height/2-a.height/2,width:a.width,height:a.height},u=$r(n,Jn(Te({left:0,top:0},i))),g={};return!u.left&&!u.right&&c.width<=i.width&&(g.left=0,g.right=i.width),!u.top&&!u.bottom&&c.height<=i.height&&(g.top=0,g.bottom=i.height),kt(c,g)}var p=Xe(i);return a={height:p>s?i.height:i.width/s,width:p>s?i.height*s:i.width},{left:i.width/2-a.width/2,top:i.height/2-a.height/2,width:a.width,height:a.height}}function Co(e,t){return Bg(e,Jn(t))}function k1(e){var t=e.event,n=e.coordinates,i=e.visibleArea,s=e.sizeRestrictions,r=e.getAreaRestrictions,a=e.positionRestrictions,c=e.adjustStencil,u=t.scale,g=t.move,p=Te({},i),m=Te({},n),w=1,_=1,S=u.factor&&Math.abs(u.factor-1)>.001;p=rn(p,{left:g.left||0,top:g.top||0});var T={stencil:{minimum:Math.max(s.minWidth?s.minWidth/m.width:0,s.minHeight?s.minHeight/m.height:0),maximum:Math.min(s.maxWidth?s.maxWidth/m.width:1/0,s.maxHeight?s.maxHeight/m.height:1/0,Vs(m,a))},area:{maximum:Vs(p,r({visibleArea:p,type:"resize"}))}};u.factor&&S&&(u.factor<1?(_=Math.max(u.factor,T.stencil.minimum))>1&&(_=1):u.factor>1&&(_=Math.min(u.factor,Math.min(T.area.maximum,T.stencil.maximum)))<1&&(_=1)),_&&(p=Rn(p,_,u.center));var P=n.left-i.left,M=i.width+i.left-(n.width+n.left),j=n.top-i.top,R=i.height+i.top-(n.height+n.top);return p=kt(p=rn(p,Ks(p,{left:a.left!==void 0?a.left-P*_:void 0,top:a.top!==void 0?a.top-j*_:void 0,bottom:a.bottom!==void 0?a.bottom+R*_:void 0,right:a.right!==void 0?a.right+M*_:void 0})),r({visibleArea:p,type:"move"})),m.width=m.width*_,m.height=m.height*_,m.left=p.left+P*_,m.top=p.top+j*_,m=kt(m,Ba(Jn(p),a)),u.factor&&S&&c&&(u.factor>1?w=Math.min(T.area.maximum,u.factor)/_:u.factor<1&&(w=Math.max(m.height/p.height,m.width/p.width,u.factor/_)),w!==1&&(p=rn(p=kt(p=Rn(p,w,u.factor>1?u.center:Ot(m)),r({visibleArea:p,type:"move"})),Fa(Ks(m,Jn(p)))))),{coordinates:m,visibleArea:p}}function N1(e){var t=e.aspectRatio,n=e.getAreaRestrictions,i=e.coordinates,s=e.visibleArea,r=e.sizeRestrictions,a=e.positionRestrictions,c=e.imageSize,u=e.previousImageSize,g=e.angle,p=Te({},i),m=Te({},s),w=Ii(Ot(Te({left:0,top:0},u)),g);return(p=Te(Te({},fi({sizeRestrictions:r,aspectRatio:t,width:p.width,height:p.height})),Ii(Ot(p),g))).left-=w.left-c.width/2+p.width/2,p.top-=w.top-c.height/2+p.height/2,m=Rn(m,ja(m,n({visibleArea:m,type:"resize"}))),{coordinates:p=kt(p,a),visibleArea:m=kt(m=rn(m,qs(Ot(p),Ot(i))),n({visibleArea:m,type:"move"}))}}function M1(e){var t=e.flip,n=e.previousFlip,i=e.rotate,s=e.getAreaRestrictions,r=e.coordinates,a=e.visibleArea,c=e.imageSize,u=Te({},r),g=Te({},a),p=n.horizontal!==t.horizontal,m=n.vertical!==t.vertical;if(p||m){var w=Ii({left:c.width/2,top:c.height/2},-i),_=Ii(Ot(u),-i),S=Ii({left:p?w.left-(_.left-w.left):_.left,top:m?w.top-(_.top-w.top):_.top},i);u=rn(u,qs(S,Ot(u))),_=Ii(Ot(g),-i),g=kt(g=rn(g,qs(S=Ii({left:p?w.left-(_.left-w.left):_.left,top:m?w.top-(_.top-w.top):_.top},i),Ot(g))),s({visibleArea:g,type:"move"}))}return{coordinates:u,visibleArea:g}}function vh(e){var t=e.directions,n=e.coordinates,i=e.positionRestrictions,s=i===void 0?{}:i,r=e.sizeRestrictions,a=e.preserveRatio,c=e.compensate,u=Te({},t),g=Kn(n,u).width,p=Kn(n,u).height;g<0&&(u.left<0&&u.right<0?(u.left=-(n.width-r.minWidth)/(u.left/u.right),u.right=-(n.width-r.minWidth)/(u.right/u.left)):u.left<0?u.left=-(n.width-r.minWidth):u.right<0&&(u.right=-(n.width-r.minWidth))),p<0&&(u.top<0&&u.bottom<0?(u.top=-(n.height-r.minHeight)/(u.top/u.bottom),u.bottom=-(n.height-r.minHeight)/(u.bottom/u.top)):u.top<0?u.top=-(n.height-r.minHeight):u.bottom<0&&(u.bottom=-(n.height-r.minHeight)));var m=$r(Kn(n,u),s);c&&(m.left&&m.left>0&&m.right===0?(u.right+=m.left,u.left-=m.left):m.right&&m.right>0&&m.left===0&&(u.left+=m.right,u.right-=m.right),m.top&&m.top>0&&m.bottom===0?(u.bottom+=m.top,u.top-=m.top):m.bottom&&m.bottom>0&&m.top===0&&(u.top+=m.bottom,u.bottom-=m.bottom),m=$r(Kn(n,u),s));var w={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(Xn.forEach(function(T){var P=m[T];P&&u[T]&&(w[T]=Math.max(0,1-P/u[T]))}),a){var _=Math.min.apply(null,Xn.map(function(T){return w[T]}));_!==1/0&&Xn.forEach(function(T){u[T]*=_})}else Xn.forEach(function(T){w[T]!==1/0&&(u[T]*=w[T])});if(g=Kn(n,u).width,p=Kn(n,u).height,u.right+u.left&&(g>r.maxWidth?w.width=(r.maxWidth-n.width)/(u.right+u.left):g<r.minWidth&&(w.width=(r.minWidth-n.width)/(u.right+u.left))),u.bottom+u.top&&(p>r.maxHeight?w.height=(r.maxHeight-n.height)/(u.bottom+u.top):p<r.minHeight&&(w.height=(r.minHeight-n.height)/(u.bottom+u.top))),a){var S=Math.min(w.width,w.height);S!==1/0&&Xn.forEach(function(T){u[T]*=S})}else w.width!==1/0&&v1.forEach(function(T){u[T]*=w.width}),w.height!==1/0&&b1.forEach(function(T){u[T]*=w.height});return u}function Eo(e,t,n){return t==0&&n==0?e/2:t==0?0:n==0?e:e*Math.abs(t/(t+n))}var D1=Hn("vue-simple-handler"),P1=Hn("vue-simple-handler-wrapper"),wu={name:"SimpleHandler",components:{HandlerWrapper:Hg},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var e,t=(En(e={},this.horizontalPosition,!!this.horizontalPosition),En(e,this.verticalPosition,!!this.verticalPosition),En(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),!!(this.verticalPosition&&this.horizontalPosition)),En(e,"hover",this.hover),e);return{default:vt(D1(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:vt(P1(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};wu.render=function(e,t,n,i,s,r){var a=dt("HandlerWrapper");return ne(),Ve(a,{class:r.classes.wrapper,"vertical-position":n.verticalPosition,"horizontal-position":n.horizontalPosition,disabled:n.disabled,onDrag:r.onDrag,onDragEnd:r.onDragEnd,onEnter:r.onEnter,onLeave:r.onLeave},{default:cn(function(){return[ke("div",{class:r.classes.default},null,2)]}),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var L1=Hn("vue-simple-line"),H1=Hn("vue-simple-line-wrapper"),Su={name:"SimpleLine",components:{LineWrapper:zg},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:vt(L1(En({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:vt(H1(En({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};Su.render=function(e,t,n,i,s,r){var a=dt("LineWrapper");return ne(),Ve(a,{class:r.classes.wrapper,position:n.position,disabled:n.disabled,onDrag:r.onDrag,onDragEnd:r.onDragEnd,onEnter:r.onEnter,onLeave:r.onLeave},{default:cn(function(){return[ke("div",{class:r.classes.root},null,2)]}),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var Ml=Hn("vue-bounding-box"),z1=["east","west",null],F1=["south","north",null],$g={name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return wu}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return Su}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return z1.forEach(function(t){F1.forEach(function(n){if(t!==n){var i=Mg(t,n),s=i.name,r=i.classname;e.push({name:s,classname:r,verticalDirection:n,horizontalDirection:t})}})}),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,n=this.linesClasses,i=this.linesWrappersClasses;return{root:Ml(),handlers:e,handlersWrappers:t,lines:n,linesWrappers:i}},lineNodes:function(){var e=this,t=[];return this.points.forEach(function(n){n.horizontalDirection&&n.verticalDirection||!e.lines[n.name]||t.push({name:n.name,component:e.linesComponent,class:vt(e.classes.lines.default,e.classes.lines[n.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:vt(e.classes.linesWrappers.default,e.classes.linesWrappers[n.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:n.verticalDirection,horizontalDirection:n.horizontalDirection,disabled:!e.resizable})}),t},handlerNodes:function(){var e=this,t=[],n=this.width,i=this.height;return this.points.forEach(function(s){if(e.handlers[s.name]){var r={name:s.name,component:e.handlersComponent,class:vt(e.classes.handlers.default,e.classes.handlers[s.name]),wrapperClass:vt(e.classes.handlersWrappers.default,e.classes.handlersWrappers[s.name]),hoverClass:e.classes.handlers.hover,verticalDirection:s.verticalDirection,horizontalDirection:s.horizontalDirection,disabled:!e.resizable};if(n&&i){var a=s.horizontalDirection,c=s.verticalDirection,u=a==="east"?n:a==="west"?0:n/2,g=c==="south"?i:c==="north"?0:i/2;r.wrapperClass=Ml("handler"),r.wrapperStyle={transform:"translate(".concat(u,"px, ").concat(g,"px)")},e.transitions&&e.transitions.enabled&&(r.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else r.wrapperClass=Ml("handler",En({},s.classname,!0));t.push(r)}}),t}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(e,t,n){var i,s=e.shift(),r=s.left,a=s.top,c={left:0,right:0,top:0,bottom:0};t==="west"?c.left-=r:t==="east"&&(c.right+=r),n==="north"?c.top-=a:n==="south"&&(c.bottom+=a),!n&&t?i="width":n&&!t&&(i="height"),this.resizable&&this.$emit("resize",new g1(c,{allowedDirections:{left:t==="west"||!t,right:t==="east"||!t,bottom:n==="south"||!n,top:n==="north"||!n},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:i}))}},emits:["resize","resize-end"]};$g.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"box",class:r.classes.root,style:r.style},[Qn(e.$slots,"default"),ke("div",null,[(ne(!0),Ve(tt,null,hi(r.lineNodes,function(a){return ne(),Ve(Mr(a.component),{key:a.name,"default-class":a.class,"hover-class":a.hoverClass,"wrapper-class":a.wrapperClass,position:a.name,disabled:a.disabled,onDrag:function(c){return r.onHandlerDrag(c,a.horizontalDirection,a.verticalDirection)},onDragEnd:t[1]||(t[1]=function(c){return r.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])}),128))]),(ne(!0),Ve(tt,null,hi(r.handlerNodes,function(a){return ne(),Ve("div",{key:a.name,style:a.wrapperStyle,class:a.wrapperClass},[(ne(),Ve(Mr(a.component),{"default-class":a.class,"hover-class":a.hoverClass,"wrapper-class":a.wrapperClass,"horizontal-position":a.horizontalDirection,"vertical-position":a.verticalDirection,disabled:a.disabled,onDrag:function(c){return r.onHandlerDrag(c,a.horizontalDirection,a.verticalDirection)},onDragEnd:t[2]||(t[2]=function(c){return r.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)}),128))],6)};var j1=Hn("vue-draggable-area"),Ug={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:j1()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(e){if(e.cancelable){var t=this.movable&&e.touches.length===1;t&&(this.touches=os(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):Lg({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&e.button===0){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),n=t.left,i=t.top;this.anchor={x:e.clientX-n,y:e.clientY-i}},processMove:function(e,t){var n=os(t);if(this.touches.length){var i=this.$refs.container.getBoundingClientRect(),s=i.left,r=i.top;this.touches.length===1&&n.length===1&&this.$emit("move",new vu({left:n[0].clientX-(s+this.anchor.x),top:n[0].clientY-(r+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};Ug.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"container",onTouchstart:t[1]||(t[1]=function(){return r.onTouchStart&&r.onTouchStart.apply(r,arguments)}),onMousedown:t[2]||(t[2]=function(){return r.onMouseDown&&r.onMouseDown.apply(r,arguments)})},[Qn(e.$slots,"default")],544)};function Dl(e){var t,n;return{rotate:e.rotate||0,flip:{horizontal:((t=e==null?void 0:e.flip)===null||t===void 0?void 0:t.horizontal)||!1,vertical:((n=e==null?void 0:e.flip)===null||n===void 0?void 0:n.vertical)||!1}}}function B1(e){return new Promise(function(t,n){try{if(e)if(/^data:/i.test(e))t(function(u){u=u.replace(/^data:([^;]+);base64,/gim,"");for(var g=atob(u),p=g.length,m=new ArrayBuffer(p),w=new Uint8Array(m),_=0;_<p;_++)w[_]=g.charCodeAt(_);return m}(e));else if(/^blob:/i.test(e)){var i=new FileReader;i.onload=function(u){t(u.target.result)},r=e,a=function(u){i.readAsArrayBuffer(u)},(c=new XMLHttpRequest).open("GET",r,!0),c.responseType="blob",c.onload=function(){this.status!=200&&this.status!==0||a(this.response)},c.send()}else{var s=new XMLHttpRequest;s.onreadystatechange=function(){s.readyState===4&&(s.status===200||s.status===0?t(s.response):n("Warning: could not load an image to parse its orientation"),s=null)},s.onprogress=function(){s.getResponseHeader("content-type")!=="image/jpeg"&&s.abort()},s.withCredentials=!1,s.open("GET",e,!0),s.responseType="arraybuffer",s.send(null)}else n("Error: the image is empty")}catch(u){n(u)}var r,a,c})}function Wg(e){var t=e.rotate,n=e.flip,i=e.scaleX,s=e.scaleY,r="";return r+=" rotate("+t+"deg) ",r+=" scaleX("+i*(n.horizontal?-1:1)+") ",r+=" scaleY("+s*(n.vertical?-1:1)+") "}function $1(e){try{var t,n=new DataView(e),i=void 0,s=void 0,r=void 0,a=void 0;if(n.getUint8(0)===255&&n.getUint8(1)===216)for(var c=n.byteLength,u=2;u+1<c;){if(n.getUint8(u)===255&&n.getUint8(u+1)===225){r=u;break}u++}if(r&&(i=r+10,function(_,S,T){var P,M="";for(P=S,T+=S;P<T;P++)M+=String.fromCharCode(_.getUint8(P));return M}(n,r+4,4)==="Exif")){var g=n.getUint16(i);if(((s=g===18761)||g===19789)&&n.getUint16(i+2,s)===42){var p=n.getUint32(i+4,s);p>=8&&(a=i+p)}}if(a){for(var m=n.getUint16(a,s),w=0;w<m;w++)if(u=a+12*w+2,n.getUint16(u,s)===274){u+=8,t=n.getUint16(u,s),n.setUint16(u,1,s);break}}return t}catch{return null}}function bh(e,t){var n=t.getBoundingClientRect(),i=n.left,s=n.top,r={left:0,top:0},a=0;return e.forEach(function(c){r.left+=(c.clientX-i)/e.length,r.top+=(c.clientY-s)/e.length}),e.forEach(function(c){a+=Lg({x:r.left,y:r.top},{x:c.clientX-i,y:c.clientY-s})}),{centerMass:r,spread:a,count:e.length}}var qg={props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=pc(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(this.touches.length===1&&t.length===1)this.$emit("move",new xr({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var n=bh(t,this.$refs.container),i=this.oldGeometricProperties;i.count===n.count&&i.count>1&&this.$emit("resize",new xr({left:i.centerMass.left-n.centerMass.left,top:i.centerMass.top-n.centerMass.top},{factor:i.spread/n.spread,center:n.centerMass})),this.oldGeometricProperties=n}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?this.eventsFilter(e,this.transforming)!==!1:(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,n=t.getBoundingClientRect(),i=n.left,s=n.top,r=n.bottom,a=n.right;this.touches=os(e.touches).filter(function(c){return c.clientX>i&&c.clientX<a&&c.clientY>s&&c.clientY<r}),this.oldGeometricProperties=bh(this.touches,t)}},onTouchEnd:function(e){e.touches.length===0&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var n=os(e.touches).filter(function(i){return!i.identifier||t.touches.find(function(s){return s.identifier===i.identifier})});this.processEvent(e)&&(this.processMove(e,n),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&e.buttons===1&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),n=t.left,i=t.top,s=1+this.wheelResize.ratio*(a=e.deltaY||e.detail||e.wheelDelta,(c=+a)==0||Pg(c)?c:c>0?1:-1),r={left:e.clientX-n,top:e.clientY-i};this.$emit("resize",new xr({},{factor:s,center:r})),this.touches.length||this.debouncedProcessEnd()}var a,c}},emits:["resize","move","transform-end"]};qg.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"container",onTouchstart:t[1]||(t[1]=function(){return r.onTouchStart&&r.onTouchStart.apply(r,arguments)}),onMousedown:t[2]||(t[2]=function(){return r.onMouseDown&&r.onMouseDown.apply(r,arguments)}),onWheel:t[3]||(t[3]=function(){return r.onWheel&&r.onWheel.apply(r,arguments)})},[Qn(e.$slots,"default")],544)};var vc={components:{TransformableImage:qg},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};vc.render=function(e,t,n,i,s,r){var a=dt("transformable-image");return ne(),Ve(a,{"touch-move":n.touchMove,"touch-resize":n.touchResize,"mouse-move":n.mouseMove,"wheel-resize":n.wheelResize,onMove:t[1]||(t[1]=function(c){return e.$emit("move",c)}),onResize:t[2]||(t[2]=function(c){return e.$emit("resize",c)})},{default:cn(function(){return[Qn(e.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var Ao=Hn("vue-preview"),Vg={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Ao({fill:this.fill}),wrapper:Ao("wrapper"),imageWrapper:Ao("image-wrapper"),image:vt(Ao("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=Ke(Ke({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),n=this.imageSize.width,i=this.imageSize.height,s=jg({width:n,height:i},t.rotate),r={width:"".concat(n,"px"),height:"".concat(i,"px"),left:"0px",top:"0px"},a={rotate:{left:(n-s.width)*t.scaleX/2,top:(i-s.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*n/2,top:(1-t.scaleY)*i/2}};return r.transform=`translate(
				`.concat(-this.coordinates.left/e-a.rotate.left-a.scale.left,"px,").concat(-this.coordinates.top/e-a.rotate.top-a.scale.top,"px) ")+Wg(t),this.transitions&&this.transitions.enabled&&(r.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),r}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){e.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}}};Vg.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"root",class:r.classes.root,style:r.style},[ke("div",{ref:"wrapper",class:r.classes.wrapper,style:r.wrapperStyle},[An(ke("img",{ref:"image",src:n.image&&n.image.src,class:r.classes.image,style:r.imageStyle},null,14,["src"]),[[Na,n.image&&n.image.src]])],6)],6)};var Kg={components:{Preview:Vg},inheritAttrs:!1};Kg.render=function(e,t,n,i,s,r){var a=dt("preview");return ne(),Ve(a,ka(e.$attrs,{fill:!0}),null,16)};var Pl=Hn("vue-rectangle-stencil"),Xg={name:"RectangleStencil",components:{StencilPreview:Kg,BoundingBox:$g,DraggableArea:Ug},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return wu}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return Su}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:vt(Pl({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:vt(Pl("preview"),this.previewClass),boundingBox:vt(Pl("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,n=e.width,i=e.left,s=e.top,r={width:"".concat(n,"px"),height:"".concat(t,"px"),transform:"translate(".concat(i,"px, ").concat(s,"px)")};return this.transitions&&this.transitions.enabled&&(r.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),r}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};Xg.render=function(e,t,n,i,s,r){var a=dt("stencil-preview"),c=dt("draggable-area"),u=dt("bounding-box");return ne(),Ve("div",{class:r.classes.stencil,style:r.style},[ke(u,{width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,transitions:n.transitions,class:r.classes.boundingBox,handlers:n.handlers,"handlers-component":n.handlersComponent,"handlers-classes":n.handlersClasses,"handlers-wrappers-classes":n.handlersWrappersClasses,lines:n.lines,"lines-component":n.linesComponent,"lines-classes":n.linesClasses,"lines-wrappers-classes":n.linesWrappersClasses,resizable:n.resizable,onResize:r.onResize,onResizeEnd:r.onResizeEnd},{default:cn(function(){return[ke(c,{movable:n.movable,onMove:r.onMove,onMoveEnd:r.onMoveEnd},{default:cn(function(){return[ke(a,{image:n.image,coordinates:n.coordinates,width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,class:r.classes.preview,transitions:n.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var U1=["transitions"],si=Hn("vue-advanced-cropper"),Yg={name:"Cropper",components:{BackgroundWrapper:vc},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Xg}},backgroundWrapperComponent:{type:[Object,String],default:function(){return vc}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(e){return S1.indexOf(e)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(e){return!(typeof e=="string"&&e!=="fill"&&e!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(e){var t=e.event,n=e.coordinates,i=e.aspectRatio,s=e.positionRestrictions,r=e.sizeRestrictions,a=Te(Te({},n),{right:n.left+n.width,bottom:n.top+n.height}),c=t.params||{},u=Te({},t.directions),g=c.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};r.widthFrozen&&(u.left=0,u.right=0),r.heightFrozen&&(u.top=0,u.bottom=0),Xn.forEach(function(N){g[N]||(u[N]=0)});var p=Kn(a,u=vh({coordinates:a,directions:u,sizeRestrictions:r,positionRestrictions:s})).width,m=Kn(a,u).height,w=c.preserveRatio?Xe(a):Nl(p/m,i);if(w){var _=c.respectDirection;if(_||(_=a.width>=a.height||w===1?"width":"height"),_==="width"){var S=p/w-a.height;if(g.top&&g.bottom){var T=u.top,P=u.bottom;u.bottom=Eo(S,P,T),u.top=Eo(S,T,P)}else g.bottom?u.bottom=S:g.top?u.top=S:g.right?u.right=0:g.left&&(u.left=0)}else if(_==="height"){var M=a.width-m*w;if(g.left&&g.right){var j=u.left,R=u.right;u.left=-Eo(M,j,R),u.right=-Eo(M,R,j)}else g.left?u.left=-M:g.right?u.right=-M:g.top?u.top=0:g.bottom&&(u.bottom=0)}u=vh({directions:u,coordinates:a,sizeRestrictions:r,positionRestrictions:s,preserveRatio:!0,compensate:c.compensate})}return p=Kn(a,u).width,m=Kn(a,u).height,(w=c.preserveRatio?Xe(a):Nl(p/m,i))&&Math.abs(w-p/m)>.001&&Xn.forEach(function(N){g[N]||(u[N]=0)}),yc({event:new vu({left:-u.left,top:-u.top}),coordinates:{width:n.width+u.right+u.left,height:n.height+u.top+u.bottom,left:n.left,top:n.top},positionRestrictions:s})}},moveAlgorithm:{type:Function,default:yc},initStretcher:{type:Function,default:function(e){var t=e.stretcher,n=e.imageSize,i=Xe(n);t.style.width=n.width+"px",t.style.height=t.clientWidth/i+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,n=e.coordinates,i=e.aspectRatio,s=e.sizeRestrictions,r=e.positionRestrictions,a=Te(Te({},n),fi({width:n.width,height:n.height,aspectRatio:i,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,s.minHeight),minWidth:Math.min(t.width,s.minWidth)}}));return a=kt(a=rn(a,qs(Ot(n),Ot(a))),Ba(Jn(t),r))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,n=e.boundaries,i=e.getAreaRestrictions,s=e.coordinates,r=Te({},t);r.height=r.width/Xe(n),r.top+=(t.height-r.height)/2,(s.height-r.height>0||s.width-r.width>0)&&(r=Rn(r,Math.max(s.height/r.height,s.width/r.width)));var a=Fa(Ks(s,Jn(r=Rn(r,ja(r,i({visibleArea:r,type:"resize"}))))));return r.width<s.width&&(a.left=0),r.height<s.height&&(a.top=0),r=kt(r=rn(r,a),i({visibleArea:r,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,n=e.boundaries,i=e.imageSize,s=e.imageRestriction,r=e.type,a={};return s==="fill-area"?a={left:0,top:0,right:i.width,bottom:i.height}:s==="fit-area"&&(Xe(n)>Xe(i)?(a={top:0,bottom:i.height},t&&r==="move"&&(t.width>i.width?(a.left=-(t.width-i.width)/2,a.right=i.width-a.left):(a.left=0,a.right=i.width))):(a={left:0,right:i.width},t&&r==="move"&&(t.height>i.height?(a.top=-(t.height-i.height)/2,a.bottom=i.height-a.top):(a.top=0,a.bottom=i.height)))),a}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,n={};return e.imageRestriction!=="none"&&(n={left:0,top:0,right:t.width,bottom:t.height}),n}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:Ke({},ph)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var e=function(t){return t*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var e=gc(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:gc(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:Tt(this.minWidth)?0:To(this.minWidth),minHeight:Tt(this.minHeight)?0:To(this.minHeight),maxWidth:Tt(this.maxWidth)?1/0:To(this.maxWidth),maxHeight:Tt(this.maxHeight)?1/0:To(this.maxHeight)});if(e=function(i){var s=i.areaRestrictions,r=i.sizeRestrictions,a=i.boundaries,c=i.positionRestrictions,u=Te(Te({},r),{minWidth:r.minWidth!==void 0?r.minWidth:0,minHeight:r.minHeight!==void 0?r.minHeight:0,maxWidth:r.maxWidth!==void 0?r.maxWidth:1/0,maxHeight:r.maxHeight!==void 0?r.maxHeight:1/0});c.left!==void 0&&c.right!==void 0&&(u.maxWidth=Math.min(u.maxWidth,c.right-c.left)),c.bottom!==void 0&&c.top!==void 0&&(u.maxHeight=Math.min(u.maxHeight,c.bottom-c.top));var g=mc(s),p=Fg(a,g);return g.width<1/0&&(!u.maxWidth||u.maxWidth>p.width)&&(u.maxWidth=Math.min(u.maxWidth,p.width)),g.height<1/0&&(!u.maxHeight||u.maxHeight>p.height)&&(u.maxHeight=Math.min(u.maxHeight,p.height)),u.minWidth>u.maxWidth&&(u.minWidth=u.maxWidth,u.widthFrozen=!0),u.minHeight>u.maxHeight&&(u.minHeight=u.maxHeight,u.heightFrozen=!0),u}({sizeRestrictions:e,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var t=this.getStencilSize(),n=mc(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,n.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,n.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:si(),image:vt(si("image"),this.imageClass),stencil:si("stencil"),boundaries:vt(si("boundaries"),this.boundariesClass),stretcher:vt(si("stretcher")),background:vt(si("background"),this.backgroundClass),foreground:vt(si("foreground"),this.foregroundClass),imageWrapper:vt(si("image-wrapper")),cropperWrapper:vt(si("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,n=e.height,i=e.left,s=e.top;return{width:t/this.coefficient,height:n/this.coefficient,left:(i-this.visibleArea.left)/this.coefficient,top:(s-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(e.opacity="0"),e},imageStyle:function(){var e=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},t={left:(e.width-this.imageSize.width)/(2*this.coefficient),top:(e.height-this.imageSize.height)/(2*this.coefficient)},n={left:(1-1/this.coefficient)*e.width/2,top:(1-1/this.coefficient)*e.height/2},i=Ke(Ke({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),s={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t.left-n.left-this.imageTransforms.translateX,"px, ").concat(-t.top-n.top-this.imageTransforms.translateY,"px)")+Wg(i)};return this.transitionsOptions.enabled&&(s.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),s}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick(function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(n){return e[n]!==t[n]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=pc(this.update,this.debounce),this.debouncedDisableTransitions=pc(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var e=this.initialized?this.prepareResult(Ke({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:Ke({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var n=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Ke({},this.visibleArea):null,imageTransforms:t,get canvas(){return n.canvas?n.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Ke({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.transitions,s=i===void 0||i;this.onManipulateImage(new xr({},{factor:1/e,center:t}),{normalize:!1,transitions:s})},move:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.transitions,s=i===void 0||i;this.onManipulateImage(new xr({left:e||0,top:t||0}),{normalize:!1,transitions:s})},setCoordinates:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.autoZoom,s=i===void 0||i,r=n.transitions,a=r===void 0||r;this.$nextTick(function(){t.imageLoaded?(t.transitionsActive||(a&&t.enableTransitions(),t.coordinates=t.applyTransform(e),s&&t.runAutoZoom("setCoordinates"),a&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e})},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then(function(){e.onChange()}):this.resetVisibleArea().then(function(){e.onChange()})},reset:function(){var e=this;return this.resetVisibleArea().then(function(){e.onChange(!1)})},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){e(),t.awaiting=!1}))},prepareResult:function(e){return this.roundResult?function(t){var n=t.coordinates,i=t.sizeRestrictions,s=t.positionRestrictions,r={width:Math.round(n.width),height:Math.round(n.height),left:Math.round(n.left),top:Math.round(n.top)};return r.width>i.maxWidth?r.width=Math.floor(n.width):r.width<i.minWidth&&(r.width=Math.ceil(n.width)),r.height>i.maxHeight?r.height=Math.floor(n.height):r.height<i.minHeight&&(r.height=Math.ceil(n.height)),kt(r,s)}(Ke(Ke({},this.getPublicProperties()),{},{positionRestrictions:Co(this.positionRestrictions,this.visibleArea),coordinates:e})):e},processAutoZoom:function(e,t,n,i){var s=this.autoZoomAlgorithm;s||(s=this.stencilSize?C1:this.autoZoom?E1:A1);var r=s({event:{type:e,params:i},visibleArea:t,coordinates:n,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return Ke(Ke({},r),{},{changed:!gh(r.visibleArea,t)||!gh(r.coordinates,n)})},runAutoZoom:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transitions,i=n!==void 0&&n,s=d1(t,U1),r=this.processAutoZoom(e,this.visibleArea,this.coordinates,s),a=r.visibleArea,c=r.coordinates,u=r.changed;i&&u&&this.enableTransitions(),this.visibleArea=a,this.coordinates=c,i&&u&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(t){var n=t.event,i=t.visibleArea,s=t.coefficient;if(n.type==="manipulateImage")return Te(Te({},n),{move:{left:n.move&&n.move.left?s*n.move.left:0,top:n.move&&n.move.top?s*n.move.top:0},scale:{factor:n.scale&&n.scale.factor?n.scale.factor:1,center:n.scale&&n.scale.center?{left:n.scale.center.left*s+i.left,top:n.scale.center.top*s+i.top}:null}});if(n.type==="resize"){var r=Te(Te({},n),{directions:Te({},n.directions)});return Xn.forEach(function(c){r.directions[c]*=s}),r}if(n.type==="move"){var a=Te(Te({},n),{directions:Te({},n.directions)});return w1.forEach(function(c){a.directions[c]*=s}),a}return n}(Ke(Ke({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,n=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(c,u,g){var p=g.rotate,m=g.flip,w={width:u.naturalWidth,height:u.naturalHeight},_=jg(w,p),S=c.getContext("2d");c.height=_.height,c.width=_.width,S.save();var T=Ii(Ot(Te({left:0,top:0},w)),p);return S.translate(-(T.left-_.width/2),-(T.top-_.height/2)),S.rotate(p*Math.PI/180),S.translate(m.horizontal?w.width:0,m.vertical?w.height:0),S.scale(m.horizontal?-1:1,m.vertical?-1:1),S.drawImage(u,0,0,w.width,w.height),S.restore(),c}(this.$refs.sourceCanvas,t,this.imageTransforms):t,i=Ke({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),s=function(c){return c.find(function(u){return g=u,!Number.isNaN(parseFloat(g))&&isFinite(g);var g})},r=fi({sizeRestrictions:{minWidth:s([i.width,i.minWidth])||0,minHeight:s([i.height,i.minHeight])||0,maxWidth:s([i.width,i.maxWidth])||1/0,maxHeight:s([i.height,i.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(i.maxArea&&r.width*r.height>i.maxArea){var a=Math.sqrt(i.maxArea/(r.width*r.height));r={width:Math.round(a*r.width),height:Math.round(a*r.height)}}return function(c,u,g,p,m){c.width=p?p.width:g.width,c.height=p?p.height:g.height;var w=c.getContext("2d");w.clearRect(0,0,c.width,c.height),m&&(m.imageSmoothingEnabled&&(w.imageSmoothingEnabled=m.imageSmoothingEnabled),m.imageSmoothingQuality&&(w.imageSmoothingQuality=m.imageSmoothingQuality),m.fillColor&&(w.fillStyle=m.fillColor,w.fillRect(0,0,c.width,c.height),w.save()));var _=g.left<0?-g.left:0,S=g.top<0?-g.top:0;w.drawImage(u,g.left+_,g.top+S,g.width,g.height,_*(c.width/g.width),S*(c.height/g.height),c.width,c.height)}(e,n,this.coordinates,r,i),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.visibleArea&&t?_1(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,i=this.visibleArea&&t?Co(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return T1({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:n,positionRestrictions:i,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?I1:R1);var n=this.sizeRestrictions;n.minWidth,n.minHeight,n.maxWidth,n.maxHeight;var i=Es(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,s=this.defaultPosition||x1,r=[i,function(a){var c=a.coordinates;return Ke({},Es(s)?s({coordinates:c,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&r.push.apply(r,os(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(r,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout(function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,n=this.$refs.cropper;return this.initStretcher({cropper:n,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then(function(){var i={cropper:n,imageSize:e.imageSize};if(Es(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(i):e.defaultBoundaries==="fit"?e.boundaries=function(s){var r=s.cropper,a=s.imageSize,c=r.clientHeight,u=r.clientWidth,g=c,p=a.width*c/a.height;return p>u&&(p=u,g=a.height*u/a.width),{width:p,height:g}}(i):e.boundaries=function(s){var r=s.cropper;return{width:r.clientWidth,height:r.clientHeight}}(i),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=Ke(Ke({},this.defaultImageTransforms),{},{flip:Ke({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){e.priority!=="visible-area"&&(e.visibleArea=null,e.resetCoordinates());var t,n,i,s,r,a,c=e.defaultVisibleArea||O1;e.visibleArea=Es(c)?c({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:e.priority!=="visible-area"?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions},n=t.visibleArea,i=t.boundaries,s=t.getAreaRestrictions,r=Te({},n),a=Xe(i),r.width/r.height!==a&&(r.height=r.width/a),kt(r,s({visibleArea:r,type:"move"}))),e.priority==="visible-area"?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")}).catch(function(){e.visibleArea=null})},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then(function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")}).catch(function(){e.visibleArea=null})},onChange:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];e&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(s){if(hh(s))return!1;var r=window.location,a=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(s)||[],c={protocol:a[1]||"",host:a[2]||"",port:a[3]||""},u=function(g){return g.port||((g.protocol||r.protocol)==="http"?80:433)};return!(!c.protocol&&!c.host&&!c.port||c.protocol&&c.protocol==r.protocol&&c.host&&c.host==r.host&&c.host&&u(c)==u(r))}(this.src)){var n=Tt(this.crossOrigin)?this.canvas:this.crossOrigin;n===!0&&(n="anonymous"),this.imageAttributes.crossOrigin=n||null}if(this.checkOrientation){var i=(e=this.src,new Promise(function(s){B1(e).then(function(r){var a=$1(r);s(r?{source:e,arrayBuffer:r,orientation:a}:{source:e,arrayBuffer:null,orientation:null})}).catch(function(r){console.warn(r),s({source:e,arrayBuffer:null,orientation:null})})}));setTimeout(function(){i.then(t.onParseImage)},this.transitionTime)}else setTimeout(function(){t.onParseImage({source:t.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){e.$emit("ready"),e.onChange(!1)}))},onParseImage:function(e){var t=this,n=e.source,i=e.arrayBuffer,s=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,i&&s&&s>1?Dg(n)||!hh(n)?(this.imageAttributes.src=URL.createObjectURL(new Blob([i])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(r){for(var a=[],c=new Uint8Array(r);c.length>0;){var u=c.subarray(0,8192);a.push(String.fromCharCode.apply(null,Array.from?Array.from(u):u.slice())),c=c.subarray(8192)}return"data:image/jpeg;base64,"+btoa(a.join(""))}(i):this.imageAttributes.src=n,Es(this.defaultTransforms)?this.appliedImageTransforms=Dl(this.defaultTransforms()):Po(this.defaultTransforms)?this.appliedImageTransforms=Dl(this.defaultTransforms):this.appliedImageTransforms=function(r){var a=Dl({});if(r)switch(r){case 2:a.flip.horizontal=!0;break;case 3:a.rotate=-180;break;case 4:a.flip.vertical=!0;break;case 5:a.rotate=90,a.flip.vertical=!0;break;case 6:a.rotate=90;break;case 7:a.rotate=90,a.flip.horizontal=!0;break;case 8:a.rotate=-90}return a}(s),this.defaultImageTransforms=Ke(Ke({},this.appliedImageTransforms),{},{flip:Ke({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var r=t.$refs.image;r&&r.complete&&(function(a){return!!a.naturalWidth}(r)?t.onSuccessLoadImage():t.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender(function(){t.coordinates=t.moveAlgorithm(Ke(Ke({},t.getPublicProperties()),{},{positionRestrictions:Co(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()})},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var n=t.sizeRestrictions,i=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(Ke(Ke({},t.getPublicProperties()),{},{positionRestrictions:Co(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(n.maxWidth,t.visibleArea.width),maxHeight:Math.min(n.maxHeight,t.visibleArea.height),minWidth:Math.max(n.minWidth,i),minHeight:Math.max(n.minHeight,i)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1})},onManipulateImage:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var n=t.transitions,i=n!==void 0&&n,s=t.normalize,r=s===void 0||s;i&&this.enableTransitions();var a=k1(Ke(Ke({},this.getPublicProperties()),{},{event:r?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),c=a.visibleArea,u=a.coordinates;this.visibleArea=c,this.coordinates=u,this.runAutoZoom("manipulateImage"),this.onChange(),i&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.visibleArea,n=e.type,i=n===void 0?"move":n;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:i})},getAspectRatio:function(e){var t,n,i=this.stencilProps,s=i.aspectRatio,r=i.minAspectRatio,a=i.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var c=this.$refs.stencil.aspectRatios();t=c.minimum,n=c.maximum}if(Tt(t)&&(t=Tt(s)?r:s),Tt(n)&&(n=Tt(s)?a:s),!e&&(Tt(t)||Tt(n))){var u=this.getStencilSize(),g=u?Xe(u):null;Tt(t)&&(t=dh(g)?g:void 0),Tt(n)&&(n=dh(g)?g:void 0)}return{minimum:t,maximum:n}},getStencilSize:function(){if(this.stencilSize)return e={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},t=e.boundaries,n=e.stencilSize,i=e.aspectRatio,Nl(Xe(s=Es(n)?n({boundaries:t,aspectRatio:i}):n),i)&&(s=fi({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:i.minimum,maximum:i.maximum}})),(s.width>t.width||s.height>t.height)&&(s=fi({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:s.width,height:s.height,aspectRatio:{minimum:Xe(s),maximum:Xe(s)}})),s;var e,t,n,i,s},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return Ke({},ph)},flip:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.transitions,s=i===void 0||i;if(!this.transitionsActive){s&&this.enableTransitions();var r=Ke({},this.imageTransforms.flip),a=M1({flip:{horizontal:e?!r.horizontal:r.horizontal,vertical:t?!r.vertical:r.vertical},previousFlip:r,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),c=a.visibleArea,u=a.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=c,this.coordinates=u,this.onChange(),s&&this.debouncedDisableTransitions()}},rotate:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transitions,i=n===void 0||n;if(!this.transitionsActive){i&&this.enableTransitions();var s=Ke({},this.imageSize);this.appliedImageTransforms.rotate+=e;var r=N1({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:s,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),a=r.visibleArea,c=r.coordinates,u=this.processAutoZoom("rotateImage",a,c);a=u.visibleArea,c=u.coordinates,this.visibleArea=a,this.coordinates=c,this.onChange(),i&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},W1={key:0,ref:"canvas",style:{display:"none"}},q1={key:1,ref:"sourceCanvas",style:{display:"none"}};Yg.render=function(e,t,n,i,s,r){return ne(),Ve("div",{ref:"cropper",class:r.classes.cropper},[ke("div",{ref:"stretcher",class:r.classes.stretcher},null,2),ke("div",{class:r.classes.boundaries,style:r.boundariesStyle},[(ne(),Ve(Mr(n.backgroundWrapperComponent),{class:r.classes.cropperWrapper,"wheel-resize":r.settings.resizeImage.wheel,"touch-resize":r.settings.resizeImage.touch,"touch-move":r.settings.moveImage.touch,"mouse-move":r.settings.moveImage.mouse,onMove:r.onManipulateImage,onResize:r.onManipulateImage},{default:cn(function(){return[ke("div",{class:r.classes.background,style:r.boundariesStyle},null,6),ke("div",{class:r.classes.imageWrapper},[ke("img",{ref:"image",crossorigin:s.imageAttributes.crossOrigin,src:s.imageAttributes.src,class:r.classes.image,style:r.imageStyle,onMousedown:t[1]||(t[1]=Pp(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),ke("div",{class:r.classes.foreground,style:r.boundariesStyle},null,6),An((ne(),Ve(Mr(n.stencilComponent),ka({ref:"stencil",image:r.image,coordinates:s.coordinates,"stencil-coordinates":r.stencilCoordinates,transitions:r.transitionsOptions},n.stencilProps,{onResize:r.onResize,onResizeEnd:r.onResizeEnd,onMove:r.onMove,onMoveEnd:r.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[Na,s.imageLoaded]]),n.canvas?(ne(),Ve("canvas",W1,null,512)):Ae("",!0),n.canvas?(ne(),Ve("canvas",q1,null,512)):Ae("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const V1={components:{Cropper:Yg},props:{baseImage:{required:!0,type:Object},lang:{required:!0,type:Object},options:{required:!1,type:Object,default:null},largeHandles:{required:!1,type:Boolean,default:!1}},emits:["change","ready","cancel"],mounted(){this.doSetup()},data:()=>({loading:!0,keyPressed_left:!1,keyPressed_right:!1,keyPressed_up:!1,keyPressed_down:!1,holdTimeoutDuration:500,holdTimeout_left:null,holdTimeout_right:null,holdTimeout_up:null,holdTimeout_down:null,repeatInterval_left:null,repeatInterval_right:null,repeatInterval_up:null,repeatInterval_down:null,repeatInterval:50}),computed:{stepSizeSmall(){let e=15;return this.baseImage&&this.baseImage.width&&window.crop_thumbnails_cropper.$el&&(e=Math.ceil(this.baseImage.width/window.crop_thumbnails_cropper.$el.clientWidth),e=e*2),e},stepSizeLarge(){return this.stepSizeSmall*5},loadingStyle(){return this.loading?{"padding-top":this.baseImage.height/this.baseImage.width*100+"%"}:null},stencilProps(){return this.options?(setTimeout(()=>{this.$refs.cropper.refresh()},10),{aspectRatio:this.options.aspectRatio,handlers:{eastNorth:!0,westNorth:!0,westSouth:!0,eastSouth:!0,north:!1,south:!1,west:!1,east:!1}}):{}}},watch:{options:{handler(e){this.applyOptions()},deep:!0}},methods:{move(e,t){const{coordinates:n,image:i}=this.$refs.cropper.getResult();e===1&&(n.left=n.left+this.stepSizeSmall>i.width?i.width:n.left+this.stepSizeSmall),e===-1&&(n.left=n.left-this.stepSizeSmall<0?0:n.left-this.stepSizeSmall),t===1&&(n.top=n.top+this.stepSizeSmall>i.height?i.height:n.top+this.stepSizeSmall),t===-1&&(n.top=n.top-this.stepSizeSmall<0?0:n.top-this.stepSizeSmall),e===10&&(n.left=n.left+this.stepSizeLarge>i.width?i.width:n.left+this.stepSizeLarge),e===-10&&(n.left=n.left-this.stepSizeLarge<0?0:n.left-this.stepSizeLarge),t===10&&(n.top=n.top+this.stepSizeLarge>i.height?i.height:n.top+this.stepSizeLarge),t===-10&&(n.top=n.top-this.stepSizeLarge<0?0:n.top-this.stepSizeLarge),this.$refs.cropper.setCoordinates(n)},imageLoaded(){this.$emit("ready"),this.loading=!1,this.$refs.cropper.refresh()},doSetup(){window.crop_thumbnails_cropper=this.$refs.cropper},change({coordinates:e}){this.$emit("change",e)},applyOptions(){this.options?(this.addKeyboardShortcuts(),this.$refs.cropper.setCoordinates({width:this.options.trueSize[0],height:this.options.trueSize[1],left:this.options.setSelect[0],top:this.options.setSelect[1]})):this.removeKeyboardShortcuts(),setTimeout(()=>{this.$refs.cropper.refresh()},10)},addKeyboardShortcuts(){document.addEventListener("keydown",this.handleKeyDownShortcuts),document.addEventListener("keyup",this.handleKeyUpShortcuts)},removeKeyboardShortcuts(){document.removeEventListener("keydown",this.handleKeyDownShortcuts),document.removeEventListener("keyup",this.handleKeyUpShortcuts),this.holdTimeout_left&&clearTimeout(this.holdTimeout_left),this.holdTimeout_right&&clearTimeout(this.holdTimeout_right),this.holdTimeout_up&&clearTimeout(this.holdTimeout_up),this.holdTimeout_down&&clearTimeout(this.holdTimeout_down),this.repeatInterval_left&&clearTimeout(this.repeatInterval_left),this.repeatInterval_right&&clearTimeout(this.repeatInterval_right),this.repeatInterval_up&&clearTimeout(this.repeatInterval_up),this.repeatInterval_down&&clearTimeout(this.repeatInterval_down)},handleKeyDownShortcuts(e){switch(e.key){case"ArrowLeft":this.keyPressed_left||(this.keyPressed_left=!0,this.move(-1,null),this.holdTimeout_left=setTimeout(()=>{this.keyPressed_left&&(this.repeatInterval_left=setInterval(()=>{this.keyPressed_left&&this.move(-10,null)},this.repeatInterval))},this.holdTimeoutDuration)),e.preventDefault();break;case"ArrowRight":this.keyPressed_right||(this.keyPressed_right=!0,this.move(1,null),this.holdTimeout_right=setTimeout(()=>{this.keyPressed_right&&(this.repeatInterval_right=setInterval(()=>{this.keyPressed_right&&this.move(10,null)},this.repeatInterval))},this.holdTimeoutDuration)),e.preventDefault();break;case"ArrowUp":this.keyPressed_up||(this.keyPressed_up=!0,this.move(null,-1),this.holdTimeout_up=setTimeout(()=>{this.keyPressed_up&&(this.repeatInterval_up=setInterval(()=>{this.keyPressed_up&&this.move(null,-10)},this.repeatInterval))},this.holdTimeoutDuration)),e.preventDefault();break;case"ArrowDown":this.keyPressed_down||(this.keyPressed_down=!0,this.move(null,1),this.holdTimeout_down=setTimeout(()=>{this.keyPressed_down&&(this.repeatInterval_down=setInterval(()=>{this.keyPressed_down&&this.move(null,10)},this.repeatInterval))},this.holdTimeoutDuration)),e.preventDefault();break;case"Escape":this.$emit("cancel"),e.preventDefault();break;default:return}},handleKeyUpShortcuts(e){switch(e.key){case"ArrowLeft":this.keyPressed_left=!1,this.holdTimeout_left&&clearTimeout(this.holdTimeout_left),this.repeatInterval_left&&clearInterval(this.repeatInterval_left),e.preventDefault();break;case"ArrowRight":this.keyPressed_right=!1,this.holdTimeout_right&&clearTimeout(this.holdTimeout_right),this.repeatInterval_right&&clearInterval(this.repeatInterval_right),e.preventDefault();break;case"ArrowUp":this.keyPressed_up=!1,this.holdTimeout_up&&clearTimeout(this.holdTimeout_up),this.repeatInterval_up&&clearInterval(this.repeatInterval_up),e.preventDefault();break;case"ArrowDown":this.keyPressed_down=!1,this.holdTimeout_down&&clearTimeout(this.holdTimeout_down),this.repeatInterval_down&&clearInterval(this.repeatInterval_down),e.preventDefault();break;default:return}}}},K1={key:0,class:"cptLoadingSpinner"},X1={key:1,class:"cptOverlayMessage"},Y1={class:"text"};function G1(e,t,n,i,s,r){const a=dt("cropper");return ne(),me("div",{class:Xt(["CropArea",{noOptions:!n.options,largeHandles:n.largeHandles}]),style:fs(r.loadingStyle)},[e.loading?(ne(),me("div",K1)):Ae("",!0),!e.loading&&!n.options?(ne(),me("div",X1,[U("div",null,[U("span",Y1,le(n.lang.instructions_overlay_text),1),t[0]||(t[0]=U("span",{class:"dashicons dashicons-arrow-left-alt"},null,-1)),t[1]||(t[1]=U("span",{class:"dashicons dashicons-arrow-up-alt"},null,-1))])])):Ae("",!0),ke(a,{ref:"cropper",src:n.baseImage.url,resizeImage:!1,"stencil-props":r.stencilProps,onChange:r.change,onReady:r.imageLoaded},null,8,["src","stencil-props","onChange","onReady"])],6)}const J1=kn(V1,[["render",G1]]);function Gg(e,t){return function(){return e.apply(t,arguments)}}const{toString:Q1}=Object.prototype,{getPrototypeOf:_u}=Object,$a=(e=>t=>{const n=Q1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),zn=e=>(e=e.toLowerCase(),t=>$a(t)===e),Ua=e=>t=>typeof t===e,{isArray:Gs}=Array,Ur=Ua("undefined");function Z1(e){return e!==null&&!Ur(e)&&e.constructor!==null&&!Ur(e.constructor)&&mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jg=zn("ArrayBuffer");function e_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jg(e.buffer),t}const t_=Ua("string"),mn=Ua("function"),Qg=Ua("number"),Wa=e=>e!==null&&typeof e=="object",n_=e=>e===!0||e===!1,Lo=e=>{if($a(e)!=="object")return!1;const t=_u(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},i_=zn("Date"),s_=zn("File"),r_=zn("Blob"),o_=zn("FileList"),a_=e=>Wa(e)&&mn(e.pipe),l_=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||mn(e.append)&&((t=$a(e))==="formdata"||t==="object"&&mn(e.toString)&&e.toString()==="[object FormData]"))},c_=zn("URLSearchParams"),[u_,f_,h_,d_]=["ReadableStream","Request","Response","Headers"].map(zn),p_=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,s;if(typeof e!="object"&&(e=[e]),Gs(e))for(i=0,s=e.length;i<s;i++)t.call(null,e[i],i,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),a=r.length;let c;for(i=0;i<a;i++)c=r[i],t.call(null,e[c],c,e)}}function Zg(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,s;for(;i-- >0;)if(s=n[i],t===s.toLowerCase())return s;return null}const Gi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,em=e=>!Ur(e)&&e!==Gi;function bc(){const{caseless:e}=em(this)&&this||{},t={},n=(i,s)=>{const r=e&&Zg(t,s)||s;Lo(t[r])&&Lo(i)?t[r]=bc(t[r],i):Lo(i)?t[r]=bc({},i):Gs(i)?t[r]=i.slice():t[r]=i};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&Jr(arguments[i],n);return t}const g_=(e,t,n,{allOwnKeys:i}={})=>(Jr(t,(s,r)=>{n&&mn(s)?e[r]=Gg(s,n):e[r]=s},{allOwnKeys:i}),e),m_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),y_=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},v_=(e,t,n,i)=>{let s,r,a;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),r=s.length;r-- >0;)a=s[r],(!i||i(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&_u(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},b_=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},w_=e=>{if(!e)return null;if(Gs(e))return e;let t=e.length;if(!Qg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},S_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_u(Uint8Array)),__=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=i.next())&&!s.done;){const r=s.value;t.call(e,r[0],r[1])}},T_=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},C_=zn("HTMLFormElement"),E_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),wh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),A_=zn("RegExp"),tm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Jr(n,(s,r)=>{let a;(a=t(s,r,e))!==!1&&(i[r]=a||s)}),Object.defineProperties(e,i)},x_=e=>{tm(e,(t,n)=>{if(mn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(mn(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},R_=(e,t)=>{const n={},i=s=>{s.forEach(r=>{n[r]=!0})};return Gs(e)?i(e):i(String(e).split(t)),n},I_=()=>{},O_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ll="abcdefghijklmnopqrstuvwxyz",Sh="0123456789",nm={DIGIT:Sh,ALPHA:Ll,ALPHA_DIGIT:Ll+Ll.toUpperCase()+Sh},k_=(e=16,t=nm.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function N_(e){return!!(e&&mn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const M_=e=>{const t=new Array(10),n=(i,s)=>{if(Wa(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[s]=i;const r=Gs(i)?[]:{};return Jr(i,(a,c)=>{const u=n(a,s+1);!Ur(u)&&(r[c]=u)}),t[s]=void 0,r}}return i};return n(e,0)},D_=zn("AsyncFunction"),P_=e=>e&&(Wa(e)||mn(e))&&mn(e.then)&&mn(e.catch),im=((e,t)=>e?setImmediate:t?((n,i)=>(Gi.addEventListener("message",({source:s,data:r})=>{s===Gi&&r===n&&i.length&&i.shift()()},!1),s=>{i.push(s),Gi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",mn(Gi.postMessage)),L_=typeof queueMicrotask<"u"?queueMicrotask.bind(Gi):typeof process<"u"&&process.nextTick||im,$={isArray:Gs,isArrayBuffer:Jg,isBuffer:Z1,isFormData:l_,isArrayBufferView:e_,isString:t_,isNumber:Qg,isBoolean:n_,isObject:Wa,isPlainObject:Lo,isReadableStream:u_,isRequest:f_,isResponse:h_,isHeaders:d_,isUndefined:Ur,isDate:i_,isFile:s_,isBlob:r_,isRegExp:A_,isFunction:mn,isStream:a_,isURLSearchParams:c_,isTypedArray:S_,isFileList:o_,forEach:Jr,merge:bc,extend:g_,trim:p_,stripBOM:m_,inherits:y_,toFlatObject:v_,kindOf:$a,kindOfTest:zn,endsWith:b_,toArray:w_,forEachEntry:__,matchAll:T_,isHTMLForm:C_,hasOwnProperty:wh,hasOwnProp:wh,reduceDescriptors:tm,freezeMethods:x_,toObjectSet:R_,toCamelCase:E_,noop:I_,toFiniteNumber:O_,findKey:Zg,global:Gi,isContextDefined:em,ALPHABET:nm,generateString:k_,isSpecCompliantForm:N_,toJSONObject:M_,isAsyncFn:D_,isThenable:P_,setImmediate:im,asap:L_};function Me(e,t,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}$.inherits(Me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const sm=Me.prototype,rm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{rm[e]={value:e}});Object.defineProperties(Me,rm);Object.defineProperty(sm,"isAxiosError",{value:!0});Me.from=(e,t,n,i,s,r)=>{const a=Object.create(sm);return $.toFlatObject(e,a,function(u){return u!==Error.prototype},c=>c!=="isAxiosError"),Me.call(a,e.message,t,n,i,s),a.cause=e,a.name=e.name,r&&Object.assign(a,r),a};const H_=null;function wc(e){return $.isPlainObject(e)||$.isArray(e)}function om(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function _h(e,t,n){return e?e.concat(t).map(function(s,r){return s=om(s),!n&&r?"["+s+"]":s}).join(n?".":""):t}function z_(e){return $.isArray(e)&&!e.some(wc)}const F_=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function qa(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,P){return!$.isUndefined(P[T])});const i=n.metaTokens,s=n.visitor||p,r=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(s))throw new TypeError("visitor must be a function");function g(S){if(S===null)return"";if($.isDate(S))return S.toISOString();if(!u&&$.isBlob(S))throw new Me("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(S)||$.isTypedArray(S)?u&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function p(S,T,P){let M=S;if(S&&!P&&typeof S=="object"){if($.endsWith(T,"{}"))T=i?T:T.slice(0,-2),S=JSON.stringify(S);else if($.isArray(S)&&z_(S)||($.isFileList(S)||$.endsWith(T,"[]"))&&(M=$.toArray(S)))return T=om(T),M.forEach(function(R,N){!($.isUndefined(R)||R===null)&&t.append(a===!0?_h([T],N,r):a===null?T:T+"[]",g(R))}),!1}return wc(S)?!0:(t.append(_h(P,T,r),g(S)),!1)}const m=[],w=Object.assign(F_,{defaultVisitor:p,convertValue:g,isVisitable:wc});function _(S,T){if(!$.isUndefined(S)){if(m.indexOf(S)!==-1)throw Error("Circular reference detected in "+T.join("."));m.push(S),$.forEach(S,function(M,j){(!($.isUndefined(M)||M===null)&&s.call(t,M,$.isString(j)?j.trim():j,T,w))===!0&&_(M,T?T.concat(j):[j])}),m.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return _(e),t}function Th(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Tu(e,t){this._pairs=[],e&&qa(e,this,t)}const am=Tu.prototype;am.append=function(t,n){this._pairs.push([t,n])};am.toString=function(t){const n=t?function(i){return t.call(this,i,Th)}:Th;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function j_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lm(e,t,n){if(!t)return e;const i=n&&n.encode||j_,s=n&&n.serialize;let r;if(s?r=s(t,n):r=$.isURLSearchParams(t)?t.toString():new Tu(t,n).toString(i),r){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class Ch{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(i){i!==null&&t(i)})}}const cm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},B_=typeof URLSearchParams<"u"?URLSearchParams:Tu,$_=typeof FormData<"u"?FormData:null,U_=typeof Blob<"u"?Blob:null,W_={isBrowser:!0,classes:{URLSearchParams:B_,FormData:$_,Blob:U_},protocols:["http","https","file","blob","url","data"]},Cu=typeof window<"u"&&typeof document<"u",Sc=typeof navigator=="object"&&navigator||void 0,q_=Cu&&(!Sc||["ReactNative","NativeScript","NS"].indexOf(Sc.product)<0),V_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",K_=Cu&&window.location.href||"http://localhost",X_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cu,hasStandardBrowserEnv:q_,hasStandardBrowserWebWorkerEnv:V_,navigator:Sc,origin:K_},Symbol.toStringTag,{value:"Module"})),on={...X_,...W_};function Y_(e,t){return qa(e,new on.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,r){return on.isNode&&$.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function G_(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function J_(e){const t={},n=Object.keys(e);let i;const s=n.length;let r;for(i=0;i<s;i++)r=n[i],t[r]=e[r];return t}function um(e){function t(n,i,s,r){let a=n[r++];if(a==="__proto__")return!0;const c=Number.isFinite(+a),u=r>=n.length;return a=!a&&$.isArray(s)?s.length:a,u?($.hasOwnProp(s,a)?s[a]=[s[a],i]:s[a]=i,!c):((!s[a]||!$.isObject(s[a]))&&(s[a]=[]),t(n,i,s[a],r)&&$.isArray(s[a])&&(s[a]=J_(s[a])),!c)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(i,s)=>{t(G_(i),s,n,0)}),n}return null}function Q_(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const Qr={transitional:cm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",s=i.indexOf("application/json")>-1,r=$.isObject(t);if(r&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return s?JSON.stringify(um(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Y_(t,this.formSerializer).toString();if((c=$.isFileList(t))||i.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return qa(c?{"files[]":t}:t,u&&new u,this.formSerializer)}}return r||s?(n.setContentType("application/json",!1),Q_(t)):t}],transformResponse:[function(t){const n=this.transitional||Qr.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(i&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(a)throw c.name==="SyntaxError"?Me.from(c,Me.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:on.classes.FormData,Blob:on.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{Qr.headers[e]={}});const Z_=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eT=e=>{const t={};let n,i,s;return e&&e.split(`
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),i=a.substring(s+1).trim(),!(!n||t[n]&&Z_[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Eh=Symbol("internals");function dr(e){return e&&String(e).trim().toLowerCase()}function Ho(e){return e===!1||e==null?e:$.isArray(e)?e.map(Ho):String(e)}function tT(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const nT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hl(e,t,n,i,s){if($.isFunction(i))return i.call(this,t,n);if(s&&(t=n),!!$.isString(t)){if($.isString(i))return t.indexOf(i)!==-1;if($.isRegExp(i))return i.test(t)}}function iT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function sT(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(s,r,a){return this[i].call(this,t,s,r,a)},configurable:!0})})}class an{constructor(t){t&&this.set(t)}set(t,n,i){const s=this;function r(c,u,g){const p=dr(u);if(!p)throw new Error("header name must be a non-empty string");const m=$.findKey(s,p);(!m||s[m]===void 0||g===!0||g===void 0&&s[m]!==!1)&&(s[m||u]=Ho(c))}const a=(c,u)=>$.forEach(c,(g,p)=>r(g,p,u));if($.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if($.isString(t)&&(t=t.trim())&&!nT(t))a(eT(t),n);else if($.isHeaders(t))for(const[c,u]of t.entries())r(u,c,i);else t!=null&&r(n,t,i);return this}get(t,n){if(t=dr(t),t){const i=$.findKey(this,t);if(i){const s=this[i];if(!n)return s;if(n===!0)return tT(s);if($.isFunction(n))return n.call(this,s,i);if($.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=dr(t),t){const i=$.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Hl(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let s=!1;function r(a){if(a=dr(a),a){const c=$.findKey(i,a);c&&(!n||Hl(i,i[c],c,n))&&(delete i[c],s=!0)}}return $.isArray(t)?t.forEach(r):r(t),s}clear(t){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const r=n[i];(!t||Hl(this,this[r],r,t,!0))&&(delete this[r],s=!0)}return s}normalize(t){const n=this,i={};return $.forEach(this,(s,r)=>{const a=$.findKey(i,r);if(a){n[a]=Ho(s),delete n[r];return}const c=t?iT(r):String(r).trim();c!==r&&delete n[r],n[c]=Ho(s),i[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=t&&$.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(s=>i.set(s)),i}static accessor(t){const i=(this[Eh]=this[Eh]={accessors:{}}).accessors,s=this.prototype;function r(a){const c=dr(a);i[c]||(sT(s,a),i[c]=!0)}return $.isArray(t)?t.forEach(r):r(t),this}}an.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(an.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});$.freezeMethods(an);function zl(e,t){const n=this||Qr,i=t||n,s=an.from(i.headers);let r=i.data;return $.forEach(e,function(c){r=c.call(n,r,s.normalize(),t?t.status:void 0)}),s.normalize(),r}function fm(e){return!!(e&&e.__CANCEL__)}function Js(e,t,n){Me.call(this,e??"canceled",Me.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(Js,Me,{__CANCEL__:!0});function hm(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new Me("Request failed with status code "+n.status,[Me.ERR_BAD_REQUEST,Me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function rT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function oT(e,t){e=e||10;const n=new Array(e),i=new Array(e);let s=0,r=0,a;return t=t!==void 0?t:1e3,function(u){const g=Date.now(),p=i[r];a||(a=g),n[s]=u,i[s]=g;let m=r,w=0;for(;m!==s;)w+=n[m++],m=m%e;if(s=(s+1)%e,s===r&&(r=(r+1)%e),g-a<t)return;const _=p&&g-p;return _?Math.round(w*1e3/_):void 0}}function aT(e,t){let n=0,i=1e3/t,s,r;const a=(g,p=Date.now())=>{n=p,s=null,r&&(clearTimeout(r),r=null),e.apply(null,g)};return[(...g)=>{const p=Date.now(),m=p-n;m>=i?a(g,p):(s=g,r||(r=setTimeout(()=>{r=null,a(s)},i-m)))},()=>s&&a(s)]}const ca=(e,t,n=3)=>{let i=0;const s=oT(50,250);return aT(r=>{const a=r.loaded,c=r.lengthComputable?r.total:void 0,u=a-i,g=s(u),p=a<=c;i=a;const m={loaded:a,total:c,progress:c?a/c:void 0,bytes:u,rate:g||void 0,estimated:g&&c&&p?(c-a)/g:void 0,event:r,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(m)},n)},Ah=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},xh=e=>(...t)=>$.asap(()=>e(...t)),lT=on.hasStandardBrowserEnv?function(){const t=on.navigator&&/(msie|trident)/i.test(on.navigator.userAgent),n=document.createElement("a");let i;function s(r){let a=r;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=s(window.location.href),function(a){const c=$.isString(a)?s(a):a;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}(),cT=on.hasStandardBrowserEnv?{write(e,t,n,i,s,r){const a=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$.isString(i)&&a.push("path="+i),$.isString(s)&&a.push("domain="+s),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function uT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function dm(e,t){return e&&!uT(t)?fT(e,t):t}const Rh=e=>e instanceof an?{...e}:e;function as(e,t){t=t||{};const n={};function i(g,p,m){return $.isPlainObject(g)&&$.isPlainObject(p)?$.merge.call({caseless:m},g,p):$.isPlainObject(p)?$.merge({},p):$.isArray(p)?p.slice():p}function s(g,p,m){if($.isUndefined(p)){if(!$.isUndefined(g))return i(void 0,g,m)}else return i(g,p,m)}function r(g,p){if(!$.isUndefined(p))return i(void 0,p)}function a(g,p){if($.isUndefined(p)){if(!$.isUndefined(g))return i(void 0,g)}else return i(void 0,p)}function c(g,p,m){if(m in t)return i(g,p);if(m in e)return i(void 0,g)}const u={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(g,p)=>s(Rh(g),Rh(p),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(p){const m=u[p]||s,w=m(e[p],t[p],p);$.isUndefined(w)&&m!==c||(n[p]=w)}),n}const pm=e=>{const t=as({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:r,headers:a,auth:c}=t;t.headers=a=an.from(a),t.url=lm(dm(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let u;if($.isFormData(n)){if(on.hasStandardBrowserEnv||on.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[g,...p]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([g||"multipart/form-data",...p].join("; "))}}if(on.hasStandardBrowserEnv&&(i&&$.isFunction(i)&&(i=i(t)),i||i!==!1&&lT(t.url))){const g=s&&r&&cT.read(r);g&&a.set(s,g)}return t},hT=typeof XMLHttpRequest<"u",dT=hT&&function(e){return new Promise(function(n,i){const s=pm(e);let r=s.data;const a=an.from(s.headers).normalize();let{responseType:c,onUploadProgress:u,onDownloadProgress:g}=s,p,m,w,_,S;function T(){_&&_(),S&&S(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let P=new XMLHttpRequest;P.open(s.method.toUpperCase(),s.url,!0),P.timeout=s.timeout;function M(){if(!P)return;const R=an.from("getAllResponseHeaders"in P&&P.getAllResponseHeaders()),z={data:!c||c==="text"||c==="json"?P.responseText:P.response,status:P.status,statusText:P.statusText,headers:R,config:e,request:P};hm(function(h){n(h),T()},function(h){i(h),T()},z),P=null}"onloadend"in P?P.onloadend=M:P.onreadystatechange=function(){!P||P.readyState!==4||P.status===0&&!(P.responseURL&&P.responseURL.indexOf("file:")===0)||setTimeout(M)},P.onabort=function(){P&&(i(new Me("Request aborted",Me.ECONNABORTED,e,P)),P=null)},P.onerror=function(){i(new Me("Network Error",Me.ERR_NETWORK,e,P)),P=null},P.ontimeout=function(){let N=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const z=s.transitional||cm;s.timeoutErrorMessage&&(N=s.timeoutErrorMessage),i(new Me(N,z.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,e,P)),P=null},r===void 0&&a.setContentType(null),"setRequestHeader"in P&&$.forEach(a.toJSON(),function(N,z){P.setRequestHeader(z,N)}),$.isUndefined(s.withCredentials)||(P.withCredentials=!!s.withCredentials),c&&c!=="json"&&(P.responseType=s.responseType),g&&([w,S]=ca(g,!0),P.addEventListener("progress",w)),u&&P.upload&&([m,_]=ca(u),P.upload.addEventListener("progress",m),P.upload.addEventListener("loadend",_)),(s.cancelToken||s.signal)&&(p=R=>{P&&(i(!R||R.type?new Js(null,e,P):R),P.abort(),P=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const j=rT(s.url);if(j&&on.protocols.indexOf(j)===-1){i(new Me("Unsupported protocol "+j+":",Me.ERR_BAD_REQUEST,e));return}P.send(r||null)})},pT=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let i=new AbortController,s;const r=function(g){if(!s){s=!0,c();const p=g instanceof Error?g:this.reason;i.abort(p instanceof Me?p:new Js(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{a=null,r(new Me(`timeout ${t} of ms exceeded`,Me.ETIMEDOUT))},t);const c=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(g=>{g.unsubscribe?g.unsubscribe(r):g.removeEventListener("abort",r)}),e=null)};e.forEach(g=>g.addEventListener("abort",r));const{signal:u}=i;return u.unsubscribe=()=>$.asap(c),u}},gT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,s;for(;i<n;)s=i+t,yield e.slice(i,s),i=s},mT=async function*(e,t){for await(const n of yT(e))yield*gT(n,t)},yT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},Ih=(e,t,n,i)=>{const s=mT(e,t);let r=0,a,c=u=>{a||(a=!0,i&&i(u))};return new ReadableStream({async pull(u){try{const{done:g,value:p}=await s.next();if(g){c(),u.close();return}let m=p.byteLength;if(n){let w=r+=m;n(w)}u.enqueue(new Uint8Array(p))}catch(g){throw c(g),g}},cancel(u){return c(u),s.return()}},{highWaterMark:2})},Va=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gm=Va&&typeof ReadableStream=="function",vT=Va&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),mm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bT=gm&&mm(()=>{let e=!1;const t=new Request(on.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Oh=64*1024,_c=gm&&mm(()=>$.isReadableStream(new Response("").body)),ua={stream:_c&&(e=>e.body)};Va&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ua[t]&&(ua[t]=$.isFunction(e[t])?n=>n[t]():(n,i)=>{throw new Me(`Response type '${t}' is not supported`,Me.ERR_NOT_SUPPORT,i)})})})(new Response);const wT=async e=>{if(e==null)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e))return(await new Request(on.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if($.isArrayBufferView(e)||$.isArrayBuffer(e))return e.byteLength;if($.isURLSearchParams(e)&&(e=e+""),$.isString(e))return(await vT(e)).byteLength},ST=async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return n??wT(t)},_T=Va&&(async e=>{let{url:t,method:n,data:i,signal:s,cancelToken:r,timeout:a,onDownloadProgress:c,onUploadProgress:u,responseType:g,headers:p,withCredentials:m="same-origin",fetchOptions:w}=pm(e);g=g?(g+"").toLowerCase():"text";let _=pT([s,r&&r.toAbortSignal()],a),S;const T=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let P;try{if(u&&bT&&n!=="get"&&n!=="head"&&(P=await ST(p,i))!==0){let z=new Request(t,{method:"POST",body:i,duplex:"half"}),G;if($.isFormData(i)&&(G=z.headers.get("content-type"))&&p.setContentType(G),z.body){const[h,te]=Ah(P,ca(xh(u)));i=Ih(z.body,Oh,h,te)}}$.isString(m)||(m=m?"include":"omit");const M="credentials"in Request.prototype;S=new Request(t,{...w,signal:_,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:M?m:void 0});let j=await fetch(S);const R=_c&&(g==="stream"||g==="response");if(_c&&(c||R&&T)){const z={};["status","statusText","headers"].forEach(D=>{z[D]=j[D]});const G=$.toFiniteNumber(j.headers.get("content-length")),[h,te]=c&&Ah(G,ca(xh(c),!0))||[];j=new Response(Ih(j.body,Oh,h,()=>{te&&te(),T&&T()}),z)}g=g||"text";let N=await ua[$.findKey(ua,g)||"text"](j,e);return!R&&T&&T(),await new Promise((z,G)=>{hm(z,G,{data:N,headers:an.from(j.headers),status:j.status,statusText:j.statusText,config:e,request:S})})}catch(M){throw T&&T(),M&&M.name==="TypeError"&&/fetch/i.test(M.message)?Object.assign(new Me("Network Error",Me.ERR_NETWORK,e,S),{cause:M.cause||M}):Me.from(M,M&&M.code,e,S)}}),Tc={http:H_,xhr:dT,fetch:_T};$.forEach(Tc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kh=e=>`- ${e}`,TT=e=>$.isFunction(e)||e===null||e===!1,ym={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let r=0;r<t;r++){n=e[r];let a;if(i=n,!TT(n)&&(i=Tc[(a=String(n)).toLowerCase()],i===void 0))throw new Me(`Unknown adapter '${a}'`);if(i)break;s[a||"#"+r]=i}if(!i){const r=Object.entries(s).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?r.length>1?`since :
`+r.map(kh).join(`
`):" "+kh(r[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:Tc};function Fl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Js(null,e)}function Nh(e){return Fl(e),e.headers=an.from(e.headers),e.data=zl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ym.getAdapter(e.adapter||Qr.adapter)(e).then(function(i){return Fl(e),i.data=zl.call(e,e.transformResponse,i),i.headers=an.from(i.headers),i},function(i){return fm(i)||(Fl(e),i&&i.response&&(i.response.data=zl.call(e,e.transformResponse,i.response),i.response.headers=an.from(i.response.headers))),Promise.reject(i)})}const vm="1.7.7",Eu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Eu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Mh={};Eu.transitional=function(t,n,i){function s(r,a){return"[Axios v"+vm+"] Transitional option '"+r+"'"+a+(i?". "+i:"")}return(r,a,c)=>{if(t===!1)throw new Me(s(a," has been removed"+(n?" in "+n:"")),Me.ERR_DEPRECATED);return n&&!Mh[a]&&(Mh[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,a,c):!0}};function CT(e,t,n){if(typeof e!="object")throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const r=i[s],a=t[r];if(a){const c=e[r],u=c===void 0||a(c,r,e);if(u!==!0)throw new Me("option "+r+" must be "+u,Me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Me("Unknown option "+r,Me.ERR_BAD_OPTION)}}const Cc={assertOptions:CT,validators:Eu},_i=Cc.validators;class ns{constructor(t){this.defaults=t,this.interceptors={request:new Ch,response:new Ch}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?r&&!String(i.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(i.stack+=`
`+r):i.stack=r}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=as(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:r}=n;i!==void 0&&Cc.assertOptions(i,{silentJSONParsing:_i.transitional(_i.boolean),forcedJSONParsing:_i.transitional(_i.boolean),clarifyTimeoutError:_i.transitional(_i.boolean)},!1),s!=null&&($.isFunction(s)?n.paramsSerializer={serialize:s}:Cc.assertOptions(s,{encode:_i.function,serialize:_i.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=r&&$.merge(r.common,r[n.method]);r&&$.forEach(["delete","get","head","post","put","patch","common"],S=>{delete r[S]}),n.headers=an.concat(a,r);const c=[];let u=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(n)===!1||(u=u&&T.synchronous,c.unshift(T.fulfilled,T.rejected))});const g=[];this.interceptors.response.forEach(function(T){g.push(T.fulfilled,T.rejected)});let p,m=0,w;if(!u){const S=[Nh.bind(this),void 0];for(S.unshift.apply(S,c),S.push.apply(S,g),w=S.length,p=Promise.resolve(n);m<w;)p=p.then(S[m++],S[m++]);return p}w=c.length;let _=n;for(m=0;m<w;){const S=c[m++],T=c[m++];try{_=S(_)}catch(P){T.call(this,P);break}}try{p=Nh.call(this,_)}catch(S){return Promise.reject(S)}for(m=0,w=g.length;m<w;)p=p.then(g[m++],g[m++]);return p}getUri(t){t=as(this.defaults,t);const n=dm(t.baseURL,t.url);return lm(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){ns.prototype[t]=function(n,i){return this.request(as(i||{},{method:t,url:n,data:(i||{}).data}))}});$.forEach(["post","put","patch"],function(t){function n(i){return function(r,a,c){return this.request(as(c||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:r,data:a}))}}ns.prototype[t]=n(),ns.prototype[t+"Form"]=n(!0)});class Au{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const i=this;this.promise.then(s=>{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](s);i._listeners=null}),this.promise.then=s=>{let r;const a=new Promise(c=>{i.subscribe(c),r=c}).then(s);return a.cancel=function(){i.unsubscribe(r)},a},t(function(r,a,c){i.reason||(i.reason=new Js(r,a,c),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Au(function(s){t=s}),cancel:t}}}function ET(e){return function(n){return e.apply(null,n)}}function AT(e){return $.isObject(e)&&e.isAxiosError===!0}const Ec={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ec).forEach(([e,t])=>{Ec[t]=e});function bm(e){const t=new ns(e),n=Gg(ns.prototype.request,t);return $.extend(n,ns.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return bm(as(e,s))},n}const it=bm(Qr);it.Axios=ns;it.CanceledError=Js;it.CancelToken=Au;it.isCancel=fm;it.VERSION=vm;it.toFormData=qa;it.AxiosError=Me;it.Cancel=it.CanceledError;it.all=function(t){return Promise.all(t)};it.spread=ET;it.isAxiosError=AT;it.mergeConfig=as;it.AxiosHeaders=an;it.formToJSON=e=>um($.isHTMLForm(e)?new FormData(e):e);it.getAdapter=ym.getAdapter;it.HttpStatusCode=Ec;it.default=it;const xT=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/crop`,method:"GET",headers:{"X-WP-Nonce":wpApiSettings.nonce},params:e}),RT=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/crop`,method:"POST",headers:{"X-WP-Nonce":wpApiSettings.nonce},data:e}),IT={components:{CropImageSize:c1,Message:Ng,CropArea:J1},props:{imageId:{required:!0,type:[Number,String]},posttype:{required:!1,type:String,default:null}},mounted(){this.doSetup()},data:()=>({cropData:null,loading:!1,cropLoaded:!1,currentCropSize:null,nonce:null,showDebugType:null,dataDebug:null,sameRatioMode:null,cropOptions:null,largeHandles:!1,errorMessage:!1,cropBaseSize:null}),computed:{cropImage(){return!this.cropData||!this.cropBaseSize?null:this.cropData.sourceImage[this.cropBaseSize]},originalImage(){return this.cropData?this.cropData.sourceImage.original_image:null},filteredImageSizes(){let e=this.cropData.imageSizes;if(this.sameRatioMode==="group"){let t=[];e=e.filter(n=>t.indexOf(n.printRatio)>-1?!1:(t.push(n.printRatio),!0))}return e},selectedImageSizes(){return this.cropData?this.cropData.imageSizes.filter(e=>e.active):[]},selectedImageSizesData(){return this.selectedImageSizes.map(e=>({name:e.name,width:e.width,height:e.height,ratio:e.ratio,crop:e.crop}))},sourceImageHasOrientation(){try{return typeof this.cropData.sourceImageMeta.orientation=="string"&&this.cropData.sourceImageMeta.orientation!=="1"&&this.cropData.sourceImageMeta.orientation!=="0"}catch{}return!1},hasScaledFullImage(){return this.cropData.sourceImage.full.width!==this.cropData.sourceImage.original_image.width},isScaledFullImage(){return this.hasScaledFullImage&&this.cropData.sourceImage.full.width===this.cropImage.width},realCurrentCropSize(){if(!this.currentCropSize)return null;let e=this.originalImage.width/this.cropImage.width;return{width:this.currentCropSize.width*e,height:this.currentCropSize.height*e,left:this.currentCropSize.left*e,top:this.currentCropSize.top*e}},lang(){var e;return((e=this.cropData)==null?void 0:e.lang)??null},options(){var e;return((e=this.cropData)==null?void 0:e.options)??null},hasSettingsSameRatioMode(){var e;return((e=this.options)==null?void 0:e.same_ratio_mode)??!1},sameRatioModeOptions(){return this.lang?[{value:null,text:this.lang.label_same_ratio_mode_nothing},{value:"select",text:this.lang.label_same_ratio_mode_select},{value:"group",text:this.lang.label_same_ratio_mode_group}]:[]}},methods:{doSetup(){this.loadCropData()},cropAreaLoaded(){this.cropLoaded=!0},updateCurrentCrop(e){this.currentCropSize={width:e.width,height:e.height,left:e.left,top:e.top}},isImageInGroupNotYetCropped(e){return this.cropData.imageSizes.filter(t=>t.printRatio===e&&t.notYetCropped).length>0},setupRatioMode(){if(!this.errorMessage){try{this.sameRatioMode=localStorage.getItem("cpt_same_ratio_mode")}catch{}this.hasSettingsSameRatioMode&&(this.sameRatioMode=this.options.same_ratio_mode)}},updateRatioMode(){try{localStorage.setItem("cpt_same_ratio_mode",this.sameRatioMode)}catch{}},setupHandleSize(){try{this.largeHandles=localStorage.getItem("cpt_large_handles"),(this.largeHandles===null||this.largeHandles==="false")&&(this.largeHandles=!1),this.largeHandles==="true"&&(this.largeHandles=!0)}catch{}},updateHandleSize(){try{localStorage.setItem("cpt_large_handles",this.largeHandles)}catch{}},loadCropData(){let e={imageId:this.imageId,posttype:this.posttype};this.loading=!0,this.errorMessage=!1,xT(e).then(t=>{this.makeAllInactive(t.data.imageSizes),this.addCacheBreak(t.data.imageSizes),this.cropData=t.data,this.cropBaseSize=this.cropData.cropBaseSize,this.nonce=this.cropData.nonce,delete this.cropData.nonce}).catch(t=>{this.cropData=t.response.data,this.nonce=this.cropData.nonce,delete this.cropData.nonce,this.errorMessage="ERROR",t.response.data.lang&&(this.errorMessage=t.response.data.lang.unknownError),t.status===403&&(t.response.data.message&&(this.errorMessage=t.response.data.message),t.response.data.lang&&(this.errorMessage=t.response.data.lang.noPermission)),console.error("crop-thumbnails connection error",this.errorMessage,this.cropData)}).finally(()=>{this.loading=!1,this.setupRatioMode(),this.setupHandleSize(),this.cropData&&this.cropData.imageSizes&&(this.cropData.imageSizes=this.cropData.imageSizes.filter(t=>!t.hideByPostType),this.cropData.imageSizes.forEach(t=>{t.notYetCropped=t.url===this.cropData.sourceImage.full.url}))})},isLowRes(e){return kg(e,this.realCurrentCropSize)},toggleActive(e){let t=!e.active;e.active===!1&&this.makeAllInactive(),this.sameRatioMode==="select"||this.sameRatioMode==="group"?this.cropData.imageSizes.forEach(n=>{n.printRatio===e.printRatio&&(n.active=t)}):e.active=t,this.selectedImageSizes.length>0?this.activateCropArea():this.deactivateCropArea()},makeAllInactive(e){e===void 0&&(e=this.cropData.imageSizes),e.forEach(t=>{t.active=!1,t.lowResWarning=!1}),this.deactivateCropArea()},addCacheBreak(e){e===void 0&&(e=this.cropData.imageSizes),e.forEach(t=>{t.cacheBreak=Date.now()})},activateCropArea(){this.deactivateCropArea(),this.cropOptions=this.getCropOptions()},getCropOptions(){let e={trueSize:[this.cropImage.width,this.cropImage.height],aspectRatio:0,setSelect:[]};return this.selectedImageSizes.forEach(t=>{e.aspectRatio===0&&(e.aspectRatio=t.ratio),e.aspectRatio!==t.ratio&&console.info('Crop Thumbnails: print ratio is different from normal ratio on image size "'+t.name+'".')}),e.setSelect=t1(this.cropImage.width,this.cropImage.height,e.aspectRatio),this.cropData.options.debug_js&&console.info("Cropping options",e),e},deactivateCropArea(){this.currentCropSize=null,this.cropOptions=null},showDebugClick(e){this.showDebugType===e?this.showDebugType=null:this.showDebugType=e},getSelectionForApi(){let e={x:Math.floor(this.realCurrentCropSize.left),y:Math.floor(this.realCurrentCropSize.top),x2:Math.floor(this.realCurrentCropSize.left+this.realCurrentCropSize.width),y2:Math.floor(this.realCurrentCropSize.top+this.realCurrentCropSize.height),w:Math.floor(this.realCurrentCropSize.width),h:Math.floor(this.realCurrentCropSize.height)};return e.x<0&&(e.x=0),e.y<0&&(e.y=0),this.originalImage&&(e.x2>this.originalImage.width&&(e.x2=this.originalImage.width),e.y2>this.originalImage.height&&(e.y2=this.originalImage.height),e.w>this.originalImage.width&&(e.w=this.originalImage.width),e.h>this.originalImage.height&&(e.h=this.originalImage.height)),e},cropThumbnails(){if(!this.loading&&this.cropImage){this.loading=!0;const e={crop_thumbnails:{selection:this.getSelectionForApi(),sourceImageId:this.cropData.sourceImageId,activeImageSizes:this.selectedImageSizesData}};RT(e).then(t=>{if(this.cropData.options.debug_data&&(this.dataDebug=t.data.debug,console.log("Save Function Debug",t.data.debug)),t.data.error!==void 0){alert(t.data.error);return}if(t.data.success!==void 0){t.data.changedImageName!==void 0&&this.selectedImageSizes.forEach(n=>{t.data.changedImageName[n.name]!==void 0&&(n.url=t.data.changedImageName[n.name])}),this.addCacheBreak(this.selectedImageSizes);return}}).catch(t=>{alert(this.lang.script_connection_error);let n={status:t.response.status,statusText:t.response.statusText,requestUrl:t.config.url,requestParams:t.config.data};console.error("crop-thumbnails connection error",n)}).finally(()=>{this.loading=!1})}},copyToClipboard(e){try{typeof e=="object"&&(e=JSON.stringify(e,null,"	")),navigator.clipboard.writeText(e).then(()=>{alert("Text copied to clipboard")})}catch{alert("Error while try to copy to clipboard")}}}},OT={key:0,class:"cptWaitingWindow"},kT={key:1,class:"cptWaitingWindow cptCropDisabledMsg"},NT={class:"msg"},MT={key:2,class:"cptWaitingWindow cptNoPermissionMsg"},DT={class:"msg"},PT={key:3,class:"mainWindow"},LT={class:"cptSelectionPaneInner"},HT={class:"cptToolbar"},zT={key:0,class:"cptSameRatioMode"},FT=["value"],jT={key:1,class:"cptImageSizelist"},BT={key:2,class:"cptImageSizelist"},$T={class:"noImageSizesAvailable"},UT={class:"cptCropPane"},WT={class:"info"},qT={class:"dimensions"},VT={class:"ratio"},KT=["disabled"],XT={key:0,class:"cropContainer"},YT={key:1,class:"selectionInfo"},GT={class:"name"},JT={class:"dimensions"},QT={key:0,class:"lowResWarning"},ZT={class:"text"},eC={key:1,class:"notYetCropped"},tC={class:"text"},nC={class:"instructionInfo"},iC={class:"step-info"},sC={class:"cpt_checkbox_large_handles_wrapper"},rC={key:2,class:"cropThumbnailDebug"},oC={key:3,class:"cropThumbnailDebug"};function aC(e,t,n,i,s,r){var g;const a=dt("Message"),c=dt("CropImageSize"),u=dt("CropArea");return e.cropData?(ne(),me("div",{key:0,class:Xt(["cptEditorInner",{loading:e.loading}])},[e.loading?(ne(),me("div",OT,t[11]||(t[11]=[U("div",{class:"msg"},[U("div",null,[U("div",{class:"cptLoadingSpinner"})])],-1)]))):Ae("",!0),e.cropData.hiddenOnPostType?(ne(),me("div",kT,[U("div",NT,le(r.lang.cropDisabled),1)])):Ae("",!0),e.errorMessage?(ne(),me("div",MT,[U("div",DT,le(e.errorMessage),1)])):Ae("",!0),!e.cropData.hiddenOnPostType&&!e.errorMessage?(ne(),me("div",PT,[U("div",{class:Xt(["cptSelectionPane",{cptImagesAreSelected:r.selectedImageSizes.length>0}])},[U("div",LT,[r.sourceImageHasOrientation?(ne(),Ve(a,{key:0},{default:cn(()=>[It(le(r.lang.message_image_orientation),1)]),_:1})):Ae("",!0),U("div",HT,[(g=r.options)!=null&&g.same_ratio_mode?Ae("",!0):(ne(),me("label",zT,[It(le(r.lang.label_same_ratio_mode)+" ",1),An(U("select",{"onUpdate:modelValue":t[0]||(t[0]=p=>e.sameRatioMode=p),onChange:t[1]||(t[1]=(...p)=>r.updateRatioMode&&r.updateRatioMode(...p))},[(ne(!0),me(tt,null,hi(r.sameRatioModeOptions,p=>(ne(),me("option",{key:p.value,value:p.value},le(p.text),9,FT))),128))],544),[[Da,e.sameRatioMode]])])),U("button",{type:"button",class:"button cptDeselectAll",onClick:t[2]||(t[2]=p=>r.makeAllInactive())},le(r.lang.label_deselect_all),1)]),r.filteredImageSizes.length>0?(ne(),me("section",jT,[(ne(!0),me(tt,null,hi(r.filteredImageSizes,p=>(ne(),Ve(c,{key:p.nameLabel,onClick:m=>r.toggleActive(p),image:p,lang:r.lang,currentCropSize:r.realCurrentCropSize,sameRatioMode:e.sameRatioMode,notYetCropped:r.isImageInGroupNotYetCropped(p.printRatio)},null,8,["onClick","image","lang","currentCropSize","sameRatioMode","notYetCropped"]))),128))])):(ne(),me("div",BT,[U("div",$T,le(r.lang.infoNoImageSizesAvailable),1)]))])],2),U("div",UT,[U("div",WT,[U("h3",null,le(r.lang.rawImage),1),U("div",qT,le(r.lang.dimensions)+" "+le(r.originalImage.width)+" x "+le(r.originalImage.height)+" "+le(r.lang.pixel),1),U("div",VT,le(r.lang.ratio)+" "+le(r.originalImage.printRatio),1)]),U("button",{type:"button",class:Xt(["button cptGenerate",{"button-primary":e.cropLoaded}]),onClick:t[3]||(t[3]=p=>r.cropThumbnails()),disabled:!e.cropLoaded},le(r.lang.label_crop),11,KT),r.cropImage.url?(ne(),me("div",XT,[ke(u,{baseImage:r.cropImage,options:e.cropOptions,lang:r.lang,onChange:r.updateCurrentCrop,onReady:r.cropAreaLoaded,onCancel:t[4]||(t[4]=p=>r.makeAllInactive()),largeHandles:e.largeHandles},null,8,["baseImage","options","lang","onChange","onReady","largeHandles"])])):Ae("",!0),r.selectedImageSizes.length>0?(ne(),me("div",YT,[U("h4",null,le(r.lang.headline_selected_image_sizes),1),U("ul",null,[(ne(!0),me(tt,null,hi(r.selectedImageSizes,p=>(ne(),me("li",{key:p.nameLabel},[U("div",null,[U("span",GT,le(p.nameLabel),1),t[12]||(t[12]=It()),U("span",JT,"("+le(r.lang.dimensions)+" "+le(p.width)+" x "+le(p.height)+" "+le(r.lang.pixel)+")",1)]),r.isLowRes(p)?(ne(),me("div",QT,[t[13]||(t[13]=U("span",{class:"icon"},"!",-1)),U("span",ZT,le(r.lang.lowResWarning),1)])):Ae("",!0),p.notYetCropped?(ne(),me("div",eC,[t[14]||(t[14]=U("span",{class:"icon dashicons dashicons-image-crop"},null,-1)),U("span",tC,le(r.lang.notYetCropped),1)])):Ae("",!0)]))),128))])])):Ae("",!0),U("div",nC,[U("h4",null,le(r.lang.instructions_header),1),U("ul",iC,[U("li",null,le(r.lang.instructions_step_1),1),U("li",null,le(r.lang.instructions_step_2),1),U("li",null,le(r.lang.instructions_step_3),1)])]),U("div",sC,[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=p=>e.largeHandles=p),onChange:t[6]||(t[6]=(...p)=>r.updateHandleSize&&r.updateHandleSize(...p))},null,544),[[Yn,e.largeHandles]]),U("span",null,le(r.lang.label_large_handles),1)])]),U("div",null,[e.cropData.options.debug_js?(ne(),me("button",{key:0,type:"button",class:"button",onClick:t[7]||(t[7]=p=>r.showDebugClick("js"))},"show JS-Debug")):Ae("",!0),e.cropData.options.debug_data&&e.dataDebug!==null?(ne(),me("button",{key:1,type:"button",class:"button",onClick:t[8]||(t[8]=p=>r.showDebugClick("data"))},"show Data-Debug")):Ae("",!0),e.showDebugType==="data"?(ne(),me("pre",rC,[It(le(e.dataDebug)+`
                        `,1),U("button",{class:"copyDebug",onClick:t[9]||(t[9]=p=>r.copyToClipboard(e.dataDebug))},"Copy"),t[15]||(t[15]=It(`
                    `))])):Ae("",!0),e.showDebugType==="js"?(ne(),me("pre",oC,[It(le(e.cropData)+`
                        `,1),U("button",{class:"copyDebug",onClick:t[10]||(t[10]=p=>r.copyToClipboard(e.cropData))},"Copy"),t[16]||(t[16]=It(`
                    `))])):Ae("",!0)])])])):Ae("",!0)],2)):Ae("",!0)}const wm=kn(IT,[["render",aC]]);window.CROP_THUMBNAILS_VUE.modal=function(){var e=fa,t=this;function n(){e("#cpt_Modal .cpt_ModalClose, #cpt_Modal").off("click"),e("#cpt_Modal").remove(),e("body").removeClass("cpt_ModalIsOpen")}t.close=function(i){window.CROP_THUMBNAILS_VUE.app.unmount(),window.CROP_THUMBNAILS_VUE.app=null,n(),e("body").trigger("cropThumbnailModalClosed"),document.removeEventListener("keydown",t.closeByEscKey,!0)},t.closeByBackground=function(i){i.target==document.getElementById("cpt_Modal")&&t.close(i)},t.closeByEscKey=function(i){(!i.keyCode||i.keyCode===27)&&(i.stopPropagation(),t.close(i))},t.open=function(i,s,r){var a=i,c="";c+='<div id="cpt_Modal" class="cpt_Modal">',c+='<div class="cpt_ModalDialog" role="dialog" aria-label="'+e("<div>").text(r).html()+'">',c+='<button type="button" class="cpt_ModalClose" aria-label="close">&times;</button>',c+='<div class="cpt_ModalHeader"><div class="cpt_ModalTitle">'+r+"</div></div>",c+='<div class="cpt_ModalContent" id="cpt_crop_editor">',c+='<crop-editor :image-id="'+a+'"',typeof s=="string"&&(c+=' posttype="'+s+'"'),c+="></crop-editor>",c+="</div>",c+="</div>",c+="</div>",e("body").prepend(c).addClass("cpt_ModalIsOpen"),e("#cpt_Modal .cpt_ModalClose").on("click",t.close),e("#cpt_Modal").on("touchstart mousedown",t.closeByBackground),document.addEventListener("keydown",t.closeByEscKey,!0),window.CROP_THUMBNAILS_VUE.app=js(),window.CROP_THUMBNAILS_VUE.app.component("CropEditor",wm).mount("#cpt_crop_editor")}};const lC=()=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/settings`,method:"GET",headers:{"X-WP-Nonce":wpApiSettings.nonce}}),cC=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/pluginTest`,method:"POST",data:e,headers:{"X-WP-Nonce":wpApiSettings.nonce}}),uC=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/settings/postTypes`,method:"POST",data:e,headers:{"X-WP-Nonce":wpApiSettings.nonce}}),fC=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/settings/userPermission`,method:"POST",data:e,headers:{"X-WP-Nonce":wpApiSettings.nonce}}),hC=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/settings/developerSettings`,method:"POST",data:e,headers:{"X-WP-Nonce":wpApiSettings.nonce}}),dC=e=>it({url:`${wpApiSettings.root}crop_thumbnails/v1/settings/resetSettings`,method:"POST",data:e,headers:{"X-WP-Nonce":wpApiSettings.nonce}}),Ps=e=>e==="1"||e===1||e===!0||e==="true",pC={components:{Message:Ng},props:{settings:{required:!0,type:Object}},mounted(){this.doSetup()},components:{},data:()=>({result:null,loading:!1,form:null}),methods:{doSetup(){this.form=this.getNewFormArray()},getNewFormArray(){if(!this.settings.post_types)return[];if(!this.settings.image_sizes)return[];const e=[];for(const[t,n]of Object.entries(this.settings.post_types)){const i={name:n.name,label:n.label,imageSizes:[],hidden:this.isButtonHiddenOnPostType(n.name)};for(const[s,r]of Object.entries(this.settings.image_sizes))r.crop&&i.imageSizes.push({id:r.id,name:r.name,hidden:!!this.isImageSizeHidden(i.name,r.id)});e.push(i)}return e},isButtonHiddenOnPostType(e){return!this.settings.options||!this.settings.options.hide_post_type||!this.settings.options.hide_post_type[e]?!1:Ps(this.settings.options.hide_post_type[e])},isImageSizeHidden(e,t){return!this.settings.options||!this.settings.options.hide_size||!this.settings.options.hide_size[e]?!1:Ps(this.settings.options.hide_size[e][t])},doSave(){this.loading||(this.loading=!0,this.result=null,uC(this.form).then(e=>{this.result="success"}).catch(e=>{this.result="error"}).then(()=>{this.loading=!1}))}}},gC={class:"cpt_PostTypeSettings"},mC={class:"toolbar text-right"},yC={key:0},vC={key:1},bC={key:2,class:"cptLoadingSpinner small"},wC={class:"cptSettingsPostListDescription"},SC={class:"cptSettingsPostList"},_C={key:0},TC={class:"cptImageSizes"},CC=["onUpdate:modelValue"],EC={class:"name"},AC={key:0,class:"defaultName"},xC=["onUpdate:modelValue"],RC={class:"toolbar text-right"},IC={key:0},OC={key:1},kC={key:2,class:"cptLoadingSpinner small"};function NC(e,t,n,i,s,r){return ne(),me("div",gC,[U("h2",null,le(n.settings.lang.general.nav_post_types),1),U("p",null,[It(le(n.settings.lang.posttype_settings.intro_1)+" ",1),t[2]||(t[2]=U("br",null,null,-1)),U("strong",null,le(n.settings.lang.posttype_settings.intro_2),1)]),U("div",mC,[e.result==="error"?(ne(),me("span",yC,le(e.result),1)):Ae("",!0),e.result==="success"?(ne(),me("span",vC,le(n.settings.lang.general.successful_saved),1)):Ae("",!0),e.loading?(ne(),me("div",bC)):Ae("",!0),U("button",{type:"button",class:"button-primary doSaveBtn",onClick:t[0]||(t[0]=(...a)=>r.doSave&&r.doSave(...a))},le(n.settings.lang.general.save_changes),1)]),U("div",wC,le(n.settings.lang.posttype_settings.choose_image_sizes),1),U("ul",SC,[(ne(!0),me(tt,null,hi(e.form,a=>(ne(),me("li",{key:a.name},[a?(ne(),me("section",_C,[U("header",null,[U("h3",null,le(a.label),1)]),U("ul",TC,[(ne(!0),me(tt,null,hi(a.imageSizes,c=>(ne(),me("li",{key:c.id},[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":u=>c.hidden=u},null,8,CC),[[Yn,c.hidden]]),U("span",EC,le(c.name),1),c.name!==c.id?(ne(),me("span",AC,"("+le(c.id)+")",1)):Ae("",!0)])]))),128))]),U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":c=>a.hidden=c},null,8,xC),[[Yn,a.hidden]]),U("span",null,le(n.settings.lang.posttype_settings.hide_on_post_type),1)])])):Ae("",!0)]))),128))]),U("div",RC,[e.result==="error"?(ne(),me("span",IC,le(e.result),1)):Ae("",!0),e.result==="success"?(ne(),me("span",OC,le(n.settings.lang.general.successful_saved),1)):Ae("",!0),e.loading?(ne(),me("div",kC)):Ae("",!0),U("button",{type:"button",class:"button-primary doSaveBtn",onClick:t[1]||(t[1]=(...a)=>r.doSave&&r.doSave(...a))},le(n.settings.lang.general.save_changes),1)])])}const MC=kn(pC,[["render",NC]]),DC={},PC={class:"cpt_Toolkit"};function LC(e,t,n,i,s,r){return ne(),me("div",PC,t[0]||(t[0]=[U("h2",null,"Coming Soon",-1)]))}const HC=kn(DC,[["render",LC]]),zC={props:{settings:{required:!0,type:Object}},data:()=>({loading:!1,testResult:null,error:!1}),methods:{doTest(){this.loading||(this.loading=!0,this.error=!1,this.testResult=null,cC().then(e=>{this.testResult=e.data}).catch(e=>{this.error=!0}).then(()=>{this.loading=!1}))},copyToClipboard(){let e=this.testResult.map(t=>t.replace(/<[^>]*>?/gm,""));navigator.clipboard&&navigator.clipboard.writeText(e.join(`
`))}}},FC={class:"cpt_PluginTest"},jC={key:0,class:"result"},BC={key:1,class:"result"},$C=["innerHTML"],UC={key:0,class:"cptLoadingSpinner small"};function WC(e,t,n,i,s,r){return ne(),me("div",FC,[U("h2",null,le(n.settings.lang.general.nav_plugin_test),1),e.error?(ne(),me("div",jC,t[2]||(t[2]=[U("strong",{class:"fails"},"fail",-1),It(" Failure processing the test - have a look on your server logs.")]))):Ae("",!0),e.testResult&&!e.error?(ne(),me("div",BC,[(ne(!0),me(tt,null,hi(e.testResult,(a,c)=>(ne(),me("div",{key:c,innerHTML:a},null,8,$C))),128)),U("div",null,[U("button",{type:"button",class:"button-secondary",onClick:t[0]||(t[0]=(...a)=>r.copyToClipboard&&r.copyToClipboard(...a))},"Copy to Clipboard")])])):Ae("",!0),U("div",null,[U("button",{type:"button",class:"button-primary startTest",onClick:t[1]||(t[1]=(...a)=>r.doTest&&r.doTest(...a))},"Start plugin quick-test."),e.loading?(ne(),me("div",UC)):Ae("",!0)])])}const qC=kn(zC,[["render",WC]]),VC={props:{settings:{required:!0,type:Object}},mounted(){this.doSetup()},data:()=>({loading:!1,result:null,form:{same_ratio_mode:null,user_permission_only_on_edit_files:!1}}),methods:{doSetup(){this.settings.options&&(this.form.user_permission_only_on_edit_files=Ps(this.settings.options.user_permission_only_on_edit_files),this.form.same_ratio_mode=this.settings.options.same_ratio_mode)},doSave(){this.loading||(this.loading=!0,this.result=null,fC(this.form).then(e=>{this.result="success"}).catch(e=>{this.result="error"}).then(()=>{this.loading=!1}))}}},KC={class:"cpt_UserPermissions"},XC={value:null},YC={value:"select"},GC={value:"group"},JC={key:0},QC={key:1},ZC={style:{"margin-top":"3em"}},eE={key:0,class:"cptLoadingSpinner small"};function tE(e,t,n,i,s,r){return ne(),me("div",KC,[U("h2",null,le(n.settings.lang.user_settings.nav_user_permissions),1),U("p",null,[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=a=>e.form.user_permission_only_on_edit_files=a)},null,512),[[Yn,e.form.user_permission_only_on_edit_files]]),It(" "+le(n.settings.lang.user_settings.text_user_permissions),1)])]),U("h2",null,le(n.settings.lang.user_settings.nav_same_ratio_mode),1),U("p",null,le(n.settings.lang.user_settings.text_same_ratio_mode),1),U("p",null,[U("label",null,[It(le(n.settings.lang.user_settings.label_same_ratio_mode)+" ",1),An(U("select",{type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=a=>e.form.same_ratio_mode=a)},[U("option",XC,le(n.settings.lang.user_settings.label_same_ratio_mode_default),1),U("option",YC,le(n.settings.lang.user_settings.label_same_ratio_mode_select),1),U("option",GC,le(n.settings.lang.user_settings.label_same_ratio_mode_group),1)],512),[[Da,e.form.same_ratio_mode]])])]),e.result==="error"?(ne(),me("p",JC,le(e.result),1)):Ae("",!0),e.result==="success"?(ne(),me("p",QC,le(n.settings.lang.general.successful_saved),1)):Ae("",!0),U("p",ZC,[U("button",{type:"button",class:"button-primary doSaveBtn",onClick:t[2]||(t[2]=(...a)=>r.doSave&&r.doSave(...a))},le(n.settings.lang.general.save_changes),1),e.loading?(ne(),me("span",eE)):Ae("",!0)])])}const nE=kn(VC,[["render",tE]]),iE={props:{settings:{required:!0,type:Object}},mounted(){this.doSetup()},data:()=>({loading:!1,form:{enable_debug_js:!1,enable_debug_data:!1,include_js_on_all_admin_pages:!1},error:!1,result:null}),methods:{doSetup(){this.settings.options&&(this.form.enable_debug_data=Ps(this.settings.options.debug_data),this.form.enable_debug_js=Ps(this.settings.options.debug_js),this.form.include_js_on_all_admin_pages=Ps(this.settings.options.include_js_on_all_admin_pages))},doSave(){this.loading||(this.loading=!0,this.result=null,hC(this.form).then(e=>{this.result="success"}).catch(e=>{this.result="error"}).then(()=>{this.loading=!1}))},doResetSettings(){window.confirm(this.settings.lang.developer_settings.confirm_settings_reset)&&this.loading||(this.loading=!0,this.result=null,dC().then(e=>{location.reload()}).catch(e=>{this.result="error"}).then(()=>{this.loading=!1}))}}},sE={class:"cpt_DeveloperSettings"},rE={key:0},oE={key:1},aE={key:0,class:"cptLoadingSpinner small"};function lE(e,t,n,i,s,r){return ne(),me("div",sE,[U("h2",null,le(n.settings.lang.general.nav_developer_settings),1),U("p",null,[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=a=>e.form.enable_debug_js=a)},null,512),[[Yn,e.form.enable_debug_js]]),It(" "+le(n.settings.lang.developer_settings.enable_debug_js),1)])]),U("p",null,[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=a=>e.form.enable_debug_data=a)},null,512),[[Yn,e.form.enable_debug_data]]),It(" "+le(n.settings.lang.developer_settings.enable_debug_data),1)])]),U("p",null,[U("label",null,[An(U("input",{type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=a=>e.form.include_js_on_all_admin_pages=a)},null,512),[[Yn,e.form.include_js_on_all_admin_pages]]),It(" "+le(n.settings.lang.developer_settings.include_js_on_all_admin_pages),1)])]),e.result==="error"?(ne(),me("p",rE,le(e.result),1)):Ae("",!0),e.result==="success"?(ne(),me("p",oE,le(n.settings.lang.general.successful_saved),1)):Ae("",!0),U("p",null,[U("button",{type:"button",class:"button-primary doSaveBtn",onClick:t[3]||(t[3]=(...a)=>r.doSave&&r.doSave(...a))},le(n.settings.lang.general.save_changes),1),e.loading?(ne(),me("span",aE)):Ae("",!0)]),U("p",null,[U("button",{type:"button",class:"button-secondary doResetBtn",onClick:t[4]||(t[4]=(...a)=>r.doResetSettings&&r.doResetSettings(...a))},le(n.settings.lang.developer_settings.reset_settings),1)])])}const cE=kn(iE,[["render",lE]]),uE={props:{settings:{required:!0,type:Object}}},fE={class:"cpt_PaypalInfo"};function hE(e,t,n,i,s,r){return ne(),me("div",fE,[U("h3",null,le(n.settings.lang.paypal_info.headline),1),U("p",null,le(n.settings.lang.paypal_info.text),1),t[0]||(t[0]=U("form",{action:"https://www.paypal.com/cgi-bin/webscr",method:"post",target:"_blank"},[U("input",{type:"hidden",name:"cmd",value:"_donations"}),U("input",{type:"hidden",name:"business",value:"volkmar.kantor@gmx.de"}),U("input",{type:"hidden",name:"lc",value:"DE"}),U("input",{type:"hidden",name:"item_name",value:"Volkmar Kantor - totalmedial.de"}),U("input",{type:"hidden",name:"item_number",value:"crop-thumbnails"}),U("input",{type:"hidden",name:"no_note",value:"0"}),U("input",{type:"hidden",name:"currency_code",value:"EUR"}),U("input",{type:"hidden",name:"bn",value:"PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest"}),U("input",{type:"image",src:"https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif",border:"0",name:"submit",alt:"Jetzt einfach, schnell und sicher online bezahlen – mit PayPal."}),U("img",{alt:"",border:"0",src:"https://www.paypalobjects.com/de_DE/i/scr/pixel.gif",width:"1",height:"1"})],-1))])}const dE=kn(uE,[["render",hE]]),pE={components:{PostTypeSettings:MC,Toolkit:HC,QuickTest:qC,UserPermissions:nE,DeveloperSettings:cE,PaypalInfo:dE},mounted(){this.doSetup()},data:()=>({loading:!1,type:"post_types_and_sizes",settings:null}),methods:{doSetup(){this.loading||(this.loading=!0,lC().then(e=>{this.settings=e.data}).catch(e=>{}).then(()=>{this.loading=!1}))}}},gE={class:"cpt_SettingsScreen"},mE={key:0,class:"cptLoadingSpinner"},yE={key:1},vE={class:"tabNavigation"};function bE(e,t,n,i,s,r){const a=dt("PostTypeSettings"),c=dt("UserPermissions"),u=dt("DeveloperSettings"),g=dt("QuickTest"),p=dt("Toolkit"),m=dt("PaypalInfo");return ne(),me("div",gE,[e.loading?(ne(),me("div",mE)):Ae("",!0),e.settings?(ne(),me("section",yE,[U("nav",vE,[U("button",{type:"button",class:Xt(["button",{"button-primary":e.type==="post_types_and_sizes"}]),onClick:t[0]||(t[0]=w=>e.type="post_types_and_sizes")},le(e.settings.lang.general.nav_post_types),3),U("button",{type:"button",class:Xt(["button",{"button-primary":e.type==="user_permissions"}]),onClick:t[1]||(t[1]=w=>e.type="user_permissions")},le(e.settings.lang.general.nav_user_permissions),3),U("button",{type:"button",class:Xt(["button",{"button-primary":e.type==="developer_settings"}]),onClick:t[2]||(t[2]=w=>e.type="developer_settings")},le(e.settings.lang.general.nav_developer_settings),3),U("button",{type:"button",class:Xt(["button",{"button-primary":e.type==="quicktest"}]),onClick:t[3]||(t[3]=w=>e.type="quicktest")},le(e.settings.lang.general.nav_plugin_test),3)]),e.type==="post_types_and_sizes"?(ne(),Ve(a,{key:0,settings:e.settings},null,8,["settings"])):Ae("",!0),e.type==="user_permissions"?(ne(),Ve(c,{key:1,settings:e.settings},null,8,["settings"])):Ae("",!0),e.type==="developer_settings"?(ne(),Ve(u,{key:2,settings:e.settings},null,8,["settings"])):Ae("",!0),e.type==="quicktest"?(ne(),Ve(g,{key:3,settings:e.settings},null,8,["settings"])):Ae("",!0),e.type==="toolkit"?(ne(),Ve(p,{key:4,settings:e.settings},null,8,["settings"])):Ae("",!0),U("div",null,[ke(m,{settings:e.settings},null,8,["settings"])])])):Ae("",!0)])}const wE=kn(pE,[["render",bE]]);fa(function(e){e("body.settings_page_page-cpt").length>0&&(window.CROP_THUMBNAILS_VUE.app=js(),window.CROP_THUMBNAILS_VUE.app.component("cptSettingsscreen",wE),window.CROP_THUMBNAILS_VUE.app.mount("#cpt_settings_settingsscreen"))});js().component("CropEditor",wm).mount("#cpt_crop_editor");